/ Модель

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

Лицензия
CC BY 4.0
Базовая модель
whisper-small
Опубликована
22 ноя 2026

nebula-st-whisper-twi-en

Распознавание речиАудио → текст3 профессии
224скачиваний за 30 дней1лайквеса обновлены24 ноя 2026

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

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

Модель преобразует короткую речь на твиязыке в английский текст и поддерживает запуск на мобильных устройствах.

nebula-st-whisper-twi-en — модель Adwumatech AI для преобразования устной речи на твиязыке (акан) в английский текст. Она основана на Whisper small от OpenAI и дообучена на парах аудио и английских переводов из MGhana-ST и YouTube-записей с человеческими переводами. При дообучении заморожены нижние восемь слоёв энкодера, свёрточная часть и эмбеддинги; обучались верхние четыре слоя энкодера и декодер. Размер модели — 242 млн параметров.

Модель предназначена для перевода коротких повседневных высказываний с твиязыка на английский, включая запуск на мобильных устройствах через ExecuTorch. В README приведены оценки на отложенных наборах: BLEU 7,11 на тестовой выборке MGhana-ST и 5,55 на YouTube-записях; авторы предупреждают, что переводы могут быть лишь частично верными. Модель слабо работает с длинной речью и ограничена вариантами твиязыка Akuapem и Asante. Лицензия репозитория — CC BY 4.0; для YouTube-записей условия лицензирования не указаны.

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

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

Ограничения

Ограничена вариантами твиязыка Akuapem и Asante и слабо справляется с длинной речью. На отложенных данных качество перевода невысокое, поэтому результаты могут быть частично верными.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

nebula-st-whisper-twi-en

Version 0.2.0 (git tag v0.2.0; pin as nebula-st-whisper-twi-en@0.2.0). Engine: nebula-st-whisper.

Twi (Akan) speech → English text. openai/whisper-small fine-tuned end-to-end for speech translation: the bottom 8 encoder layers, the convolutional front end and the embeddings are frozen; the top 4 encoder layers and the whole pretrained decoder are trained. Decoding starts from the fixed prefix <|startoftranscript|><|translate|><|notimestamps|> (no language token).

Training data

MGhana-ST Twi shards.

ShardLicenceSourceNotes
mghana_st-akuapim-twi-1CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-akuapim-twi-2CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-akuapim-twi-3CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-akuapim-twi-4CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-akuapim-twi-5CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-akuapim-twi-6CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-asanti-twi-1CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-asanti-twi-2CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-asanti-twi-3CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-asanti-twi-4CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-asanti-twi-5CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st
mghana_st-asanti-twi-6CC-BY-4.0https://huggingface.co/datasets/adwumatech-ai/mghana-st

YouTube recordings. The model was also trained on data from YouTube, with human English translations. These recordings are not part of MGhana-ST or any other public dataset yet.

The MGhana-ST splits are by prompt template: no validation or test prompt appears in training. Three recordings are held out of training entirely.

Evaluation

scripts/eval.py, beam search (size 4), multi-reference corpus BLEU / chrF (sacrebleu):

SplitBLEUchrFSegmentsWhat it measures
test7.1117.651925MGhana-ST test split: prompt templates never seen in training
val13.8724.42931MGhana-ST validation split: prompt templates never seen in training
YouTube recordings5.5526.2511473 held-out YouTube recordings never seen in training

These are honest scores on sentences the model never trained on. Expect partly right translations of short everyday phrases.

Usage

import sys
from huggingface_hub import snapshot_download

model_dir = snapshot_download(repo_id="adwumatech-ai/nebula-st-whisper-twi-en", revision="v0.2.0")
sys.path.insert(0, model_dir)  # whisper_st.py ships in the repo
import whisper_st

model, tok, fe = whisper_st.load_model(model_dir)  # checks manifest.json's SHA-256s first
print(whisper_st.translate_waveform(model, tok, fe, whisper_st.load_audio("clip.wav"), beam_size=4))

Or from a shell: python whisper_st.py translate --model <model_dir> clip.wav. Long audio is split into 30-second windows.

On-device (ExecuTorch)

mobile/<precision>/ holds XNNPACK programs: encoder.pte (mel → cross-attention keys/values, once per 30 s window) and decoder_step.pte (tokens → next-token logits; start from decoding.prefix_ids in its config.json). For on-device training, decoder_step_lora.pte and decoder_train.pte take LoRA adapters (rank 8, every decoder linear layer) as inputs and train zero-initialised deltas; mobile/adapters.safetensors holds the round-0 adapters. Each config.json documents the inputs.

PrecisionDownload (encoder + decoder)Training programs (LoRA step + train)Peak memory, desktopBLEU / chrF drop vs PyTorchIdentical outputs
int8109.2 + 182.4 MB182.6 + 143.1 MB1003 MB-0.04 / -0.0180.0 %
int8-vocab18k109.2 + 130.8 MB131.0 + 117.4 MB978 MB-0.04 / -0.1580.0 %
fp32409.4 + 717.6 MB717.8 + 559.2 MB1790 MB0.0 / 0.0100.0 %

Parity: greedy decoding of 100 test-split files, mobile programs vs PyTorch.

int8-vocab18k is the same model with its output vocabulary trimmed to the 18,561 of Whisper's 51,865 tokens that this model can produce (the most common tokens, every token in the training translations and the 256 byte tokens), which makes the decoder smaller. Its token ids are indices into kept_ids in mobile/int8-vocab18k/vocab.json: map each id the programs return through that list before detokenizing with the Whisper tokenizer, and map training targets the other way. Its prefix and end-of-text ids in config.json are already mapped.

Built from

ComponentLicence
openai/whisper-small (weights, tokenizer)Apache 2.0
MGhana-ST (translations; see the dataset card for its audio sources and citations)CC BY 4.0
Recordings from YouTube, with human translationsNot specified

Licence

These weights use CC BY 4.0, but also adhere to the license of what it's built on: Whisper-small is Apache 2.0 and MGhana-ST is CC BY 4.0, but the YouTube recordings used in training have no stated licence. Ask the maintainers before using it commercially or redistributing it.

Limitations

  • Twi (Akuapem, Asante) only.
  • Weak on long-form speech.
  • A 242M-parameter model: the int8 phone download is roughly 290 MB (240 MB for int8-vocab18k).

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

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

GPU в ailist

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

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
496884e

0 моделей