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
1c9432de
Commit
1c9432de
authored
Nov 29, 2020
by
Leo Gao
Browse files
Fix MNLI train set
parent
5076d212
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lm_eval/tasks/glue.py
lm_eval/tasks/glue.py
+4
-0
No files found.
lm_eval/tasks/glue.py
View file @
1c9432de
...
@@ -76,6 +76,10 @@ class MNLI(HFTask):
...
@@ -76,6 +76,10 @@ class MNLI(HFTask):
def
has_test_docs
(
self
):
def
has_test_docs
(
self
):
return
True
return
True
def
training_docs
(
self
):
if
self
.
has_validation_docs
():
return
self
.
data
[
"train_matched"
]
def
validation_docs
(
self
):
def
validation_docs
(
self
):
if
self
.
has_validation_docs
():
if
self
.
has_validation_docs
():
return
self
.
data
[
"validation_matched"
]
return
self
.
data
[
"validation_matched"
]
...
...
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