Instructions to use areffarhadi/Taraneh-Q1.7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use areffarhadi/Taraneh-Q1.7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="areffarhadi/Taraneh-Q1.7B")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("areffarhadi/Taraneh-Q1.7B") model = AutoModelForMultimodalLM.from_pretrained("areffarhadi/Taraneh-Q1.7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Taraneh-Q1.7B: Persian Automatic Speech Recognition
Taraneh-Q1.7B is the Qwen3-ASR-1.7B member of Taraneh, a family of Persian ASR models fine-tuned on about 1,560 hours of speech. The base checkpoint is Qwen/Qwen3-ASR-1.7B.
License
Apache-2.0, the same license as Qwen3-ASR. Commercial use is allowed, including in products and hosted services. Apache-2.0 includes a patent grant. Keep this notice and the original Qwen license 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 the qwen-asr package. Offline and streaming inference use vLLM 0.14 (pip install "qwen-asr[vllm]"). Streaming is available only with the vLLM backend.
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 thinker self-attention heads L22/H7, L20/H14, and L25/H5, 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 48.5 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 |
|---|---|---|---|---|---|---|
| 6.25 / 2.15 | 7.85 / 3.13 | 18.21 / 9.91 | 34.50 / 15.05 | 21.91 / 11.46 | 22.79 / 9.98 | 8.05 / 2.64 |
The full comparison of all five Taraneh models is in the paper and in the GitHub README.
- Downloads last month
- 85