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
chenpangpang
transformers
Commits
ec4b1c65
Commit
ec4b1c65
authored
Aug 28, 2019
by
erenup
Browse files
logging truth error
parent
df52abe3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/single_model_scripts/utils_multiple_choice.py
examples/single_model_scripts/utils_multiple_choice.py
+2
-1
No files found.
examples/single_model_scripts/utils_multiple_choice.py
View file @
ec4b1c65
...
@@ -248,7 +248,8 @@ class ArcProcessor(DataProcessor):
...
@@ -248,7 +248,8 @@ class ArcProcessor(DataProcessor):
elif
truth
in
"1234"
:
elif
truth
in
"1234"
:
return
int
(
truth
)
-
1
return
int
(
truth
)
-
1
else
:
else
:
logger
.
info
(
"truth ERROR!"
)
logger
.
info
(
"truth ERROR! %s"
,
str
(
truth
))
return
None
examples
=
[]
examples
=
[]
three_choice
=
0
three_choice
=
0
...
...
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