[Question] Log eval metrics performed during training to files #2602
Labels
📚 documentation
Improvements or additions to documentation
❓ question
Seeking clarification or more information
In the example scripts there is a final
trainer.evaluate
that performs a last evaluation and outputs eval metrics that are saved to a file with other calls liketrainer.save_metrics
(https://github.com/huggingface/trl/blob/d4222a1e08def2be56572eb2973ef3bf50143a4f/trl/scripts/dpo.py#L128C1-L131C46).Is there a way to save these metrics to files during the regular evaluations performed by the trainer too? I coudn't find anything in the
TrainingArguments
.Also are the metrics logged during these eval to W&B accumulated over the whole eval dataset or refer to a single eval batch?
Thanks
The text was updated successfully, but these errors were encountered: