# Explicitly set number of training steps using Trainer

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fexplicitly-set-number-of-training-steps-using-trainer%2F1127%3E%5C
**Category:** 🤗Transformers\
**Created:** [September 14, 2020, 7:11pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fexplicitly-set-number-of-training-steps-using-trainer%2F1127 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsgugger)%5C
**Post date:** [September 14, 2020, 9:00pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fexplicitly-set-number-of-training-steps-using-trainer%2F1127%2F2 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fexplicitly-set-number-of-training-steps-using-trainer%2F1127)._
