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
ed72238f
Unverified
Commit
ed72238f
authored
Jun 13, 2024
by
Hailey Schoelkopf
Committed by
GitHub
Jun 13, 2024
Browse files
make write_out.py explicitly error if no splits match (#1796)
Co-authored-by:
lintangsutawika
<
lintang@eleuther.ai
>
parent
5c7cba23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
scripts/write_out.py
scripts/write_out.py
+5
-0
No files found.
scripts/write_out.py
View file @
ed72238f
...
...
@@ -70,6 +70,11 @@ def main():
if
docs
is
not
None
:
iters
.
append
(
docs
)
if
len
(
iters
)
==
0
:
raise
ValueError
(
f
"Passed --sets '
{
args
.
sets
}
' but this task has no splits which match. Please specify a different --sets value."
)
docs
=
join_iters
(
iters
)
with
open
(
...
...
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