Comments (7)
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.
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.
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.
it seams that this model only output English subtitles.
from distil-whisper.
@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.
Hey @clstaudt @CheshireCC, indeed distil-large-v3 has been trained to do English-only transcriptions. More details about motivations here.
from distil-whisper.
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)
- large-v2 for english lost voice to text HOT 1
- Finetuning on which model? HOT 1
- Resuming training fails HOT 3
- [Issue] latest run_pseudo_labelling.py
- [Question] Can we distill for multiple langauges for distil-small-whisper HOT 3
- Quantize distil-whisper?
- perceptually faster inference through pre-completion inference of audio
- RuntimeError: User specified an unsupported autocast device_type 'mps'
- question about when to apply WER threshold filtering strategy with concatenated audio
- Problems in concatenate_dataset
- Unable to reproduce results from the paper HOT 6
- Question: should the pseudo-labelling model and teacher model be the same? HOT 2
- BetterTransformer optimization / flash_attn{_2} HOT 6
- Cached English Common Voice dataset size. HOT 1
- How to use distil-whisper-large-v3-de-kd model from HF? HOT 10
- Pseudo-labelling librispeech_asr (train.360): KeyError `train-360` when not streaming. HOT 1
- Training README datasets table: text column and id column HOT 4
- Voxpopuli text column "raw_text" HF dataset card shows empty string. HOT 1
- any executable script for running on custom data/given dataset HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from distil-whisper.