shunxing1234
commited on
Commit
•
c61e7d4
1
Parent(s):
7a75f11
Update README.md
Browse files
README.md
CHANGED
@@ -169,7 +169,7 @@ def generate(max_tokens, batch):
|
|
169 |
|
170 |
if __name__ == '__main__':
|
171 |
count = 0
|
172 |
-
with open("
|
173 |
for item in jsonlines.Reader(f):
|
174 |
batch = preprocess(item['prompt'],question=item['question'])
|
175 |
generate(10, batch)
|
|
|
169 |
|
170 |
if __name__ == '__main__':
|
171 |
count = 0
|
172 |
+
with open("gaokao_chinese_dataset.jsonl",'r') as f:
|
173 |
for item in jsonlines.Reader(f):
|
174 |
batch = preprocess(item['prompt'],question=item['question'])
|
175 |
generate(10, batch)
|