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
efeb75b8
"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "783a61699962f4b058688db21d417e1932423417"
Commit
efeb75b8
authored
Jun 17, 2020
by
Lysandre
Browse files
Remove misleading comment
closes #4958
parent
bb154ac5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
examples/question-answering/run_squad.py
examples/question-answering/run_squad.py
+0
-1
No files found.
examples/question-answering/run_squad.py
View file @
efeb75b8
...
...
@@ -319,7 +319,6 @@ def evaluate(args, model, tokenizer, prefix=""):
outputs
=
model
(
**
inputs
)
for
i
,
feature_index
in
enumerate
(
feature_indices
):
# TODO: i and feature_index are the same number! Simplify by removing enumerate?
eval_feature
=
features
[
feature_index
.
item
()]
unique_id
=
int
(
eval_feature
.
unique_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