Giter Site home page Giter Site logo

Comments (7)

eustlb avatar eustlb commented on June 21, 2024 2

Thanks for promoting distil-whisper, @clstaudt!

Actually, you can find the info about this here on the README and here on the model card, but thanks for mentioning it! It may not be clear enough.

Concerning the multilingual distilled Whisper, it is a very difficult question to answer without proper experimentation, and I prefer not to give false insights. There are a lot of factors to take into account (e.g., number of languages, dataset sizes, etc.). Yet, I would say that were you to have large enough datasets for a few languages and manage to get good results with a 4-layers decoder, the size reduction would be 48%—an exact value—(compared to 51% for a 2-layers decoder) and the speed-up should be around 5.5x—a rough estimation, to be taken with a big pinch of salt—(compared to 6.3x for a 2-layers decoder).

from distil-whisper.

CheshireCC avatar CheshireCC commented on June 21, 2024 1

@clstaudt

maybe distilled version requires re-training of the model,just like fine-tuning a model.
https://github.com/huggingface/distil-whisper#:~:text=Note%3A%20Distil,checkpoints%20when%20ready!

"Note: Distil-Whisper is currently only available for English speech recognition. We are working with the community to distill 
Whisper on other languages. If you are interested in distilling Whisper in your language, check out the provided training code. 
We will soon update the repository with multilingual checkpoints when ready!"

from distil-whisper.

sanchit-gandhi avatar sanchit-gandhi commented on June 21, 2024 1

Indeed - as @CheshireCC has mentioned, you can train your own multilingual distil-whisper checkpoint according to the training readme. This has been done successfully in a number of languages, such as for French and German.

Also cc @eustlb having done some extensive experimentation into French distillation.

from distil-whisper.

CheshireCC avatar CheshireCC commented on June 21, 2024

it seams that this model only output English subtitles.

from distil-whisper.

clstaudt avatar clstaudt commented on June 21, 2024

@CheshireCC If that is the case, would it be a distilled version of Whisper?

"Whisper is an automatic speech recognition (ASR) system trained on 680,000 hours of multilingual and multitask supervised data collected from the web. "

https://openai.com/index/whisper

from distil-whisper.

eustlb avatar eustlb commented on June 21, 2024

Hey @clstaudt @CheshireCC, indeed distil-large-v3 has been trained to do English-only transcriptions. More details about motivations here.

from distil-whisper.

clstaudt avatar clstaudt commented on June 21, 2024

Thanks for clarifying @eustlb. I'm about to give a presentation praising the potential of distillation with distil-whisper as the prime example. While the speedup is impressive, I think it's important to add that it's just one language while the teacher model was multilingual. What do you think will be the speedup and size reduction for a multilingual distil-whisper?

from distil-whisper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.