/ Модель

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

Лицензия
Своя лицензия
Библиотека
pytorch
Опубликована
30 окт 2026

leokani-tts-7M

Синтез речиТекст → аудио3 профессии
642скачиваний за 30 дней14лайковвеса обновлены25 ноя 2026

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

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

Компактная англоязычная модель Milliwatt Labs для быстрого синтеза речи на CPU двумя американскими голосами.

Leokani-tts 7M — компактная модель синтеза речи от Milliwatt Labs. Она преобразует английский текст в монофоническое аудио с частотой 24 кГц и поддерживает два американских голоса: женский Dala и мужской Pono. Модель содержит 7 млн параметров и рассчитана на быстрый запуск на CPU без GPU; доступны веса PyTorch и ONNX, включая варианты fp16, int8 и int4.

Модель подходит для озвучивания текста в приложениях, браузерах и устройствах с ограниченными ресурсами, в том числе для голосовых интерфейсов и систем умного дома. Голоса обучены на синтетической речи, созданной с помощью Kokoro-82M. Произношение опирается на espeak-ng, а интонация нейтральная, в стиле голосового помощника. Лицензия указана как other, конкретные условия в предоставленных данных не раскрыты.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Leokani-tts 7M

Try it in your browser: Leokani-tts 7M on Hugging Face Spaces

Smaller: Leokani-tts 4.5M, for slower CPUs and microcontrollers, Leokani-tts 1M and Leokani-tts 500K, the smallest.

Leokani-tts is a fast English text-to-speech model: high-quality speech in a tiny model for any CPU, no GPU needed. It speaks in two American English voices, Dala (female) and Pono (male), both trained on synthetic speech generated with Kokoro-82M. The name is Hawaiian: leo (voice) and kani (sound).

Leokani-tts is from Milliwatt Labs: AI measured in milliwatts, not megawatts. We build small, efficient models that run on the devices you already own, with no data center and no GPU.

Everything else is on milliwattlabs.com, free, with docs:

  • Try it in your browser: the Hugging Face Space and the model page run Leokani locally in JavaScript; your text never leaves your device.
  • Mac app and a command-line tool with an MCP server for AI assistants.
  • Android app, which also works as the phone's system text-to-speech voice.
  • Linux and Raspberry Pi command-line tool (x86_64 and ARM64).
  • Home Assistant: add https://github.com/Milliwatt-Labs/home-assistant-addons in the app store and install Leokani (amd64 and arm64). Also a Wyoming server and an OpenAI-compatible speech API in Docker.
  • JavaScript library for browsers and Node.js, and Python with ONNX Runtime or PyTorch (the files in this repo).

What's new

Samples

TextAudio
Hello! I'm a small text-to-speech model, and I run on an ordinary computer.
That sounds like a great plan! Let me know how it goes, and good luck tomorrow.
Did you remember to water the tomatoes before the rain started?
Your flight leaves on March 14th at 7:45 AM, and the fare is 219 dollars.
The trail is 4.2 miles long, climbs about 1,200 feet, and takes around 3 hours.
Maria Gonzalez and Hiroshi Tanaka are meeting Dr. Okafor in Minneapolis on Friday.
The old lighthouse stood at the edge of the bay for more than a century, and every evening the keeper climbed one hundred and twelve steps to light the lamp.
Sure, no problem.

Voices

VoiceFilesUse
Dalafemale, American Englishthis folderpython leokani.py "Hello there."
Ponomale, American Englishpono/python leokani.py --model pono "Hello there."

Pono has the same size and speed as Dala, in fp32 and fp16 (safetensors and ONNX: python leokani_onnx.py --model pono).

TextPono
Hello! I'm a small text-to-speech model, and I run on an ordinary computer.
Did you remember to water the tomatoes before the rain started?
The old lighthouse stood at the edge of the bay for more than a century, and every evening the keeper climbed one hundred and twelve steps to light the lamp.

Usage

hf download milliwattlabs/leokani-tts-7M --local-dir leokani-tts
cd leokani-tts
pip install -r requirements.txt                      # torch, safetensors

python leokani.py "Hello there. How was your day?" -o hello.wav
python leokani.py "A little slower, please." --speed 0.85 -o slow.wav
python leokani.py --fp16 "Same voice, half-size weights." -o fp16.wav

To turn text into phonemes, Leokani-tts uses espeak-ng by default, or Leokani G2P with --g2p leokani. Leokani G2P is our own espeak-ng-compatible phonemizer, included in g2p/, so nothing else needs installing:

python leokani.py "Hello there. How was your day?" --g2p leokani -o hello.wav

espeak-ng is a separate dependency under GPL-3.0, and it is not included here. Install it with brew install espeak-ng (macOS) or sudo apt install espeak-ng (Debian/Ubuntu), or point to it with --espeak PATH. Or pass Kokoro-style phonemes with --phonemes "...". Leokani G2P on its own: milliwattlabs/leokani-g2p.

Usage (ONNX)

pip install onnxruntime
python leokani_onnx.py "Hello there. How was your day?" -o hello.wav
python leokani_onnx.py "No espeak-ng needed." --g2p leokani -o g2p.wav
python leokani_onnx.py --int8 "Same voice, a smaller file." -o int8.wav
python leokani_onnx.py --int4 "The smallest file, with a small quality cost." -o int4.wav

INT8: ~half the size of FP16; rated the same as full precision in blind listening tests.

Specs

7.0M parameters · 28 MB (fp32) or 14 MB (fp16) safetensors · leokani-tts.onnx (fp32), leokani-tts-fp16.onnx (fp16), leokani-tts-int8.onnx (int8, 7.8 MB) and leokani-tts-int4.onnx (int4, 4.9 MB, a smaller download with a small quality cost) · 24 kHz mono output. Pono: pono/ holds the same fp32 and fp16 files.

On every platform

Leokani-tts 7M on every platform

PlatformDeviceSpeedFirst speech
MacM3 Pro (native app)296×19 ms
iPhone17 Pro Max101×64 ms
BrowserChrome on Mac97×64 ms
Linux server1 vCPU VPS36×91 ms
Androidmoto g play 2024 ($50)20.6×234 ms
Raspberry PiCM4, 4 cores11.5×440 ms
ESP32-P4ESP32-P4, 360 MHz1.1×353 ms
GPUDGX Spark (GB10), many lines at once4,043×9 ms

Speed = seconds of speech per second of compute. First speech = time to the first audio of a line, with the voice already loaded. Apps and downloads: milliwattlabs.com.

On a GPU

No GPU is needed, but on one Leokani is very efficient. Same GPU (NVIDIA GB10, DGX Spark), same test, every model:

Same GPU, every model

ModelParams× real time, per line× real time, many lines at onceGPU J per minute of speech
Leokani-tts 7M7M488×4,043×0.36
Piper (en_US lessac medium)15.7M72×—3.52
KittenTTS nano 0.814M75×—6.15
KittenTTS mini 0.873M29×—9.29
Kokoro-82M82M86×—14.6
Kyutai Pocket TTS110M14.1×—32.1
Chatterbox798M2.1×—430

4,043× real time is about an hour of speech every second. J per minute = GPU energy above idle; the GB10 has no CPU power sensor, so models that do part of their work on the CPU look slightly better than they are. — = no batch mode.

Performance on One Thread

ModelParamsSizeSpeed, MacSpeed, 1 Arm coreFirst speech, MacFirst speech, 1 Arm coreWERUTMOS
Leokani-tts ¹7.0M28 MB90×25×50 ms190 ms0.07 %3.61
Leokani-tts, Pono7.0M28 MB—27×—179 ms0.48 %3.19
KittenTTS nano 0.814.0M60 MB26×3.6×240 ms1.7 s0.41 %2.18
Piper (en_US lessac medium)15.7M63 MB49×5.6×86 ms710 ms0.90 %3.77
KittenTTS mini 0.873M82 MB16×3.4×330 ms1.6 s0.21 %2.04
Kokoro-82M82M328 MB7.6×0.48×670 ms11 s0.35 %3.76
Kyutai Pocket TTS110M226 MB9.7×1.2×34 ms280 ms0.35 %3.25
Chatterbox798M3.2 GB0.28×0.028×15 s150 s0.55 %3.36

¹ PyTorch on one thread, like every row here; the apps run faster (see On every platform). The ONNX version gives the same output, within 1 % of this speed on the Arm core and 4 % on the Mac.

On an iPhone 17 Pro Max (Core ML, Neural Engine), Leokani-tts renders the 8 sample lines at 101× real time, 64 ms per line (median, the whole line). Kokoro-82M on the same phone takes 308 ms to its first audio chunk (median).

Speed = seconds of speech per second of compute; first speech = median time to first audio over 20 sentences. Mac: M3 Pro CPU; Arm: one 2.8 GHz Cortex-A725 core (Raspberry Pi-class). WER (Whisper large-v3), UTMOSv2: 120 sentences. — = not measured yet.

Limitations

  • Two voices, English only.
  • Pronunciation follows espeak-ng, so unusual names may be misread. Some symbols are read literally ("$219" becomes "dollar two hundred nineteen"), so write amounts out ("219 dollars").
  • Delivery is neutral, intended for a home-assistant style of inflection.

Acceptable use

Don't use Leokani-tts, or speech made with it, to:

  • impersonate a real person, or make it sound like someone said something they didn't, without their consent;
  • deceive or defraud people, including scams, phishing calls and fake emergency or official messages;
  • harass, threaten or bully anyone, or produce hateful or sexual content involving minors;
  • spread disinformation, including fake news audio or election-related deception;
  • break any law, including privacy, consumer-protection and robocall rules.

Tell people when speech is synthetic wherever the law requires it or they could reasonably be misled. You are responsible for what you make with the model. These terms come in addition to the license.

Speech made with Leokani-tts carries an inaudible watermark, built into the model, that lets Milliwatt Labs recognize audio it generated. The mark is the same in all audio and contains no information about you or your text.

License

From November 8, 2026, Leokani-tts (both voices, Dala and Pono) is under the Milliwatt Labs Model License 1.0 (see LICENSE-MILLIWATT-LABS.md): free for organizations with up to US$1M in annual revenue. Commercial use needs a free, one-time registration and a yearly one-tap self-report. Above US$1M, one flat, predictable yearly fee and no royalties: email hello@milliwattlabs.com. Copies downloaded before November 8, 2026 were licensed under CC BY-NC 4.0 (see LICENSE), non-commercial use only. You may keep using them under it, or move them to the new license. For a custom voice, email hello@milliwattlabs.com. Training audio data generated from Kokoro-82M by hexgrad, which is licensed under Apache-2.0 (licenses/Kokoro-82M-Apache-2.0.txt). The Leokani G2P files in g2p/ have their own licence: its code is MIT and its weights and lexicon are CC BY 4.0, free with attribution (g2p/LICENSE, g2p/NOTICE).

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

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

GPU в ailist

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

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

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
2a4b50f

0 моделей