# Explicitly set number of training steps using Trainer

**URL:** <https://discuss.huggingface.co/t/explicitly-set-number-of-training-steps-using-trainer/1127>\
**Category:** 🤗Transformers\
**Created:** [September 14, 2020, 7:11pm UTC](https://discuss.huggingface.co/t/explicitly-set-number-of-training-steps-using-trainer/1127 "2020-09-14T19:11:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sgugger](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sgugger/32/2291_2.png) [@sgugger](https://discuss.huggingface.co/u/sgugger)\
**Post date:** [September 14, 2020, 9:00pm UTC](https://discuss.huggingface.co/t/explicitly-set-number-of-training-steps-using-trainer/1127/2 "2020-09-14T21:00:14Z")

</div>

The number of steps is the number of update steps. It’s not the number of training examples to be seen.

---

_[View the full topic](https://discuss.huggingface.co/t/explicitly-set-number-of-training-steps-using-trainer/1127)._
