Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
b4cacb7a
Unverified
Commit
b4cacb7a
authored
Oct 28, 2020
by
Boris Dayma
Committed by
GitHub
Oct 28, 2020
Browse files
fix(trainer_callback]: typo (#8121)
parent
5423f2a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/trainer_callback.py
src/transformers/trainer_callback.py
+1
-1
No files found.
src/transformers/trainer_callback.py
View file @
b4cacb7a
...
@@ -148,7 +148,7 @@ class TrainerControl:
...
@@ -148,7 +148,7 @@ class TrainerControl:
def
_new_step
(
self
):
def
_new_step
(
self
):
""" Internal method that resets the variable for a new step. """
""" Internal method that resets the variable for a new step. """
self
.
should_save
_model
=
False
self
.
should_save
=
False
self
.
should_evaluate
=
False
self
.
should_evaluate
=
False
self
.
should_log
=
False
self
.
should_log
=
False
...
...
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