Instructions to use Reza2kn/AvaSanj-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Reza2kn/AvaSanj-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Reza2kn/AvaSanj-v1")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Reza2kn/AvaSanj-v1") model = AutoModelForCTC.from_pretrained("Reza2kn/AvaSanj-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
AvaSanj-v1
Persian repr1 automatic speech recognizer (AvaSanj v1) fine-tuned from
facebook/wav2vec2-xls-r-300m on 8,437 approved Persian audio clips.
Outputs phonemes in the shared repr1 alphabet (A C Q S Z โฆ + lowercase IPA-style phonemes) โ the
same canonical alphabet used by the Negara G2P models, making this model a drop-in listener for
grapheme-to-phoneme adjudication.
Provenance
- Original model:
facebook/wav2vec2-xls-r-300m(Apache-2.0), fine-tuned for CTC. - Data: 8,437 approved (lattice-supported) Persian clips; target labels are the
audio_target_phonemes_vnextrepr1 label field. - Role: used as the OOF (out-of-fold) listener in the AvaSanj data pipeline โ each fold scores only
voices it never trained on โ to arbitrate G2P disagreements at margin
โฅ 0.1(~96.3% precision / 95.9% recall on the corruption gate). - Selection: best step 800, best validation CER 0.0479.
Model
- Architecture: Wav2Vec2ForCTC, base
wav2vec2-xls-r-300m(~300 M params). - Vocabulary: repr1 (see
vocabulary.json) โ 30-token inventory incl.<blank>+" ". - Full eval:
report.json.
Usage
from transformers import Wav2Vec2ForCTC
model = Wav2Vec2ForCTC.from_pretrained("Reza2kn/AvaSanj-v1-audio8437")
Note: load with the local vocabulary.json for the repr1 tokenizer mapping.
Files
config.json,model.safetensorsโ HF wav2vec2 checkpoint (best-model/)vocabulary.jsonโ repr1 vocabreport.jsonโ full eval report (baseline, corruption gate, OOF fold stats)
- Downloads last month
- 72
Model tree for Reza2kn/AvaSanj-v1
Base model
facebook/wav2vec2-xls-r-300m