/ Модель

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

Параметры
413 млн
Лицензия
Своя лицензия
Архитектура
wav2vec2 · dense
Базовая модель
omniASR_CTC_300M_v2
Библиотека
transformers
Опубликована
26 окт 2026

omniASR_CTC_300M_v2_Laos

Распознавание речиАудио → текст7 профессий

Дообученная CTC-модель Wav2Vec2 для транскрибации лаосской речи в текст.

142скачиваний за 30 дней1лайквеса обновлены20 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Это модель распознавания речи на лаосском языке, созданная Phonepadith дообучением CTC-чекпойнта Meta omniASR_CTC_300M_v2. Она использует архитектуру Wav2Vec2ForCTC и принимает монофоническое аудио с частотой 16 кГц, выдавая текстовую транскрипцию. В README указано 325 млн параметров, тогда как метаданные репозитория сообщают 413,2 млн; размер следует считать противоречивым. Модель расширяет символьный словарь базового чекпойнта, чтобы он мог выводить распространённые диакритические знаки лаосского письма.

Модель предназначена для транскрибации лаосской речи. На отложенном наборе из 1 583 аудиоклипов автор сообщает CER 7,94%; оценка рассчитана с сохранением комбинируемых знаков. Модель не добавляет пунктуацию и регистр, использует жадное CTC-декодирование без языковой модели. Лучше работает на ясной формальной речи; шум, спонтанная или перекрывающаяся речь, а также смешение лаосского и английского могут ухудшить результат.

Репозиторий распространяется с лицензией «other»; конкретные условия в предоставленных данных не раскрыты. Для NVIDIA Blackwell автор отмечает необходимость отключить cuDNN для корректной работы Wav2Vec2.

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

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

Ограничения

Модель обучена преимущественно на ясной формальной речи; шумная, спонтанная и перекрывающаяся речь распознаётся хуже, а смешанная лаосско-английская речь обрабатывается непоследовательно. Пунктуация и регистр не выводятся; жадное CTC-декодирование не использует языковую модель.

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

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

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

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

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

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

Открыть на Hugging Face

omniASR_CTC_300M_v2_Laos

Lao (ພາສາລາວ) speech recognition, fine-tuned from Meta's omnilingual ASR omniASR_CTC_300M_v2 CTC checkpoint (325M parameters).

Character error rate 7.94% on a held-out test set of 1,583 clips.

Results

CER
this model (8 epochs)7.94%
the same recipe stopped at 4 epochs8.17%
omniASR_CTC_300M_v2 before fine-tuning60.39%

Read CER, not WER. Lao is written without spaces between words, so word-level error rate mostly measures where the model chose to break rather than whether it heard correctly.

Scoring normalises both sides with NFC, drops Unicode punctuation/symbol categories and case, and keeps all combining marks. Do not score Lao with whisper_normalizer.basic.BasicTextNormalizer: it maps every Unicode Mark to a space, and 21.9% of Lao text is Mark-category (tone marks, vowel signs), so it deletes them from reference and hypothesis alike and scores tone errors as correct.

Usage

import torch, soundfile as sf
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor

model_id = "Phonepadith/omniASR_CTC_300M_v2_Laos"
processor = Wav2Vec2Processor.from_pretrained(model_id)
model = Wav2Vec2ForCTC.from_pretrained(model_id).eval()

audio, sr = sf.read("clip.wav", dtype="float32")     # 16 kHz mono
assert sr == 16000
inputs = processor(audio, sampling_rate=16000, return_tensors="pt",
                   padding=True, return_attention_mask=True)
with torch.no_grad():
    logits = model(inputs.input_values, attention_mask=inputs.attention_mask).logits
print(processor.batch_decode(logits.argmax(-1))[0])

Input must be 16 kHz mono. On NVIDIA Blackwell GPUs (sm_120/sm_121) add torch.backends.cudnn.enabled = False — see Hardware note below.

What was changed, and why

The base checkpoint could not spell Lao

Lao (lao_Laoo) is one of the 1,668 languages omniASR covers, but the released CTC checkpoint has two problems with written Lao:

  1. Eight common Lao combining marks are absent from its character vocabulary — MAI THO, MAI KAN, SARA I, NIGGAHITA, SARA U, SARA AM, SEMIVOWEL LO and SARA Y. Together these are roughly 12% of running Lao text, so the model physically could not emit them, which floors CER near 12% regardless of how well it hears. This is not a conversion artifact: the vocabulary is character-level and those marks appear in zero entries.
  2. Zero-shot it transcribes Lao audio into Thai script (60.39% CER). The CTC suite has no language conditioning, so it falls back on a phonetically close, better-represented neighbour.

The fix for (1) is to extend the vocabulary before training: the 10 missing characters are appended to the tokenizer and lm_head is grown 10,288 → 10,298, copying the trained rows and initialising the new ones from N(0, 0.02) with bias -3.0 so they start conservative rather than competing immediately. Unrepresentable text drops from ~12% to 0.000%. Fine-tuning on Lao resolves (2).

Compared with our other Lao fine-tunes

Lao ASR fine-tuned model comparison

modelparamsCER
this model325M7.94%
Typhoon FastConformer-T114M8.44%
XLSR-53317M8.82%
Qwen3-ASR0.78B11.47%
Whistle29MB12.31%

Every row is the same 1,583 held-out clips through the same scorer, which is what makes them comparable at all.

Fine-tuning setup

epochs8 (7,200 optimizer steps)
batch size8 × 4 gradient accumulation = 32 effective
learning rate1e-4, linear schedule, 500 warmup steps
precisionbf16, gradient checkpointing
feature encoderfrozen
SpecAugment / dropout0.0 — see below
ctc_loss_reductionmean, ctc_zero_infinity=True
batchinglength-grouped
checkpoint selectionbest CER on validation

Trained in 2 h 32 m for the first 4 epochs and a further 3 h 13 m for epochs 5-8, on one NVIDIA GB10, peak 10.7 GB.

Validation CER fell 18.67% → 10.35% over the first 4 epochs and was still falling, so the run was extended to 8. That bought a further 10.35% → 10.12% on validation and 8.17% → 7.94% on test — real, but a fifth of what the first four epochs gave. Validation loss rose over the same stretch (0.359 → 0.405) while CER crept down, which is where this recipe stops paying: a 12-epoch run would be expected to regress.

Regularisation is deliberately off

SpecAugment (mask_time_prob) and dropout are set to 0.0. In a controlled 4-clip overfit test, bf16, SpecAugment, dropout and gradient checkpointing each converge fine individually (loss ~0.01 by step 250), but stacked together they stall CTC in the all-blank phase (loss 3.34, nothing decoded). With a large corpus the binding risk is failing to learn alignment, not overfitting.

This matters less when starting from the CTC checkpoint than from a bare encoder — the pretrained head means there is no long blank-collapse phase — but the setting is kept for consistency.

Hardware note: cuDNN on Blackwell

On NVIDIA Blackwell (sm_120/sm_121) with cuDNN 9.25, wav2vec2 fails with:

RuntimeError: GET was unable to find an engine to execute this computation

The cause is wav2vec2's positional convolution — a grouped Conv1d with 1024 channels, kernel 128, groups 16 — for which cuDNN has no engine on this architecture in fp32, bf16 or fp16. Set torch.backends.cudnn.enabled = False; PyTorch's native kernel handles it. It must be global, because scoping it to the module's forward moves the identical error into the backward pass. It affects inference as well as training.

Known imperfection

Training ran without attention masks: the base checkpoint's preprocessor_config.json sets return_attention_mask: false, so padded regions were treated as audio. Length-grouped batching kept padding small, which is likely why it trained well regardless, but a do_stable_layer_norm model is supposed to receive the mask. This repo ships return_attention_mask: true so inference matches how the 7.94% figure was measured. Correcting it for training may yield a further gain.

Limitations

  • Trained mainly on clear, formal speech. Spontaneous or overlapping speech, and noisy close-mic recordings, are harder for it.
  • No punctuation or casing — removed from the training targets by design.
  • Greedy CTC decoding, no language model. Adding an n-gram LM with pyctcdecode would likely reduce CER further.
  • Mixed Lao/English audio is inconsistent, sometimes writing English in Latin script and sometimes transliterating it into Lao.
  • Not for safety-critical use without independent evaluation on your own audio.

Paper

The benchmark behind the numbers above is written up in:

Phoummavong, P., Khieovongphachanh, V., Luangxaysana, K., and Bounnhavong, C. (2026). Benchmarking Fine-Tuned Speech-to-Text Models for Lao: CTC, Transducer, and Generative Architectures on a Common Test Set. Zenodo. doi:10.5281/zenodo.24391428

The PDF is mirrored in this repository as benchmarking-lao-stt-2026.pdf. The Zenodo DOI above remains the version of record.

It reports all four Lao fine-tunes trained on the same 112.4-hour corpus of 31,996 clips and scored on the same 1,583 held-out clips with a Lao-safe normalizer that preserves tone marks and vowel signs. It also documents four pitfalls specific to Lao: combining marks missing from a base vocabulary, NFKC decomposition of Lao characters by a subword tokenizer, a widely used normalizer that silently deletes tone marks during scoring, and an interaction of regularizers that stalls CTC training.

@misc{phoummavong2026lao,
  title     = {Benchmarking Fine-Tuned Speech-to-Text Models for Lao: CTC,
               Transducer, and Generative Architectures on a Common Test Set},
  author    = {Phoummavong, Phonepadith and Khieovongphachanh, Vimontha and
               Luangxaysana, Khanthanou and Bounnhavong, Chindavone},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.24391428},
  url       = {https://doi.org/10.5281/zenodo.24391428}
}

License

Released under the AIDCTECH license; see LICENSE.

The base model, Meta's omniASR_CTC_300M_v2, is licensed under Apache 2.0, which continues to apply to the portions of this work derived from it. The HF conversion of that checkpoint used as the starting point is aadel4/omniASR-CTC-300M-v2 (conversion code).

Citation

@misc{omniASR_CTC_300M_v2_Laos,
  title  = {omniASR_CTC_300M_v2_Laos: Lao speech recognition},
  author = {Phonepadith},
  year   = {2026},
  publisher = {AIDCTECH},
  howpublished = {\url{https://huggingface.co/Phonepadith/omniASR_CTC_300M_v2_Laos}}
}

Built on Meta's Omnilingual ASR:

@misc{omnilingualasr2025,
  title  = {Omnilingual ASR: Open-Source Multilingual Speech Recognition for 1600+ Languages},
  author = {Omnilingual ASR team},
  year   = {2025},
  url    = {https://github.com/facebookresearch/omnilingual-asr}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Wav2Vec2ForCTC
Ревизия весов
60b0bde

0 моделей