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
ab8da1f0
"vscode:/vscode.git/clone" did not exist on "118ad5d08a6781e3814bc26241dea81076630adc"
Unverified
Commit
ab8da1f0
authored
May 11, 2021
by
Leo Gao
Committed by
GitHub
May 11, 2021
Browse files
switch lambada over to wget while researcher2 fixes best-download
parent
a14adbe0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
lm_eval/tasks/lambada.py
lm_eval/tasks/lambada.py
+6
-5
No files found.
lm_eval/tasks/lambada.py
View file @
ab8da1f0
...
...
@@ -8,11 +8,12 @@ from best_download import download_file
class
LAMBADA
(
Task
):
def
download
(
self
):
sh
(
"mkdir -p data/lambada"
)
download_file
(
"http://eaidata.bmk.sh/data/lambada_test.jsonl"
,
"data/lambada/lambada_test.jsonl"
,
"4aa8d02cd17c719165fc8a7887fddd641f43fcafa4b1c806ca8abc31fabdb226"
)
sh
(
"wget http://eaidata.bmk.sh/data/lambada_test.jsonl -O data/lambada/lambada_test.jsonl"
)
# download_file(
# "http://eaidata.bmk.sh/data/lambada_test.jsonl",
# "data/lambada/lambada_test.jsonl",
# "4aa8d02cd17c719165fc8a7887fddd641f43fcafa4b1c806ca8abc31fabdb226"
# )
def
has_training_docs
(
self
):
return
False
...
...
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