# Using Padding for ASR models

**URL:** <https://discuss.huggingface.co/t/using-padding-for-asr-models/27958>\
**Category:** 🤗Transformers\
**Created:** [December 16, 2022, 5:56pm UTC](https://discuss.huggingface.co/t/using-padding-for-asr-models/27958 "2022-12-16T17:56:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miraz1993](https://avatars.discourse-cdn.com/v4/letter/m/0ea827/32.png) [@Miraz1993](https://discuss.huggingface.co/u/Miraz1993)\
**Post date:** [December 16, 2022, 5:56pm UTC](https://discuss.huggingface.co/t/using-padding-for-asr-models/27958/1 "2022-12-16T17:56:29Z")

</div>

Hi! I have recently started using ASR models and found huggingface to be very helpful. However, I have a query related to the Wav2Vec2 processor. I found that the generated output is padded but I can not find the position of eos\_token in the generated text ids. Is the token not used if we use padding?

I have used the WavLM and executed the demo code provided in the link: [WavLM](https://huggingface.co/docs/transformers/v4.25.1/en/model_doc/wavlm)
