kkkeee commited on
Commit
4e45e61
·
verified ·
1 Parent(s): 622d039

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -3
README.md CHANGED
@@ -99,9 +99,7 @@ for data in tqdm(datasets):
99
  # Step 6: Save Results
100
  Save the inference results to a .jsonl file. Replace <adapter_id> with the appropriate identifier.
101
  ```python
102
- # Save results to JSONL
103
- json_file_id = re.sub(".*/", "", adapter_id)
104
- with open(f"/content/{json_file_id}_output.jsonl", 'w', encoding='utf-8') as f:
105
  for result in results:
106
  json.dump(result, f, ensure_ascii=False)
107
  f.write('\n')
 
99
  # Step 6: Save Results
100
  Save the inference results to a .jsonl file. Replace <adapter_id> with the appropriate identifier.
101
  ```python
102
+ with open(f"/content/output.jsonl", 'w', encoding='utf-8') as f:
 
 
103
  for result in results:
104
  json.dump(result, f, ensure_ascii=False)
105
  f.write('\n')