/ Модель

Характеристики

Лицензия
Apache 2.0
Архитектура
omniasr_ctc · dense
Библиотека
transformers
Опубликована
13 ноя 2026

omniasr-ctc-1b-v2

Распознавание речиАудио → текст8 профессий
470скачиваний за 30 дней0лайковвеса обновлены13 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Многоязычная CTC-модель Meta AI для быстрого распознавания речи более чем на 1 600 языках.

Omnilingual ASR CTC 1B v2 — модель распознавания речи семейства Omnilingual ASR, разработанная Meta AI и преобразованная Eric Bezzam для Transformers. Она предназначена для транскрибации аудио более чем на 1 600 языках, включая языки, редко поддерживаемые системами распознавания речи. Модель содержит около 975 млн параметров и использует энкодер в стиле Wav2Vec2 с CTC-головой; распознавание выполняется без авторегрессионной генерации и подсказки о языке.

Вариант CTC оптимизирован для быстрого распознавания и может обрабатывать аудио пакетами. На выходе он формирует текст в нижнем регистре без пунктуации. Модель распространяется по лицензии Apache-2.0; для обучающего корпуса facebook/omnilingual-asr-corpus указана отдельная лицензия CC-BY-4.0.

Сценарии применения

  • транскрибация записей речи на редких языках
  • распознавание речи в многоязычных аудиозаписях
  • пакетная расшифровка аудиофайлов
  • создание текстовых расшифровок для последующей обработки

Ограничения

Выводится строчными буквами и без пунктуации; модель не принимает подсказку о языке. Для работы с Transformers требуется установка библиотеки из исходного кода, поскольку модель пока не входит в релиз Transformers.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Распознавание речи» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит8

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Omnilingual ASR: Open-Source Multilingual Speech Recognition for 1600+ Languages

Model Description

This is a 🤗 Transformers-compatible conversion of omniASR_CTC_1B_v2, part of the Omnilingual ASR family released by Meta AI, which covers more than 1,600 languages — including hundreds never previously supported by any ASR system.

This checkpoint is a CTC variant: a Wav2Vec2-style encoder (convolutional layers that downsample the 16 kHz waveform ~320× to a 50 Hz frame rate, followed by a pre-norm Transformer encoder) with a single linear projection to the vocabulary, decoded non-autoregressively with greedy CTC. It is the fastest variant, transcribes in lowercase without punctuation, and does not take a language hint.

The Transformers-compatible checkpoints are:

ModelFeaturesParameters
omniasr-ctc-300m-v2ASR325_494_996
omniasr-ctc-1b-v2 (this model)ASR975_065_300
omniasr-ctc-3b-v2ASR3_080_423_636
omniasr-ctc-7b-v2ASR6_504_786_132
omniasr-llm-300m-v2ASR with optional language conditioning1_627_603_584
omniasr-llm-1b-v2ASR with optional language conditioning2_275_710_592
omniasr-llm-3b-v2ASR with optional language conditioning4_376_679_040
omniasr-llm-7b-v2ASR with optional language conditioning7_801_041_536
  • Developed by: Meta AI / Omnilingual ASR Team (GitHub)
  • Converted to Transformers by: Eric Bezzam
  • Model type: Wav2Vec2-style speech encoder with a CTC head, non-autoregressive decoding.
  • Language(s): 1,600+ languages (see Supported languages).
  • License: Apache-2.0 (for the model and code), CC-BY-4.0 for the facebook/omnilingual-asr-corpus dataset.

Installation

OmniASR is not yet part of a Transformers release, so install Transformers from source:

pip install git+https://github.com/huggingface/transformers

Usage

The CTC variant transcribes in lowercase without punctuation, and does not take a language hint.

Simple transcription

from datasets import Audio, load_dataset
from transformers import AutoModelForCTC, AutoProcessor

model_id = "hf-audio/omniasr-ctc-1b-v2"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForCTC.from_pretrained(model_id, device_map="auto")

ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
ds = ds.cast_column("audio", Audio(sampling_rate=processor.feature_extractor.sampling_rate))

inputs = processor(ds[0]["audio"]["array"], sampling_rate=processor.feature_extractor.sampling_rate)
inputs.to(model.device, dtype=model.dtype)
outputs = model.generate(**inputs)
print(processor.decode(outputs, skip_special_tokens=True)[0])

Batch inference

Batch inference is possible by passing a list of audios, which the processor pads to the longest one.

from datasets import Audio, load_dataset
from transformers import AutoModelForCTC, AutoProcessor

model_id = "hf-audio/omniasr-ctc-1b-v2"
NUM_SAMPLES = 5

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForCTC.from_pretrained(model_id, device_map="auto")

ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
ds = ds.cast_column("audio", Audio(sampling_rate=processor.feature_extractor.sampling_rate))
speech_samples = [el["array"] for el in ds["audio"][:NUM_SAMPLES]]

inputs = processor(speech_samples, sampling_rate=processor.feature_extractor.sampling_rate)
inputs.to(model.device, dtype=model.dtype)
outputs = model.generate(**inputs)
for i, text in enumerate(processor.decode(outputs, skip_special_tokens=True)):
    print(f"Audio {i + 1}: {text}")

Training

The model can be trained with the loss it outputs. Passing text to the processor prepares the CTC labels, with padding positions masked out. Note that OmniASR transcribes in lowercase, so the (uppercase) LibriSpeech transcripts are lowercased below.

from datasets import Audio, load_dataset
from transformers import AutoModelForCTC, AutoProcessor

model_id = "hf-audio/omniasr-ctc-1b-v2"
NUM_SAMPLES = 5

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForCTC.from_pretrained(model_id, device_map="auto")
model.train()

ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
ds = ds.cast_column("audio", Audio(sampling_rate=processor.feature_extractor.sampling_rate))
speech_samples = [el["array"] for el in ds["audio"][:NUM_SAMPLES]]
text_samples = [text.lower() for text in ds["text"][:NUM_SAMPLES]]

# passing `text` to the processor will prepare inputs' `labels` key
inputs = processor(audio=speech_samples, text=text_samples, sampling_rate=processor.feature_extractor.sampling_rate)
inputs.to(model.device, dtype=model.dtype)

outputs = model(**inputs)
print("Loss:", outputs.loss.item())
outputs.loss.backward()

Torch compile

The CTC variant runs a single forward pass, which is compiled by passing a CompileConfig to generate. Padding all inputs to the same length (here 30 seconds) keeps the input shapes static, so that new inputs don't trigger a recompilation.

On an A100, we observed a speed-up of ~1.3 for a batch size of 4 (script).

import torch
from datasets import Audio, load_dataset
from transformers import AutoModelForCTC, AutoProcessor, CompileConfig

model_id = "hf-audio/omniasr-ctc-1b-v2"
NUM_SAMPLES = 4
num_warmup = 3

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForCTC.from_pretrained(model_id, dtype=torch.bfloat16).to("cuda").eval()

ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
ds = ds.cast_column("audio", Audio(sampling_rate=processor.feature_extractor.sampling_rate))
speech_samples = [el["array"] for el in ds["audio"][:NUM_SAMPLES]]

inputs = processor(
    speech_samples,
    sampling_rate=processor.feature_extractor.sampling_rate,
    padding="max_length",
    max_length=30 * processor.feature_extractor.sampling_rate,
).to(model.device, dtype=model.dtype)

compile_config = CompileConfig(fullgraph=True, mode="reduce-overhead")

# Warmup
for _ in range(num_warmup):
    _ = model.generate(**inputs, compile_config=compile_config)
torch.cuda.synchronize()

# Apply model
outputs = model.generate(**inputs, compile_config=compile_config)
print(processor.decode(outputs, skip_special_tokens=True)[0])

Supported Languages

The list of 1600+ supported languages and their naming convention follows the original here. Languages follow the format {language_code}_{script}, for example eng_Latn - English (Latin script), cmn_Hans - Mandarin Chinese (Simplified), ...


Citation

BibTeX:

@misc{omnilingualasr2025,
  title={{Omnilingual ASR}: Open-Source Multilingual Speech Recognition for 1600+ Languages},
  author={{Omnilingual ASR Team} and Keren, Gil and Kozhevnikov, Artyom and Meng, Yen and Ropers, Christophe and Setzler, Matthew and Wang, Skyler and Adebara, Ife and Auli, Michael and Can, Balioglu and Chan, Kevin and Cheng, Chierh and Chuang, Joe and Droof, Caley and Duppenthaler, Mark and Duquenne, Paul-Ambroise and Erben, Alexander and Gao, Cynthia and Mejia Gonzalez, Gabriel and Lyu, Kehan and Miglani, Sagar and Pratap, Vineel and Sadagopan, Kaushik Ram and Saleem, Safiyyah and Turkatenko, Arina and Ventayol-Boada, Albert and Yong, Zheng-Xin and Chung, Yu-An and Maillard, Jean and Moritz, Rashel and Mourachko, Alexandre and Williamson, Mary and Yates, Shireen},
  year={2025},
  url={https://ai.meta.com/research/publications/omnilingual-asr-open-source-multilingual-speech-recognition-for-1600-languages/},
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
OmniASRForCTC
Ревизия весов
9e5b822

0 моделей