Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
4f21e1dd
Unverified
Commit
4f21e1dd
authored
Mar 28, 2021
by
Bhadresh Savani
Committed by
GitHub
Mar 28, 2021
Browse files
fixed finename (#10939)
parent
b0595d33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/question-answering/utils_qa.py
examples/question-answering/utils_qa.py
+1
-1
No files found.
examples/question-answering/utils_qa.py
View file @
4f21e1dd
...
@@ -222,7 +222,7 @@ def postprocess_qa_predictions(
...
@@ -222,7 +222,7 @@ def postprocess_qa_predictions(
)
)
if
version_2_with_negative
:
if
version_2_with_negative
:
null_odds_file
=
os
.
path
.
join
(
null_odds_file
=
os
.
path
.
join
(
output_dir
,
"null_odds.json"
if
prefix
is
None
else
f
"
{
prefix
}
_null_odds
_
{
prefix
}
.json"
output_dir
,
"null_odds.json"
if
prefix
is
None
else
f
"
{
prefix
}
_null_odds.json"
)
)
logger
.
info
(
f
"Saving predictions to
{
prediction_file
}
."
)
logger
.
info
(
f
"Saving predictions to
{
prediction_file
}
."
)
...
...
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