transformers
a3fa1d39 - Fix inaccurate train_tokens_per_second when resuming from checkpoint (#41156)

Commit
137 days ago
Fix inaccurate train_tokens_per_second when resuming from checkpoint (#41156) * fix(trainer): Fix the issue of inaccurate token count in training sessions During the training process, the initial token count was not saved, leading to inaccurate speed calculation. Now, the initial token count is saved and the increment during the session is calculated, ensuring that the speed metric accurately reflects the performance of the current training session. * 修复错误 --------- Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
Author
Parents
Loading