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
c430d6ea
Unverified
Commit
c430d6ea
authored
Feb 04, 2024
by
Zizhao Chen
Committed by
GitHub
Feb 05, 2024
Browse files
[Docs] Fix bad doc: replace save with logging (#28855)
Fix bad doc: replace save with logging
parent
7b702836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/transformers/training_args.py
src/transformers/training_args.py
+3
-3
No files found.
src/transformers/training_args.py
View file @
c430d6ea
...
@@ -2421,9 +2421,9 @@ class TrainingArguments:
...
@@ -2421,9 +2421,9 @@ class TrainingArguments:
strategy (`str` or [`~trainer_utils.IntervalStrategy`], *optional*, defaults to `"steps"`):
strategy (`str` or [`~trainer_utils.IntervalStrategy`], *optional*, defaults to `"steps"`):
The logging strategy to adopt during training. Possible values are:
The logging strategy to adopt during training. Possible values are:
- `"no"`: No
save
is done during training.
- `"no"`: No
logging
is done during training.
- `"epoch"`:
Save
is done at the end of each epoch.
- `"epoch"`:
Logging
is done at the end of each epoch.
- `"steps"`:
Save
is done every `
save
_steps`.
- `"steps"`:
Logging
is done every `
logging
_steps`.
steps (`int`, *optional*, defaults to 500):
steps (`int`, *optional*, defaults to 500):
Number of update steps between two logs if `strategy="steps"`.
Number of update steps between two logs if `strategy="steps"`.
...
...
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