A voice that speaks back

Reads text aloud in a natural voice on the device, so an assistant can answer out loud.

Simulated. The speaking half of a voice assistant: four short replies, written by us, read aloud by Kokoro-82M, compiled to 8 bits and simulated in NexFlow. The chip runs the network in three passes. The first reads the phonemes and decides how long each sound lasts, and the host lines the sounds up. The second predicts pitch and loudness, and the host turns the pitch into the model's sine source. The third, the voice decoder, sends out an 11-band spectrum, and the host's inverse STFT turns it into the waveform you hear. Matrix work runs on the arrays; the recurrent cells, transposed convolutions, two small projection layers, normalisation, attention softmax and the final exp and sin run on the chip's controller. Every output value, about 1.6 million across the four sentences, matches the 8-bit reference. At the end, one sentence plays from the full-precision model and then from the chip: the 8-bit model sounds different from full precision, smoother in the highest frequencies, and both are played so you can hear it. Turn the sound on. Model: Kokoro-82M (hexgrad), Apache-2.0; voices Heart and Emma from the same release; the model card credits Koniwa tnc (CC BY 3.0) and SIWIS (CC BY 4.0) among its training data. Phonemes: misaki, Apache-2.0. Sentences written by us.

The model

Kokoro-82M

Task
Speech and audio
Size
82M
Licence
Apache-2.0
Benchmark, as published
Artificial Analysis TTS open Elo 1060 source

The benchmark above is the published figure for this model, not ours. Our own INT8 result on the same test appears here when the run is complete.

Where it runs

Fits on two commercial-family dies.

NexFlow's compiler maps the whole model at INT8. It is too large for the NexCore die, the part we are building first, and fits on two commercial-family dies, the larger part on our roadmap. That says which part the model fits, not how fast it runs there.