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
1d7de830
Commit
1d7de830
authored
Jul 18, 2023
by
baberabb
Browse files
typo: results is .json
parent
decb55cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main.py
main.py
+1
-1
No files found.
main.py
View file @
1d7de830
...
...
@@ -116,7 +116,7 @@ def main():
if
args
.
output_path
:
path
=
Path
(
args
.
output_path
)
# check if file or 'dir/results.jsonl' exists
if
path
.
is_file
()
or
Path
(
args
.
output_path
).
joinpath
(
"results.json
l
"
).
is_file
():
if
path
.
is_file
()
or
Path
(
args
.
output_path
).
joinpath
(
"results.json"
).
is_file
():
eval_logger
.
warning
(
f
"File already exists at
{
path
}
. Results will be overwritten."
)
...
...
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