Unverified Commit fcaea0e3 authored by Leo Gao's avatar Leo Gao Committed by GitHub
Browse files

Merge pull request #296 from jon-tow/gsm8k-fix

Add positional args to `gsm8k` `download_file`
parents cec2fe23 f91a70d6
......@@ -56,7 +56,8 @@ class GradeSchoolMath8K(Task):
]
for split in splits:
file = self.DATASET_PATH / f"{split['name']}.jsonl"
download_file(f"{base_url}/{split['name']}.jsonl", str(file), split["checksum"])
url = f"{base_url}/{split['name']}.jsonl"
download_file(url, local_file=str(file), expected_checksum=split["checksum"])
def has_training_docs(self):
return True
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment