Instructions to use areffarhadi/Taraneh-WLarge with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use areffarhadi/Taraneh-WLarge with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="areffarhadi/Taraneh-WLarge")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("areffarhadi/Taraneh-WLarge") model = AutoModelForSpeechSeq2Seq.from_pretrained("areffarhadi/Taraneh-WLarge", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Taraneh-WLarge: Persian Automatic Speech Recognition
Taraneh-WLarge is the Whisper-Large-v3 member of Taraneh, a family of Persian ASR models fine-tuned on about 1,560 hours of speech. The base checkpoint is openai/whisper-large-v3.
License
MIT, the same license as OpenAI Whisper. Commercial use is allowed, including in products and hosted services. Keep this notice and the original Whisper MIT notice with the weights.
Paper
Aref Farhadipour. Taraneh-ASR: Scaling Persian Speech Recognition and Forced Alignment Across Singing and Conversational Domains. University of Zurich.
- PDF in the code repository: https://github.com/areffarhadi/persian-asr/blob/main/ArefFarhadi-TaranehASR.pdf
- Code, manifests, normalization, and inference: https://github.com/areffarhadi/persian-asr
Load this checkpoint with Transformers (WhisperForConditionalGeneration). CTranslate2 is the fast path in the GitHub scripts.
Forced alignment
This checkpoint can return word times as well as a transcript. In the GitHub scripts, --task asr writes the transcript and --task asr+fa also writes alignments.jsonl.
The readout uses decoder cross-attention heads L23/H3 and L26/H7, a median filter of width 3, column normalization, dynamic time warping, and a −35 dB trim of the first-word start and last-word end. On the FarsDat gold set this model reaches 38.1 ms mean absolute error. Heads and the command are in the GitHub README.
Results
Word error rate / character error rate (%) after the unified Persian text normalization. PSRB and VisualEars were unseen in training.
| FLEURS | Common Voice | YouTube | Music | Media | PSRB | VisualEars |
|---|---|---|---|---|---|---|
| 3.86 / 1.33 | 3.34 / 1.53 | 13.42 / 7.99 | 22.98 / 11.00 | 16.06 / 9.54 | 18.00 / 8.17 | 5.31 / 1.56 |
The full comparison of all five Taraneh models is in the paper and in the GitHub README.
- Downloads last month
- 27
Model tree for areffarhadi/Taraneh-WLarge
Base model
openai/whisper-large-v3