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
26f0233f
Unverified
Commit
26f0233f
authored
Jan 30, 2022
by
Leo Gao
Committed by
GitHub
Jan 30, 2022
Browse files
Merge pull request #259 from jon-tow/headqa-ux
Update `headqa` deprecation warning to display on init only
parents
1c52e917
03c15e06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lm_eval/tasks/headqa.py
lm_eval/tasks/headqa.py
+3
-1
No files found.
lm_eval/tasks/headqa.py
View file @
26f0233f
...
...
@@ -37,4 +37,6 @@ class HeadQAEs(HeadQABase):
class
HeadQAEsDeprecated
(
HeadQABase
):
DATASET_NAME
=
"es"
def
__init__
(
self
):
super
().
__init__
()
print
(
"WARNING: headqa is deprecated. Please use headqa_es or headqa_en instead. See https://github.com/EleutherAI/lm-evaluation-harness/pull/240 for more info."
)
\ No newline at end of file
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