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
5779e543
Unverified
Commit
5779e543
authored
Jul 27, 2020
by
Cola
Committed by
GitHub
Jul 27, 2020
Browse files
✏
Fix typo (#5734)
parent
d1d15d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/trainer_tf.py
src/transformers/trainer_tf.py
+1
-1
No files found.
src/transformers/trainer_tf.py
View file @
5779e543
...
@@ -575,4 +575,4 @@ class TFTrainer:
...
@@ -575,4 +575,4 @@ class TFTrainer:
if
not
isinstance
(
self
.
model
,
TFPreTrainedModel
):
if
not
isinstance
(
self
.
model
,
TFPreTrainedModel
):
raise
ValueError
(
"Trainer.model appears to not be a PreTrainedModel"
)
raise
ValueError
(
"Trainer.model appears to not be a PreTrainedModel"
)
self
.
model
.
save_pretrained
(
self
.
args
.
output_dir
)
self
.
model
.
save_pretrained
(
output_dir
)
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