sahilmahendrakar's Paradee 1.3: Kokoro-82M distilled into a 7.88M-parameter TTS with eight of its voices in English, Hindi, French and Spanish, and a frame-rate source-filter head in place of Kokoro's vocoder, at 24 kHz, exported for loom.cpp.
This is a loom.cpp export: a single self-describing GGUF that carries its own graph topologies, tokenizer (if any) and driver script, produced by loom-exporter.
Exported from sahilmahendrakar/Paradee-8M-v1.3. The F32 file carries the same parameters unmodified, in loom.cpp's GGUF format;
the others are quantized from them (see Files).
apache-2.0, inherited from the base model above.
en, hi, fr, es
Run it with loom-py -- loom-py-rt on PyPI:
pip install -U "loom-py-rt[hub,phonemes]>=1.0.0"
import loom
# The model's own front ends, as upstream runs it: misaki for English (pip install "misaki[en]") and
# Paradee's G2P for Hindi, French and Spanish (pip install git+https://github.com/sahilmahendrakar/paradee).
# Without them the door falls back to orthography2ipa, which reads worse.
model = loom.Model.from_pretrained("loom-ai-org/paradee-8m-loom", "paradee-8m-f32.gguf")
print(model.voices) # af_heart (the default), bf_isabella, am_puck, bm_fable, hf_alpha, hm_omega, ff_siwis, em_alex
audio = model.text2speech.infer("hello world")
audio.save("hello.wav")
# The voice picks the language, as upstream's does:
model.text2speech.infer("Il fait très beau aujourd'hui.", voice="ff_siwis").save("bonjour.wav")
model.text2speech.infer("La biblioteca abre a las nueve.", voice="em_alex", speed=1.1).save("hola.wav")
# Live: the audio a piece at a time, cut by the model's own driver -- joined, the pieces are `infer`'s
# waveform (`stream.exact`). Play each piece as it comes.
stream = model.text2speech.stream("Hello there. How are you today?")
sizes = [len(piece) for piece in stream]
print(stream.exact, len(sizes), "pieces,", round(stream.seconds, 2), "s")
The call above is the high-level door: one per task, named for the modality pair it maps between, with
the windowing, sampling and assembly this model needs already applied. Under it, model.infer(...)
passes your arguments straight to the driver this GGUF embeds -- which is where you go for a knob the
door does not name.
model.driver_source prints that driver, including a header comment documenting every argument it
accepts for this model, and is the authority on it. See loom-py for the API and
loom.cpp for what the engine does between the two.
The text door wants the model's own front ends. Upstream phonemizes English with misaki and Hindi, French and Spanish with Paradee's own G2P; with them installed the door is them. Without them, orthography2ipa's IPA is folded to the same conventions, punctuation kept, and English needs the misaki lexicon this repo ships (lexicons/, set with loom.phonemizers.set_lexicon). Whisper small's word error rate:
| voice | own front end | fold + lexicon | fold alone |
|---|---|---|---|
| af_heart (en-US) | 3.7% | 8.9% | 28.2% |
| bf_isabella (en-GB) | 4.5% | 17.1% | 37.2% |
| ff_siwis (fr) | 2.8% | -- | 6.4% |
| em_alex (es) | 1.1% | -- | 1.1% |
| hf_alpha (hi) | 13.0% | -- | 20.6% |
(20 held-out English sentences, 15 per other language; F32. Q8_0_PC reads the same, Hindi 15.3%.)
The voice picks the language (voice="ff_siwis" reads French) unless language= names another.
A sentence at a time. Like upstream, a text is spoken one sentence per pass (at most 510 phonemes each), and the stream yields one piece per sentence.
Precision. The engine's waveform is 56-67 dB from upstream's (f32): its STFTs are convolutions summed in float32 where upstream runs FFTs. Upstream draws its noise unseeded; seed= makes a synthesis repeatable.
One model in several precisions; every file carries the same graph and driver. The quantized ones pack the convolution and projection weights (loom-export --quantize <type>), so their numbers differ from the original model's by the amount noted.
paradee-8m-f32.gguf -- full precision, 34.6 MB; every duration upstream's, the waveform 56-67 dB from it.paradee-8m-q8_0_pc.gguf -- 19.5 MB: the projections and convolutions after ALBERT (60% of the weight bytes) in per-channel int8; ALBERT stays F32, without which English reads at 35% word error rate. Whisper small hears it as it hears F32 (the table under Limitations).lexicons/en_US-misaki.tsv, lexicons/en_GB-misaki.tsv -- hexgrad/misaki's US and British pronunciation dictionaries (<region>_gold.json over <region>_silver.json, each word's default reading; loom-exporter tools/misaki_lexicon.py), Apache-2.0 (lexicons/LICENSE.misaki), as word<TAB>ipa: what the door's English falls back on when misaki is not installed.