Skip to content

Commit

Permalink
Update datasets/math-odyssey/prepare.py
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Gitman <[email protected]>
  • Loading branch information
wedu-nvidia and Kipok authored Jul 17, 2024
1 parent cc32b7b commit a77ee2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datasets/math-odyssey/prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def identify_label(answer_endings, answer):
data_folder = Path(__file__).absolute().parent
original_file = str(data_folder / "original_test.json")
data_folder.mkdir(exist_ok=True)
output_file = str(data_folder / f"test.jsonl")
output_file = str(data_folder / "test.jsonl")

if not os.path.exists(original_file):
urllib.request.urlretrieve(URL, original_file)
Expand Down

0 comments on commit a77ee2f

Please sign in to comment.