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
d38caba1
Commit
d38caba1
authored
Feb 11, 2019
by
thomwolf
Browse files
typo in run_squad
parent
af62cc5f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/run_squad.py
examples/run_squad.py
+1
-1
No files found.
examples/run_squad.py
View file @
d38caba1
...
@@ -917,7 +917,7 @@ def main():
...
@@ -917,7 +917,7 @@ def main():
if
args
.
fp16
:
if
args
.
fp16
:
try
:
try
:
from
apex.optimizer
import
FP16_Optimizer
from
apex.optimizer
s
import
FP16_Optimizer
from
apex.optimizers
import
FusedAdam
from
apex.optimizers
import
FusedAdam
except
ImportError
:
except
ImportError
:
raise
ImportError
(
"Please install apex from https://www.github.com/nvidia/apex to use distributed and fp16 training."
)
raise
ImportError
(
"Please install apex from https://www.github.com/nvidia/apex to use distributed and fp16 training."
)
...
...
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