/ Модель

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

Контекст
1 024 токена
Параметры
456 млн
Лицензия
CC BY 4.0
Архитектура
whisper · dense
Базовая модель
whisper-medium
Библиотека
transformers
Опубликована
19 окт 2026

whisper-medium-isixhosa

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

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

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

Дообученная Whisper Medium для расшифровки короткой речи на isiXhosa в текст.

Модель Ntlakanipho — дообученная версия OpenAI Whisper Medium с 455,8 млн параметров, предназначенная для автоматической расшифровки речи на языке isiXhosa. Она принимает аудио и выдаёт текст; для распознавания в Transformers следует передавать языковой тег `sw`, хотя результатом будет текст на isiXhosa. Модель обучена на 309,7 часах записей из NCHLT, Google FLEURS и Swivuriso, включая чтение и спонтанную речь.

На тестах она показывает CER 5,56% на FLEURS и 3,38% на коротких клипах Swivuriso; качество заметно хуже на смешанной речи isiXhosa и английского. Модель лучше подходит для коротких записей: быстрое слитное произношение и длинная речь остаются сложными. Текст выводится в нижнем регистре без пунктуации и заглавных букв, а расшифровки следует проверять; модель не оценивалась для критически важных решений и не предназначена для идентификации говорящих. Веса распространяются по лицензии CC BY 4.0 с требованием указать авторство и соблюдать условия наборов данных.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

whisper-medium-isixhosa

OpenAI's whisper-medium fine-tuned to transcribe isiXhosa, a language stock Whisper does not support. This is run R-0035 of an open learning project. Every experiment, failed ones included, is documented at https://github.com/2Ntlaks/isixhosa-speech-ai.

Updated 20 November 2026: retrained on more data (309.7 h) with a better recipe: trained about twice as long, SpecAugment, and the checkpoint chosen on natural speech. Fewer errors on every test set. The previous versions are still available: revision="R-0019" (October 2026) and revision="R-0012".

Try it: https://ntlakanipho-thetha.static.hf.space/index.html (runs the smaller whisper-small-isixhosa in your browser)

Read how it was made: I taught an AI to understand isiXhosa, an interactive write-up with the real recordings, training curves and every stage of the project.

Scores

Lower is better. CER = share of letters wrong, WER = share of words wrong. isiXhosa words are long (one wrong letter fails the whole word), so CER is the fairer headline. Two ways of decoding are shown, each against the previous version (R-0019) decoded the same way:

  • Plain: transformers, greedy, as in the code example below (the numbers in the metadata above).
  • Guarded: beam 5 with Whisper's own repetition fallback, on CTranslate2 (faster-whisper); this is how the project now scores every model (run R-0033).
Test setPlain CER / WERR-0019 plainGuarded CER / WERR-0019 guardedNote
FLEURS xh_za test (1 034 clips)5.56 / 26.646.24 / 30.325.21 / 26.065.75 / 28.92test sentences never seen in training; FLEURS's train split is in training
Swivuriso test, people speaking in their own words (723 clips)3.0 / 13.84.1 / 19.02.8 / 13.43.8 / 18.0home ground: same recording project as most of the training data
Swivuriso test, all (2 145 clips of 1-30 s, 24 speakers)3.38 / 15.514.12 / 19.123.24 / 15.043.92 / 18.26short, fully transcribed clips only
NCHLT isiXhosa test (2 770 clips, 8 speakers not in training)1.99 / 11.452.31 / 13.671.92 / 11.112.23 / 13.48flattering: 82 % of clips repeat a training sentence
NCHLT test, unseen sentences only (511 clips)4.3 / 25.54.4 / 26.64.1 / 24.44.1 / 26.3the NCHLT gain is mostly on sentences also in training

The same light normalisation is used for every score: lowercase, punctuation removed, spelling untouched. On isiXhosa-English code-switched TV speech (Soapies test, research-only corpus, never trained on) it is still weak: guarded CER 25.98 / WER 60.84 (R-0019: 27.08 / 63.37).

How to use it

Important: the model borrows Whisper's Swahili tag for isiXhosa. Always pass language="sw". It writes isiXhosa, not Swahili.

from transformers import pipeline

asr = pipeline("automatic-speech-recognition", model="Ntlakanipho/whisper-medium-isixhosa")
print(asr("clip.wav", generate_kwargs={"language": "sw", "task": "transcribe"})["text"])

The ct2-int8/ folder holds an 8-bit CTranslate2 copy (775 MB instead of 3 GB) that runs on an ordinary laptop CPU (faster-whisper, language="sw", beam_size=5). The 8-bit copy costs a little accuracy: on 100 FLEURS test clips, CER 6.16 with ctranslate2 4.5.0 (6.32 with 4.8.1) against 5.97 at full precision; no loss on NCHLT (runs R-0036, R-0037). See src/live.py in the GitHub repository for how to call it.

Training

  • Base: openai/whisper-medium (769M parameters).
  • Data (309.7 h, 98 663 clips, 603 speakers):
    • NCHLT isiXhosa Speech Corpus training split (51.2 h, read prompts).
    • Google FLEURS xh_za train (13.0 h, read sentences).
    • Swivuriso isiXhosa train (245.4 h of read and unscripted speech from 407 speakers): clips of 1-30 s, plus 98.9 h of pieces cut from longer clips at word timings. Clips whose transcript marks unclear speech ([?]) were dropped. Any clip whose sentence appears in a test or dev set was removed (6 139 clips).
  • Recipe: 9 000 steps (about 2.9 passes over the data), batch 32 (8 x 4 accumulation), learning rate 1e-5 with 500 warm-up steps and linear decay, bf16. SpecAugment (time and frequency masks, training only). The checkpoint (step 8 000) was chosen on the average CER of a Swivuriso dev sample (528 clips, 24 speakers) and FLEURS dev (441 clips); neither is trained on. One NVIDIA L40S, 4.6 h of training (~5.5 h of machine time, about $12).
  • Target text: lowercase, no punctuation. Hyphens after prefixes are written as spaces (e afrika, not e-Afrika).

Limitations

  • Long and fast speech. It was trained on clips of 30 s or less. Fast, run-together speech is still a weak spot.
  • English inside isiXhosa. It writes English words in English, but code-switched speech is still hard (see the Soapies score above), and it sometimes guesses an English word too eagerly.
  • No punctuation or capitals. The model also tags its output as Swahili (see above).
  • About one word in four has at least one wrong letter on new read sentences (NCHLT unseen, FLEURS). Check transcripts before relying on them.
  • Not evaluated for any high-stakes use. Do not use it to identify speakers.

Data and credits

  • NCHLT isiXhosa Speech Corpus, CSIR Meraka Institute and North-West University, distributed by SADiLaR (hdl.handle.net/20.500.12185/279), CC BY 3.0.
  • Google FLEURS xh_za (google/fleurs), CC BY 4.0.
  • Swivuriso, South Africa African Next Voices (dsfsi-anv/za-african-next-voices), isiXhosa part, by the South Africa NextVoices team (Data Science for Social Impact, University of Pretoria), CC BY 4.0. The dataset's terms allow speech recognition and prohibit text-to-speech, voice cloning and voice synthesis. Respect those terms when you use this model.
  • The code-switched score uses the Soapies corpus (van der Westhuizen & Niesler, LREC 2018), which is research only. It was used for testing only and never for training.
  • Base model: openai/whisper-medium (MIT).

These weights are released under CC BY 4.0. Credit "Ntlakanipho Mgaguli, isiXhosa Speech AI" and the datasets above.

Citation

@software{mgaguli_isixhosa_speech_ai_2026,
  author = {Mgaguli, Ntlakanipho},
  title  = {isiXhosa Speech AI: fine-tuning Whisper for isiXhosa},
  year   = {2026},
  url    = {https://github.com/2Ntlaks/isixhosa-speech-ai}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей