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
e7cded60
Commit
e7cded60
authored
May 02, 2021
by
Leo Gao
Browse files
Merge branch 'batching' of github.com:EleutherAI/lm_evaluation_harness into batching
parents
726ea95e
853afa36
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lm_eval/tasks/hendrycks_math.py
lm_eval/tasks/hendrycks_math.py
+1
-1
lm_eval/tasks/unscramble.py
lm_eval/tasks/unscramble.py
+1
-1
No files found.
lm_eval/tasks/hendrycks_math.py
View file @
e7cded60
...
...
@@ -19,7 +19,7 @@ class Math(Task):
sh
(
f
"""
mkdir -p
{
self
.
DATASET_PATH
}
wget https://people.eecs.berkeley.edu/~hendrycks/MATH.tar.gz -P data/
tar -x
v
f
{
self
.
DATASET_PATH
}
.tar.gz -C data/
tar -xf
{
self
.
DATASET_PATH
}
.tar.gz -C data/
rm
{
self
.
DATASET_PATH
}
.tar.gz
"""
)
...
...
lm_eval/tasks/unscramble.py
View file @
e7cded60
...
...
@@ -23,7 +23,7 @@ class WordUnscrambleTask(Task):
def
download
(
self
):
if
not
self
.
BASE_PATH
.
exists
():
Path
.
mkdir
(
self
.
BASE_PATH
)
Path
.
mkdir
(
self
.
BASE_PATH
,
parents
=
True
)
file
=
self
.
BASE_PATH
/
self
.
FILENAME
if
not
file
.
exists
():
rawfile
=
file
.
parent
/
(
file
.
name
+
".gz"
)
...
...
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