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
990d5e31
Commit
990d5e31
authored
Feb 05, 2021
by
Jonathan Tow
Browse files
Fix `write_out.py` training set bug
parent
c0fbf9e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/write_out.py
scripts/write_out.py
+2
-2
No files found.
scripts/write_out.py
View file @
990d5e31
...
@@ -37,8 +37,8 @@ def main():
...
@@ -37,8 +37,8 @@ def main():
iters
=
[]
iters
=
[]
for
set
in
args
.
sets
.
split
(
","
):
for
set
in
args
.
sets
.
split
(
","
):
if
set
==
'train'
and
task
.
has_train_docs
():
if
set
==
'train'
and
task
.
has_train
ing
_docs
():
docs
=
task
.
train_docs
()
docs
=
task
.
train
ing
_docs
()
if
set
==
'val'
and
task
.
has_validation_docs
():
if
set
==
'val'
and
task
.
has_validation_docs
():
docs
=
task
.
validation_docs
()
docs
=
task
.
validation_docs
()
if
set
==
'test'
and
task
.
has_test_docs
():
if
set
==
'test'
and
task
.
has_test_docs
():
...
...
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