Skip to content

Commit 1a0367e

Browse files
authored
Update prepare_hf.py
1 parent d00c87e commit 1a0367e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Benchmark/HuggingFace_Generation/prepare_hf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def clean(x):
99
return x
1010

1111

12-
def to_jsonl(src_file, dst_file):
12+
def to_jsonl(src_file, dst_file): # src_file means the source files".txt" dst_file means the destination files".json", represents path respectively.
1313
all_files = os.listdir(src_file)
1414
if not os.path.exists(dst_file):
1515
os.mkdir(dst_file)

0 commit comments

Comments
 (0)