# Whisper on long audio files -- support for chunking?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhisper-on-long-audio-files-support-for-chunking%2F24682%3E%5C
**Category:** 🤗Transformers\
**Created:** [October 19, 2022, 5:50pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhisper-on-long-audio-files-support-for-chunking%2F24682 "2022-10-19T17:50:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jens-simon](https://avatars.discourse-cdn.com/v4/letter/j/3da27b/32.png) [@jens-simon](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjens-simon)%5C
**Post date:** [October 19, 2022, 5:50pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhisper-on-long-audio-files-support-for-chunking%2F24682%2F1 "2022-10-19T17:50:59Z")

</div>

The transformer library supports chunking (concatenation of multiple segments) for transcribing long audio files with Wav2Vec2, as described here: [Making automatic speech recognition work on large files with Wav2Vec2 in 🤗 Transformers](https://huggingface.co/blog/asr-chunking)

The OpenAI repository contains code for chunking with Whisper: [whisper/transcribe.py at main · openai/whisper · GitHub](https://github.com/openai/whisper/blob/main/whisper/transcribe.py)

Is chunking with Whisper supported in the transformers library?

---

<div class="post-metadata">

**Author:** ![Hannan](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Hannan](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FHannan)%5C
**Post date:** [December 28, 2022, 11:22am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhisper-on-long-audio-files-support-for-chunking%2F24682%2F2 "2022-12-28T11:22:35Z")

</div>

Is there any update for this issue?

---

<div class="post-metadata">

**Author:** ![MLLife](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@MLLife](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FMLLife)%5C
**Post date:** [April 21, 2023, 7:14am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhisper-on-long-audio-files-support-for-chunking%2F24682%2F4 "2023-04-21T07:14:48Z")

</div>

any update on this? @sanchit-gandhi please help

---

<div class="post-metadata">

**Author:** ![sanchit-gandhi](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/sanchit-gandhi/32/21280_2.png) [@sanchit-gandhi](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsanchit-gandhi)%5C
**Post date:** [April 21, 2023, 6:48pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fwhisper-on-long-audio-files-support-for-chunking%2F24682%2F5 "2023-04-21T18:48:09Z")

</div>

Indeed there is! See [openai/whisper-large-v2 · Hugging Face](https://huggingface.co/openai/whisper-large-v2#long-form-transcription)
