sasakipeter
commited on
Commit
•
b6ceafb
1
Parent(s):
6bd9ea8
fix output path
Browse files
README.md
CHANGED
@@ -138,7 +138,7 @@ for data in tqdm(datasets):
|
|
138 |
|
139 |
results.append({"task_id": data["task_id"], "input": input, "output": output})
|
140 |
|
141 |
-
jsonl_id = re.sub(".*/", "",
|
142 |
with open(f"./{jsonl_id}-outputs-validation.jsonl", 'w', encoding='utf-8') as f:
|
143 |
for result in results:
|
144 |
json.dump(result, f, ensure_ascii=False) # ensure_ascii=False for handling non-ASCII characters
|
|
|
138 |
|
139 |
results.append({"task_id": data["task_id"], "input": input, "output": output})
|
140 |
|
141 |
+
jsonl_id = re.sub(".*/", "", adapter_id)
|
142 |
with open(f"./{jsonl_id}-outputs-validation.jsonl", 'w', encoding='utf-8') as f:
|
143 |
for result in results:
|
144 |
json.dump(result, f, ensure_ascii=False) # ensure_ascii=False for handling non-ASCII characters
|