Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
be40299e
Unverified
Commit
be40299e
authored
Jan 11, 2022
by
Leo Gao
Committed by
GitHub
Jan 11, 2022
Browse files
Merge pull request #252 from bigscience-workshop/thomas/fix_best_download_version_1
Best download fix
parents
ed6931e7
2d9fc256
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/asdiv.py
lm_eval/tasks/asdiv.py
+1
-1
No files found.
lm_eval/tasks/asdiv.py
View file @
be40299e
...
@@ -35,7 +35,7 @@ class Asdiv(Task):
...
@@ -35,7 +35,7 @@ class Asdiv(Task):
url
=
"https://github.com/chaochun/nlu-asdiv-dataset/archive/55790e5270bb91ccfa5053194b25732534696b50.zip"
url
=
"https://github.com/chaochun/nlu-asdiv-dataset/archive/55790e5270bb91ccfa5053194b25732534696b50.zip"
checksum
=
"8f1fe4f6d5f170ec1e24ab78c244153c14c568b1bb2b1dad0324e71f37939a2d"
checksum
=
"8f1fe4f6d5f170ec1e24ab78c244153c14c568b1bb2b1dad0324e71f37939a2d"
zip_path
=
self
.
DATASET_PATH
/
"55790e5270bb91ccfa5053194b25732534696b50.zip"
zip_path
=
self
.
DATASET_PATH
/
"55790e5270bb91ccfa5053194b25732534696b50.zip"
download_file
(
url
,
str
(
zip_path
),
checksum
)
download_file
(
url
,
local_file
=
str
(
zip_path
),
expected_checksum
=
checksum
)
with
ZipFile
(
zip_path
,
"r"
)
as
zip
:
with
ZipFile
(
zip_path
,
"r"
)
as
zip
:
zip
.
extractall
(
self
.
DATASET_PATH
)
zip
.
extractall
(
self
.
DATASET_PATH
)
os
.
remove
(
zip_path
)
os
.
remove
(
zip_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment