Views
No views yet


omniASR_{CTC,LLM}_{300M,1B,3B,7B}_v2).omniASR_LLM_Unlimited_{300M,1B,3B,7B}_v2). The unlimited audio length models are briefly described in the architecture overview section. It's accuracy is comparable to limited audio length models, however finetuning recipies for this model are currently not supported.brew install libsndfile; Windows may need an additional setup).1# using pip
2pip install omnilingual-asr
3
4# using uv
5uv add omnilingual-asr1from omnilingual_asr.models.inference.pipeline import ASRInferencePipeline
2
3pipeline = ASRInferencePipeline(model_card="omniASR_LLM_Unlimited_7B_v2")
4audio_files = ["/path/to/eng_audio1.flac", "/path/to/deu_audio2.wav"]
5lang = ["eng_Latn", "deu_Latn"]
6transcriptions = pipeline.transcribe(audio_files, lang=lang, batch_size=2)⚠️ Important: Currently only audio files shorter than 40 seconds are accepted for inference on CTC and LLM model suites.
1from omnilingual_asr.models.wav2vec2_llama.lang_ids import supported_langs
2
3# Print all supported languages
4print(f"Total supported languages: {len(supported_langs)}")
5print(supported_langs)
6
7# Check if a specific language is supported
8if "eng_Latn" in supported_langs:
9 print("English (Latin script) is supported!"){language_code}_{script}, for example eng_Latn - English (Latin script), cmn_Hans - Mandarin Chinese (Simplified), ...facebook/omnilingual-asr-corpus.
This dataset can be directly used with our inference pipeline for evaluation or testing:pip install "omnilingual-asr[data]"1from datasets import load_dataset
2from omnilingual_asr.models.inference.pipeline import ASRInferencePipeline
3
4# Load dataset for a specific language (e.g., Ligurian)
5omni_dataset = load_dataset("facebook/omnilingual-asr-corpus", "lij_Latn", split="train", streaming=True)
6batch = next(omni_dataset.iter(5))
7
8# Convert to pipeline input format
9audio_data = [{"waveform": x["array"], "sample_rate": x["sampling_rate"]}
10 for x in batch["audio"]]
11
12# Run inference
13pipeline = ASRInferencePipeline(model_card="omniASR_LLM_7B_v2")
14transcriptions = pipeline.transcribe(audio_data, batch_size=2)
15
16# Display results
17for i, (transcription, original_text) in enumerate(zip(transcriptions, batch["raw_text"]), 1):
18 print(f"\n Sample {i}:")
19 print(f" Ground Truth: {original_text}")
20 print(f" Predicted: {transcription}")| Model Name | Features | Parameters | Download Size (FP32) | Inference VRAM¹ | Real-Time Factor¹ (relative speed)² |
|---|---|---|---|---|---|
omniASR_W2V_300M | SSL | 317_390_592 | 1.2 GiB | ||
omniASR_W2V_1B | SSL | 965_514_752 | 3.6 GiB | ||
omniASR_W2V_3B | SSL | 3_064_124_672 | 12.0 GiB | ||
omniASR_W2V_7B | SSL | 6_488_487_168 | 25.0 GiB | ||
omniASR_CTC_300M | ASR | 325_494_996 | 1.3 GiB | ~2 GiB | 0.001 (96x) |
omniASR_CTC_1B | ASR | 975_065_300 | 3.7 GiB | ~3 GiB | 0.002 (48x) |
omniASR_CTC_3B | ASR | 3_080_423_636 | 12.0 GiB | ~8 GiB | 0.003 (32x) |
omniASR_CTC_7B | ASR | 6_504_786_132 | 25.0 GiB | ~15 GiB | 0.006 (16x) |
omniASR_CTC_300M_v2 | ASR | 325_494_996 | 1.3 GiB | ~2 GiB | 0.001 (96x) |
omniASR_CTC_1B_v2 | ASR | 975_065_300 | 3.7 GiB | ~3 GiB | 0.002 (48x) |
omniASR_CTC_3B_v2 | ASR | 3_080_423_636 | 12.0 GiB | ~8 GiB | 0.003 (32x) |
omniASR_CTC_7B_v2 | ASR | 6_504_786_132 | 25.0 GiB | ~15 GiB | 0.006 (16x) |
omniASR_LLM_300M | ASR with optional language conditioning | 1_627_603_584 | 6.1 GiB | ~5 GiB | 0.090 (~1x) |
omniASR_LLM_1B | ASR with optional language conditioning | 2_275_710_592 | 8.5 GiB | ~6 GiB | 0.091 (~1x) |
omniASR_LLM_3B | ASR with optional language conditioning | 4_376_679_040 | 17.0 GiB | ~10 GiB | 0.093 (~1x) |
omniASR_LLM_7B | ASR with optional language conditioning | 7_801_041_536 | 30.0 GiB | ~17 GiB | 0.092 (~1x) |
omniASR_LLM_300M_v2 | ASR with optional language conditioning | 1_627_603_584 | 6.1 GiB | ~5 GiB | 0.090 (~1x) |
omniASR_LLM_1B_v2 | ASR with optional language conditioning | 2_275_710_592 | 8.5 GiB | ~6 GiB | 0.091 (~1x) |
omniASR_LLM_3B_v2 | ASR with optional language conditioning | 4_376_679_040 | 17.0 GiB | ~10 GiB | 0.093 (~1x) |
omniASR_LLM_7B_v2 | ASR with optional language conditioning | 7_801_041_536 | 30.0 GiB | ~17 GiB | 0.092 (~1x) |
omniASR_LLM_Unlimited_300M_v2 | omniASR_LLM_300M + unlimited audio length | 1_627_603_584 | 6.1 GiB | ~5 GiB | 0.092 (~1x) (0.206)³ |
omniASR_LLM_Unlimited_1B_v2 | omniASR_LLM_1B + unlimited audio length | 2_275_710_592 | 8.5 GiB | ~6 GiB | 0.097 (~1x) (0.207)³ |
omniASR_LLM_Unlimited_3B_v2 | omniASR_LLM_3B + unlimited audio length | 4_376_679_040 | 17.0 GiB | ~10 GiB | 0.095 (~1x) (0.208)³ |
omniASR_LLM_Unlimited_7B_v2 | omniASR_LLM_7B + unlimited audio length | 7_801_041_536 | 30.0 GiB | ~17 GiB | 0.097 (~1x) (0.208)³ |
omniASR_LLM_7B_ZS | Zero-Shot ASR | 7_810_900_608 | 30.0 GiB | ~20 GiB | 0.194 (~0.5x) |
omniASR_tokenizer_v1 | Tokenizer for all non-v2 models except omniASR_LLM_7B | - | 100 KiB | - | |
omniASR_tokenizer_v1_variant7 | Tokenizer for the omniASR_LLM_7B architecture | - | 100 KiB | - | |
omniASR_tokenizer_written_v2 | Tokenizer for all v2 architectures | - | 100 KiB | - |
omniASR_LLM_7B~/.cache/fairseq2/assets/src/omnilingual_asr/models), with individual configurations for each model family in the respective directories:src/omnilingual_asr/models/wav2vec2_sslsrc/omnilingual_asr/models/wav2vec2_asrsrc/omnilingual_asr/models/wav2vec2_llama1@misc{omnilingualasrteam2025omnilingualasropensourcemultilingual,
2 title={Omnilingual ASR: Open-Source Multilingual Speech Recognition for 1600+ Languages},
3 author={Omnilingual ASR team and Gil Keren and Artyom Kozhevnikov and Yen Meng and Christophe Ropers and Matthew Setzler and Skyler Wang and Ife Adebara and Michael Auli and Can Balioglu and Kevin Chan and Chierh Cheng and Joe Chuang and Caley Droof and Mark Duppenthaler and Paul-Ambroise Duquenne and Alexander Erben and Cynthia Gao and Gabriel Mejia Gonzalez and Kehan Lyu and Sagar Miglani and Vineel Pratap and Kaushik Ram Sadagopan and Safiyyah Saleem and Arina Turkatenko and Albert Ventayol-Boada and Zheng-Xin Yong and Yu-An Chung and Jean Maillard and Rashel Moritz and Alexandre Mourachko and Mary Williamson and Shireen Yates},
4 year={2025},
5 eprint={2511.09690},
6 archivePrefix={arXiv},
7 primaryClass={cs.CL},
8 url={https://arxiv.org/abs/2511.09690},
9}