Automatic Speech Recognition
Transformers
PyTorch
Safetensors
Chinese
Yue Chinese
whisper
whisper-event
Generated from Trainer
Eval Results (legacy)
Instructions to use alvanlii/whisper-small-cantonese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use alvanlii/whisper-small-cantonese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="alvanlii/whisper-small-cantonese")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("alvanlii/whisper-small-cantonese") model = AutoModelForSpeechSeq2Seq.from_pretrained("alvanlii/whisper-small-cantonese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
`use_cache=False`
2
#11 opened over 1 year ago
by
jemoka
May I ask how could I use pipeline and output the transcript as SRT with timestamp?
3
#9 opened over 1 year ago
by
ziweithunder
Should the `language` for transformers.pipeline be set as `yue` instead of `zh`?
2
#8 opened over 1 year ago
by
JinchaoLove