/ Модель

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

Параметры
403 млн
Лицензия
Своя лицензия
Архитектура
wav2vec2 · dense
Базовая модель
wav2vec2-large-xlsr-53
Библиотека
transformers
Опубликована
22 окт 2026

wav2vec2-large-xlsr-53-laos

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

Дообученная модель Wav2Vec2 распознаёт лаосскую речь и преобразует её в текст посимвольным CTC-декодированием.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Phonepadith/wav2vec2-large-xlsr-53-laos — модель распознавания речи на лаосском языке, разработанная автором репозитория и дообученная от facebook/wav2vec2-large-xlsr-53. Она использует архитектуру Wav2Vec2ForCTC с примерно 402,8 млн параметров и символьным CTC-выходом. Модель обучена на 101 часе лаосской речи; входное аудио должно быть моно с частотой 16 кГц. На отдельной тестовой выборке из 1 583 фрагментов автор сообщает CER 8,82%.

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

В карточке указана лицензия other, поэтому конкретные условия использования следует сверить с файлами репозитория. Модель слабее работает на спонтанной и перекрывающейся речи, а также на близких микрофонных записях в помещении, отличающихся от обучающих лекций, встреч и эфира. Для критически важных сценариев требуется независимая оценка на целевых аудиозаписях.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

wav2vec2-large-xlsr-53-laos

Lao (ພາສາລາວ) speech recognition, fine-tuned from facebook/wav2vec2-large-xlsr-53 with a CTC head on 101 hours of Lao speech.

Test CER 8.82% on 1,583 held-out clips.

Lao is not among the 53 languages XLSR-53 was pretrained on, and the script is unseen by the base model, so the entire character vocabulary and CTC head are learned from scratch here.

Results

splitshare of dataclipshoursCER
validation5.1%1,6195.711.00%
test4.9%1,5835.58.82%

The test split was never seen during training or validation.

CER, not WER. Lao is written without spaces between words; the spaces in these transcripts separate phrases, so word-level error rate largely measures where the model chose to break rather than whether it heard correctly. Only CER is reported here because it is the only one that means anything for this language.

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.

Compared with our other Lao fine-tunes

Lao ASR fine-tuned model comparison

modelparamsCER
omniASR CTC v2325M7.94%
Typhoon FastConformer-T114M8.44%
this model317M8.82%
Qwen3-ASR0.78B11.47%
Whistle29MB12.31%

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

Usage

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

# REQUIRED on NVIDIA Blackwell (sm_120/sm_121). See "Hardware note" below.
torch.backends.cudnn.enabled = False

model_id = "Phonepadith/wav2vec2-large-xlsr-53-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)
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. Resample before calling the model.

Fine-tuning technique

Base model and head

facebook/wav2vec2-large-xlsr-53 (317M parameters, 24 transformer layers, hidden size 1024, do_stable_layer_norm=True). The pretraining heads (quantizer, project_q, project_hid) are discarded and a fresh lm_head is initialised for CTC over a 139-token vocabulary.

The convolutional feature encoder is frozen (model.freeze_feature_encoder()): it is already a good general speech front end, and fine-tuning it on one language mostly destabilises training.

Vocabulary

Character-level CTC vocabulary built from the training transcripts:

groupcount
Lao characters55
Latin letters26
digits10
other (Thai characters appearing in the corpus)43
special ([PAD]=blank, [UNK], ``=word delimiter)
total137 (+2 unused <s>/</s> → vocab_size 139)

Characters occurring fewer than 10 times across the corpus were dropped (63 characters, 119 occurrences, 0.003% of all text). [PAD] is index 0 and serves as the CTC blank.

Targets are normalised the same way as the scorer: NFC, punctuation and case removed, all combining marks kept, spaces mapped to the | delimiter. Punctuation is not modelled, since CTC would spend capacity on symbols the metric discards anyway.

Hyperparameters

epochs8 (7,200 optimizer steps)
batch size8 × 4 gradient accumulation = 32 effective
learning rate3e-4, linear schedule, 500 warmup steps
optimizerAdamW, grad-norm clip 1.0
precisionbf16
gradient checkpointingon
SpecAugment (mask_time_prob)0.0 — see below
dropout (attention/hidden/feat_proj)0.0 — see below
ctc_loss_reductionmean
ctc_zero_infinityTrue
batchinglength-grouped (clips of similar duration batched together)
checkpoint selectionbest CER on validation, not final step

Training took 5 h 07 m on a single NVIDIA GB10 (DGX Spark), peak 10.6 GB.

The best checkpoint was at step 4,500 of 7,200 — the run was carried to completion and the best weights restored, because CER dipped at step 4,000 and then improved again. Stopping at the first apparent plateau would have cost 0.21 CER points.

Why regularisation is turned off

This is the single most important detail for reproducing this model.

With mask_time_prob=0.05 and dropout 0.05 — the values standard wav2vec2 recipes use — stacked on top of bf16 and gradient checkpointing, CTC never escapes the all-blank phase. The model predicted blank on 100% of frames with CER pinned at 99.88% for more than 2,000 steps and did not recover.

Each setting is harmless alone. Measured on a 4-clip overfit test, loss at step ~250:

configurationlossconverges
bf16 only0.0097yes
SpecAugment only0.1618yes
gradient checkpointing only0.0082yes
dropout only0.0082yes
all four together3.34no — decodes nothing
bf16 + checkpointing, no regularisation0.0101yes ← used here

Turning the two regularisers off took validation CER from 99.88% to 28.03% at the identical step 500.

The reasoning: standard recipes target ~8-hour corpora where overfitting is the binding risk. With 101 hours and a CTC head learning an unseen script from scratch, the binding risk is failing to learn alignment at all. Regularisation can be reintroduced once the model is transcribing.

If you adapt this recipe, run a 4-clip overfit test first. If the model cannot drive loss to ~0 on 4 examples in a few hundred steps, no learning rate will fix the full run — and the test answers that in two minutes instead of hours.

Hardware note: cuDNN on Blackwell

On NVIDIA Blackwell (sm_120/sm_121, e.g. GB10/DGX Spark) 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. cuDNN has no engine for it on this architecture in fp32, bf16 or fp16. The fix:

torch.backends.cudnn.enabled = False

PyTorch's native kernel handles it. This must be global: scoping it to the module's forward with cudnn.flags(enabled=False) moves the identical error into the backward pass, because autograd selects its kernel when backward runs, after the context manager has exited. It affects inference as well as training.

Training data

A Lao speech corpus of 31,996 clips totalling 112.4 hours, mean clip length 12.5 s, split as follows:

splitshareclipshours
train90.0%28,794101.2
validation5.1%1,6195.7
test4.9%1,5835.5

Validation and test are disjoint and were separated on a hash of the clip name, so the assignment is stable and no clip appears in more than one split.

All audio was decoded, downmixed to mono and resampled to 16 kHz once before training.

Content is predominantly lectures, meetings, news and formal speech.

Limitations

  • Domain. Trained on lecture/meeting/broadcast audio. Close-mic phone recordings in a room are out of domain and will score worse. Codec is not the issue — opus at 24 kbps costs only ~0.5 CER points; room acoustics and speaking style are what matter.
  • Spontaneous and overlapping speech is markedly weaker than formal speech.
  • Mixed Lao/English. The source transcripts are inconsistent — English is sometimes written in Latin script and sometimes transliterated into Lao script. The model inherits that inconsistency; clips where the two conventions disagree score roughly twice the average CER.
  • No punctuation or casing. Removed from the targets by design.
  • No language model. Greedy CTC decoding only. Adding an n-gram LM with pyctcdecode would likely reduce CER further.
  • 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 the LICENSE file in this repository for the governing terms.

Note that the base model facebook/wav2vec2-large-xlsr-53 is Apache-2.0, and the training data carries its own licensing; both apply in addition to the terms here.

Citation

@misc{wav2vec2-large-xlsr-53-laos,
  title  = {wav2vec2-large-xlsr-53-laos: Lao speech recognition},
  author = {Phonepadith},
  year   = {2026},
  publisher = {AIDCTECH},
  howpublished = {\url{https://huggingface.co/Phonepadith/wav2vec2-large-xlsr-53-laos}}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей