Skip to content

Commit

Permalink
fix: Fixed the documentation for logging_first_step by removing "ev…
Browse files Browse the repository at this point in the history
…aluate" (huggingface#28884)

Fixed the documentation for logging_first_step by removing evaluate.
  • Loading branch information
Sai-Suraj-27 authored and jon-tow committed Feb 12, 2024
1 parent bf4482f commit 636c0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/training_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class TrainingArguments:
- `"steps"`: Logging is done every `logging_steps`.
logging_first_step (`bool`, *optional*, defaults to `False`):
Whether to log and evaluate the first `global_step` or not.
Whether to log the first `global_step` or not.
logging_steps (`int` or `float`, *optional*, defaults to 500):
Number of update steps between two logs if `logging_strategy="steps"`. Should be an integer or a float in
range `[0,1)`. If smaller than 1, will be interpreted as ratio of total training steps.
Expand Down

0 comments on commit 636c0aa

Please sign in to comment.