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
5b008dc0
Unverified
Commit
5b008dc0
authored
Jun 19, 2021
by
sdtblck
Committed by
GitHub
Jun 19, 2021
Browse files
Update lambada_multilingual.py
parent
a92d47eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lm_eval/tasks/lambada_multilingual.py
lm_eval/tasks/lambada_multilingual.py
+1
-1
No files found.
lm_eval/tasks/lambada_multilingual.py
View file @
5b008dc0
...
@@ -36,5 +36,5 @@ class MultilingualLAMBADA(lambada.LAMBADA):
...
@@ -36,5 +36,5 @@ class MultilingualLAMBADA(lambada.LAMBADA):
def
construct_tasks
():
def
construct_tasks
():
tasks
=
{}
tasks
=
{}
for
lang
in
LANGS
:
for
lang
in
LANGS
:
tasks
[
lang
]
=
partial
(
MultilingualLAMBADA
,
lang
=
lang
)
tasks
[
f
"lambada_
{
lang
}
"
]
=
partial
(
MultilingualLAMBADA
,
lang
=
lang
)
return
tasks
return
tasks
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