/ Модель

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

Параметры
11,1 млн
Лицензия
Apache 2.0
Архитектура
matoub · dense
Библиотека
transformers
Опубликована
20 авг 2026

Matoub-82M

Синтез речиТекст → аудио3 профессии

Модель agbalu для синтеза кабильской речи голосом kab_male из текста, дообученная на базе Kokoro-82M.

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

Бенчмарки

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

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

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

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

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

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

Matoub-82M — модель синтеза речи на кабильском языке (Taqbaylit), разработанная agbalu как дообучение StyleTTS2 на базе Kokoro-82M. В метаданных указано 11,1 млн параметров, тогда как README описывает модель как имеющую 82 млн параметров; поэтому размер модели по источникам расходится. Для запуска требуется Transformers с trust_remote_code=True.

Модель преобразует кабильский текст в речь голосом kab_male с частотой дискретизации 24 кГц. Она предназначена для озвучивания кабильских материалов, экранных дикторов, учебных аудиозаписей и завершающего этапа языковых NLP-конвейеров. Фронтенд адаптирован к кабильской фонологии и сохраняет характерные согласные и диакритические символы.

Опубликован один мужской голос; оценка качества синтеза самой модели в README ещё не приведена. Обучающие записи ограничены примерно 7,9 кГц, поэтому более высокие частоты в выходном сигнале не несут полезного звука. Модель обучена только для кабильского и не рассчитана на длинную связную речь с моделированием абзацной интонации. Лицензия Apache-2.0 допускает коммерческое использование.

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

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

Ограничения

Опубликован только один голос, а качество синтеза самой модели в README не оценено. Обучающие записи ограничены примерно 7,9 кГц; модель также не обучалась на длинной связной речи и не тестировалась для других берберских языков.

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

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

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

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

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

Открыть на Hugging Face

Matoub-82M

[!NOTE] Codec-Based Successor Available: agbalu/Matoub-4B is a 4.2B-parameter autoregressive codec-language model offering cross-lingual voice cloning, selectable reference voices, and higher acoustic fidelity. Matoub-82M remains maintained for lightweight, single-speaker StyleTTS2 CPU and edge inference.

An 81.7M-parameter neural text-to-speech model for Kabyle (Taqbaylit, kab), fine-tuned from hexgrad/Kokoro-82M on 21,953 restored Common Voice clips from a male native speaker.

Matoub-82M synthesizes 24 kHz audio reproducing the distinctive phonology of Kabyle, including gemination, spirantization, emphatic consonants, and pharyngeal fricatives. The front-end G2P maps Kabyle Latin orthography into a verified 42-symbol International Phonetic Alphabet (IPA) inventory, ensuring faithful acoustic realization.

Baseline Benchmark

Evaluated against Meta's mms-tts-kab baseline using Cycle-CER (acoustic distortion measured by transcribing synthetic audio with agbalu/Fadhma-300M against reference prompt text):

ModelArchitectureSample RateLicenseCycle-CERReal-Audio Control CERDelta
mms-tts-kabVITS16 kHzCC-BY-NC-4.011.89%8.33%+3.56%
Matoub-82MStyleTTS224 kHzApache-2.0Pending run——
  • Sample Rate & License: Matoub-82M outputs 24 kHz audio under a permissive Apache-2.0 license, compared to 16 kHz under non-commercial terms for MMS.
  • Phoneme Coverage: The base Kokoro vocabulary was expanded with 3 dedicated embedding rows for Kabyle pharyngeal symbols (ˤ, ʕ, ħ), preventing missing consonant deletions during grapheme-to-phoneme conversion.

Intended Use

  • Speech Synthesis: Text-to-speech generation for Kabyle accessibility tools, educational applications, and multimedia screen readers.
  • Pipeline Integration: Terminal stage for Kabyle NLP pipelines, accepting output from transliteration (Juba-27M), casing restoration (Belaid-31M), or orthography standardisation (Boulifa-48M).
  • Out of Scope: Voice cloning without consent; synthesis of languages outside Kabyle.

Usage

pip install "transformers>=5" torch soundfile
import soundfile as sf
from transformers import AutoModelForTextToWaveform, AutoTokenizer

REPO = "agbalu/Matoub-82M"
tokenizer = AutoTokenizer.from_pretrained(REPO, trust_remote_code=True)
model = AutoModelForTextToWaveform.from_pretrained(REPO, trust_remote_code=True).eval()

text = "Azul fell-awen, amek i telliḍ taṣebḥit-a?"
inputs = tokenizer(text, return_tensors="pt")
audio = model(**inputs).waveform[0]

sf.write("output.wav", audio.numpy(), model.config.sampling_rate)

Synthesis Pipeline:

  1. Grapheme-to-Phoneme (G2P): Converts Kabyle Latin text to phonetic IPA representations with contextual assimilation and spirantization rules.
  2. Prosody & Duration: PL-BERT (12 layers) and an LSTM duration predictor compute phoneme durations, F0 pitch contours, and energy conditioned on the speaker style vector.
  3. Acoustic Decoding: iSTFTNet decodes the aligned representations into 24 kHz mono waveforms.

Architecture

ParameterSpecification
Total Parameters81,731,256 (bert, bert_encoder, predictor, text_encoder, decoder)
Base ArchitectureStyleTTS2 initialized from hexgrad/Kokoro-82M
VocoderiSTFTNet (HiFi-GAN upsampling with inverse-STFT head, 20-point FFT, hop size 5)
Speaker EmbeddingSingle 256-dimensional style vector (128 acoustic, 128 prosodic)
Language ModelPL-BERT (12 layers)
Duration PredictorLSTM with linear projection (max 50 frames per phoneme)
Token Table178 tokens (expanded to include Kabyle pharyngeal phonemes)
Sample Rate24,000 Hz

Training-only modules (discriminators, WavLM loss, and diffusion samplers) were removed from the exported weights, reducing model size to 327 MB.

Training Data

Common Voice Kabyle (restored partition): amplitude-normalized, silence-trimmed, and filtered against clipping:

Voice PartitionClean ClipsTotal Speech DurationMean Clip Length
kab_male (Selected voice)14,679~12.9 hours3.73 s
kab_female7,274~5.0 hours3.11 s
Total21,953~17.9 hours—

Training Recipe

Trained in two sequential stages:

  • Stage 1 (Multi-Speaker Acoustic Pretraining): Jointly trained text_encoder, decoder, and duration predictor across all 20,953 training clips (batch size 4) for 6 epochs, stabilizing acoustic representation.
  • Stage 2 (Single-Speaker Adaptation): Fine-tuned the language model (bert, predictor) on 14,174 kab_male clips (batch size 4) for 4 epochs (13,944 iterations), reaching a final validation loss of 0.3475.

Limitations

  • Source Audio Bandwidth: Common Voice recordings exhibit a physical acoustic cutoff around ~7.9 kHz due to smartphone recording hardware and lossy compression; output above this ceiling reflects silent upper harmonics.
  • Prosodic Scope: Trained on short read-speech clips (mean duration 3.73 s); long-form paragraph prosody is synthesized sentence-by-sentence.
  • Speaker Selection: Shipped with one male voice (kab_male).

Files

FileSizeDescription
model.safetensors~327 MBExported inference weights (81,731,256 parameters)
config.json< 5 KBArchitecture configuration and auto_map
configuration_matoub.py, modeling_matoub.py, istftnet.py< 50 KBStyleTTS2 modeling and vocoder code
tokenization_matoub.py, tokenizer_config.json, vocab.json< 25 KBKabyle G2P rules and 178-token vocabulary

Reproduction

Trained in two stages on restored 24 kHz Common Voice Kabyle clips: Stage 1 across merged voices for 6 epochs, followed by Stage 2 adaptation on the kab_male voice for 4 epochs (13,944 steps) reaching validation loss 0.3475. All inference results reproduce deterministically with fixed random seeds.

The name

Lounès Matoub (1956-1998) was the most celebrated Kabyle singer of the 20th century and one of the fiercest advocates for the survival of Taqbaylit. He recorded 36 albums in Kabyle at a time when the Algerian state was suppressing Berber language and culture, making the language audible to an entire generation. He was assassinated on 25 June 1998, ten days before the Arabisation law he had spent years opposing took effect.

His voice is inseparable from the survival of Kabyle as a spoken language in collective memory. Naming a Kabyle TTS model after him is not metaphor; it is acknowledgment that what this model does -- make the language heard -- is what he spent his life doing.

The naming is homage; it implies no endorsement by anyone.

Citation

@software{agbalu_matoub_2026,
  title  = {Matoub-82M: Neural Speech Synthesis for Kabyle},
  author = {AƔBALU},
  year   = {2026},
  url    = {https://huggingface.co/agbalu/Matoub-82M},
  note   = {StyleTTS2 fine-tune of Kokoro-82M on 21,953 Common Voice Kabyle clips; 24 kHz}
}

Licence

  • Weights & Code: Apache-2.0.
  • Base Model: Kokoro-82M (Apache-2.0).
  • Training Audio: Common Voice Kabyle (CC-0).

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

Класс архитектуры
MatoubForTextToWaveform
Ревизия весов
53f82a4

0 моделей