/ Модель

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

Параметры
3,5 млн
Лицензия
CC BY-NC 4.0
Архитектура
vits · dense
Базовая модель
mms-tts-aka
Библиотека
transformers
Опубликована
5 сен 2026

mms-tts-asante-twi-bibletts

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

Компактная модель VITS озвучивает подготовленный текст на Asante Twi голосом рассказчика, читающего Писание.

32скачиваний за 30 дней0лайковвеса обновлены6 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Экспериментальная модель синтеза речи на Asante Twi, разработанная danieldzikunuofmarvel в рамках бесплатного набора речевых инструментов LIBOG для языков Ганы. Это дообученная модель VITS на 3,5 млн параметров, основанная на facebook/mms-tts-aka и обученная на исправленной версии датасета BibleTTS: 18 221 аудиозапись одного студийного рассказчика. Модель принимает текст и генерирует монофоническую речь с частотой 16 кГц.

Модель предназначена для озвучивания текстов на Asante Twi в некоммерческих демонстрациях, инструментах доступности, изучении языка и исследованиях малоресурсной речи. Голос и речевой регистр отражают чтение Писания одним диктором; это не универсальный разговорный голос и не модель для других разновидностей акан.

Перед синтезом текст нужно нормализовать: привести Unicode к NFC, заменить типографскую пунктуацию ASCII-аналогами, перевести текст в нижний регистр, заменить символы вне словаря пробелами и свернуть повторные пробелы. Цифры обрабатываются некорректно: символы 2 и 3 могут сохраниться как тоновые маркеры, а другие цифры удаляются, поэтому числа следует записывать словами. Качество произношения имён, заимствований и смешанного текста с английским не оценивалось. Прослушивание отложенных фраз одним носителем языка показало улучшение относительно базовой модели, но это не формальная оценка; влияние пунктуации на фразировку измерениями не подтверждено. Лицензия CC BY-NC 4.0 разрешает некоммерческое использование.

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

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

Ограничения

Модель рассчитана только на Asante Twi и голос одного рассказчика в библейском регистре; разговорная речь может звучать хуже. Числа нужно предварительно записывать словами; произношение имён и заимствований не оценивалось, а эффект пунктуации на фразировку не подтверждён измерениями.

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

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

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

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

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

Открыть на Hugging Face

mms-tts-asante-twi-bibletts

Prototype. Non-commercial. Do not build production work on this.

A VITS text-to-speech model for Asante Twi, fine-tuned from facebook/mms-tts-aka on a single studio narrator, with the tokenizer vocabulary extended so the model can learn phrase breaks from punctuation.

Part of LIBOG, a free speech toolkit for Ghanaian languages.

Read this before you use it

The tokenizer is loaded with normalize=False, and the model was trained on text cleaned a specific way. Feeding it raw text will not match what it learned and the output will degrade silently — nothing raises. The cleaning is: Unicode NFC, map smart punctuation to ASCII, lowercase, replace every character outside the vocabulary with a space, then collapse whitespace. Punctuation the vocabulary does contain is kept deliberately, because that is what carries the phrasing.

This snippet is complete and runnable as written:

import unicodedata
import torch
from transformers import VitsModel, VitsTokenizer

repo = "danieldzikunuofmarvel/mms-tts-asante-twi-bibletts"
model = VitsModel.from_pretrained(repo)
tok = VitsTokenizer.from_pretrained(repo, normalize=False)

# Read the vocabulary off the encoder, NOT get_vocab(): get_vocab enumerates
# range(len(encoder)), which stops one short here and omits ";".
VOCAB = set(tok.encoder)

REPLACE = {"‘": "'", "’": "'", "“": "", "”": "",
           "–": "-", "—": "-", " ": " ", "…": "."}


def clean_for_tts(text):
    text = unicodedata.normalize("NFC", text)
    for a, b in REPLACE.items():
        text = text.replace(a, b)
    text = text.lower()
    kept = [ch if ch in VOCAB else " " for ch in text]
    return " ".join("".join(kept).split())


text = clean_for_tts("Awurade ne me hwɛfoɔ, biribiara renhia me.")
inputs = tok(text, return_tensors="pt")
with torch.no_grad():
    audio = model(**inputs).waveform  # 16 kHz

Output is 16 kHz mono, matching the MMS base.

Intended use

Free, non-commercial use: language learning, accessibility tooling, research on low-resource Ghanaian speech, and demos.

Out of scope: anything commercial (see Licence), and any setting where a mispronunciation carries real cost. It is trained on scripture read by one narrator, so it speaks in that register and that voice. It is not a general-purpose Twi voice and it does not represent Akuapem Twi, Fante, or any other Akan variety.

Training

Basefacebook/mms-tts-aka (VITS, 36.3M params)
Databibletts-asante-twi-repaired, 18,221 training clips
Sample rate16 kHz mono
Epochs / steps4 epochs, 4,556 steps
Batch16, no gradient accumulation, bf16
Learning rate2e-5, linear decay, Adam betas 0.8 / 0.99
Recipeylacombe/finetune-hf-vits

The vocabulary was extended from 30 to 37 tokens to add punctuation, and the new embedding rows were hand-seeded to match the trained embeddings' standard deviation rather than left at the much narrower default initialisation.

The dataset is a repair, not the original

BibleTTS Asante Twi as published had the characters ɛ and ɔ zeroed out across the corpus. The training data here is a repaired version — 118,154 ɛ and 103,272 ɔ restored — published separately and reported upstream.

Evaluation

There is no automatic metric here, by design. Success was defined as a Twi speaker listening to held-out sentences and judging them correct.

That test was run and passed: the voice was judged clearly better than the unmodified facebook/mms-tts-aka base, though not flawless. This is an informal judgement by a single listener, not a measured MOS study, and should be read as such.

One caveat worth stating plainly: the duration loss — the component that tracks phrasing — stayed flat throughout training. With a stochastic duration predictor that is closer to normal than to broken, but it means the training log does not demonstrate that the added punctuation tokens learned anything. Whether punctuation genuinely improves phrase breaks in this model is not yet established by measurement.

Limitations

  • Single narrator, single register (scripture). Expect degradation on conversational text.
  • Asante Twi only.
  • Punctuation phrasing is unverified by measurement (above).
  • Numerals are not handled. The MMS Akan vocabulary contains 2 and 3 as tone markers, so those two survive text cleaning while other digits are dropped: 12345 becomes 23. Expand numbers to Twi words before synthesising.
  • Not evaluated for pronunciation of names, loanwords, or code-switched English.

Licence

CC BY-NC 4.0, inherited from facebook/mms-tts-aka. Non-commercial use only. Meta released MMS under plain CC BY-NC with no commercial licensing path, so commercial use would mean retraining on a permissive base, not buying a licence.

An unresolved question, flagged rather than answered: BibleTTS is CC BY-SA 4.0, which requires derivatives be shared alike, and CC BY-SA and CC BY-NC are not compatible. Whether trained model weights constitute a derivative work of their training data is genuinely unsettled law. This model is released non-commercially on the conservative reading. If that matters for your use, get advice from someone qualified to give it.

Credits

  • facebook/mms-tts-aka — Meta AI, Massively Multilingual Speech
  • BibleTTS — Masakhane / Biblica, CC BY-SA 4.0
  • Fine-tuning recipe — ylacombe/finetune-hf-vits

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей