Download recipe/README.md from KaleComputer/kale-tts-1-tiny: direct link, hf CLI and curl.
- Browser
- Download file 2.6 kB
-
https://huggingface.co/KaleComputer/kale-tts-1-tiny/resolve/main/recipe/README.md
- Command line
-
hf download hf://KaleComputer/kale-tts-1-tiny/recipe/README.md
-
curl -L -o README.md https://huggingface.co/KaleComputer/kale-tts-1-tiny/resolve/main/recipe/README.md
recipe: how kale-tts-1-tiny and kale-tts-1-nano were built
The scripts that built the two released models (10 designed voices: s057b, f06, d03, w165, w602, m3, t071, d13, x328, h013f), copied
from our research code and trimmed to the public path. Each step has its own README (inputs, outputs, commands, config, what was
trimmed, known gaps). Steps run on Modal; app and volume names come from config/modal.json (change them to yours). Every training
clip is original Maya-1 audio rendered from a text description.
Steps, in order:
render/: render each designed voice's takes with Maya-1 on vLLM (text pool, job files, token ids via the release front end).filter/: keep only clean takes (read-back, edges, pace, pitch, same voice, rough-ending check on every sentence end); also the recommended streaming render + check pattern (stream_filter.py).teacher/: fine-tune Kokoro-82M with kikiri-tts / StyleTTS2 (own aligner, stage 1, one epoch of stage 2), export it, and make one voice pack per voice from its style encoder.train/: features and durations per voice, the teacher's pitch / loudness heads with per-voice offsets, the duration head on each voice's natural-pace takes, and tiny's 3.65 M decoder.distil/: nano's 3.06 M student text side (copies the teacher per voice) and 4.1 M sound side.textside/: tiny's Ettin text side: a 3.0 M phoneme encoder + frozen Ettin-encoder-17m word features in place of ALBERT, distilled from the teacher on text (20k steps), exported as one graph, release precision (ettin-q).export/: training exports -> the release one-file ONNX graphs (exact rewrites, end clamp, fp32 web graph, export check).bench/: 192 lines, 3 seeds, each voice against its own Maya takes: unclear words, weakest tenth, pitch step, creak, pace, melody gap.
Third-party code: paradee (Apache-2.0, github.com/sahilmahendrakar/paradee @ 2de547e45da92840a636c499eb0782e988be1e47): vhead.py, student_decoder.py, discriminators.py vendored unchanged in train/third_party/paradee/ with its LICENSE and NOTICE; kikiri-tts and Kokoro-82M (Apache-2.0), StyleTTS2 (MIT), cloned or credited in the steps; Ettin-encoder-17m and its tokenizer (MIT, jhu-clsp), downloaded in textside/.
Known gaps across steps (details in each README): the Project Gutenberg texts are not shipped; the measuring models are evaluation-only and all commercially licensed (Whisper MIT, wav2vec2 960h aligner + phoneme recogniser Apache-2.0, UTMOS22 MIT, ECAPA-TDNN Apache-2.0).