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
76b08133
Commit
76b08133
authored
Oct 21, 2020
by
Charles Foster
Browse files
Clarified that SQuaD does not include a test set.
parent
5c58b267
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lm_eval/tasks/squad.py
lm_eval/tasks/squad.py
+3
-0
No files found.
lm_eval/tasks/squad.py
View file @
76b08133
...
...
@@ -14,6 +14,9 @@ class SQuAD(HFTask):
def
has_validation_docs
(
self
):
return
True
def
has_test_docs
(
self
):
return
False
def
training_docs
(
self
):
if
self
.
has_training_docs
():
return
self
.
data
[
"train"
]
...
...
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