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
942d3f4b
"...git@developer.sourcefind.cn:change/sglang.git" did not exist on "7f875f1293aa4dab646e312b1e67edda372102c7"
Commit
942d3f4b
authored
Aug 29, 2019
by
erenup
Browse files
modifiy code of arc label insurance
parent
ec4b1c65
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/single_model_scripts/utils_multiple_choice.py
examples/single_model_scripts/utils_multiple_choice.py
+1
-1
No files found.
examples/single_model_scripts/utils_multiple_choice.py
View file @
942d3f4b
...
@@ -269,7 +269,7 @@ class ArcProcessor(DataProcessor):
...
@@ -269,7 +269,7 @@ class ArcProcessor(DataProcessor):
continue
continue
four_choice
+=
1
four_choice
+=
1
truth
=
str
(
normalize
(
data_raw
[
"answerKey"
]))
truth
=
str
(
normalize
(
data_raw
[
"answerKey"
]))
assert
truth
is
not
None
assert
truth
!=
"
None
"
question_choices
=
data_raw
[
"question"
]
question_choices
=
data_raw
[
"question"
]
question
=
question_choices
[
"stem"
]
question
=
question_choices
[
"stem"
]
id
=
data_raw
[
"id"
]
id
=
data_raw
[
"id"
]
...
...
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