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
dd8d3529
Unverified
Commit
dd8d3529
authored
Apr 22, 2021
by
Leo Gao
Committed by
GitHub
Apr 22, 2021
Browse files
Fix first-run error
parent
ab0e4d26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/unscramble.py
lm_eval/tasks/unscramble.py
+1
-1
No files found.
lm_eval/tasks/unscramble.py
View file @
dd8d3529
...
@@ -23,7 +23,7 @@ class WordUnscrambleTask(Task):
...
@@ -23,7 +23,7 @@ class WordUnscrambleTask(Task):
def
download
(
self
):
def
download
(
self
):
if
not
self
.
BASE_PATH
.
exists
():
if
not
self
.
BASE_PATH
.
exists
():
Path
.
mkdir
(
self
.
BASE_PATH
)
Path
.
mkdir
(
self
.
BASE_PATH
,
parents
=
True
)
file
=
self
.
BASE_PATH
/
self
.
FILENAME
file
=
self
.
BASE_PATH
/
self
.
FILENAME
if
not
file
.
exists
():
if
not
file
.
exists
():
rawfile
=
file
.
parent
/
(
file
.
name
+
".gz"
)
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