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
a2b108b9
Commit
a2b108b9
authored
Feb 10, 2021
by
Jon Tow
Browse files
Remove test set from `HellaSwag`
parent
43ffe351
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
lm_eval/tasks/hellaswag.py
lm_eval/tasks/hellaswag.py
+1
-5
No files found.
lm_eval/tasks/hellaswag.py
View file @
a2b108b9
...
...
@@ -14,7 +14,7 @@ class HellaSwag(HFTask, MultipleChoiceTask):
return
True
def
has_test_docs
(
self
):
return
Tru
e
return
Fals
e
@
classmethod
def
preprocess
(
cls
,
text
):
...
...
@@ -46,10 +46,6 @@ class HellaSwag(HFTask, MultipleChoiceTask):
docs
=
super
().
validation_docs
()
return
self
.
_load_docs
(
docs
)
def
test_docs
(
self
):
docs
=
super
().
test_docs
()
return
self
.
_load_docs
(
docs
)
def
fewshot_description
(
self
):
return
"Label for the relevant action: Sentences describing the "
\
"context, with an incomplete sentence trailing
\n
answer that "
\
...
...
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