Update make_manythings-translations-alpaca.py
Browse files
make_manythings-translations-alpaca.py
CHANGED
@@ -2,7 +2,7 @@ import json
|
|
2 |
import random
|
3 |
|
4 |
# Read the JSONL file and parse each line into a dictionary
|
5 |
-
with open('
|
6 |
data = [json.loads(line) for line in file][:] # Limit to the first 50 lines
|
7 |
|
8 |
# List of phrases to randomly choose from
|
|
|
2 |
import random
|
3 |
|
4 |
# Read the JSONL file and parse each line into a dictionary
|
5 |
+
with open('manythings-translations-randomized.jsonl', 'r') as file:
|
6 |
data = [json.loads(line) for line in file][:] # Limit to the first 50 lines
|
7 |
|
8 |
# List of phrases to randomly choose from
|