# Trainer eval step callback

**URL:** <https://discuss.huggingface.co/t/trainer-eval-step-callback/71215>\
**Category:** Beginners\
**Created:** [January 30, 2024, 4:47pm UTC](https://discuss.huggingface.co/t/trainer-eval-step-callback/71215 "2024-01-30T16:47:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Federic](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@Federic](https://discuss.huggingface.co/u/Federic)\
**Post date:** [January 30, 2024, 4:47pm UTC](https://discuss.huggingface.co/t/trainer-eval-step-callback/71215/1 "2024-01-30T16:47:06Z")

</div>

during trainer’s train is possible to add a callback every evaluation step where the model is used to generate output using eval batches?
