Run this model with HF Jobs
Run AlexeyNe/kitten-tts-2-mini-coreml on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/AlexeyNe/kitten-tts-2-mini-coreml. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/AlexeyNe/kitten-tts-2-mini-coreml on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use AlexeyNe/kitten-tts-2-mini-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- KittenTTS
How to use AlexeyNe/kitten-tts-2-mini-coreml with KittenTTS:
from kittentts import KittenTTS m = KittenTTS("AlexeyNe/kitten-tts-2-mini-coreml") audio = m.generate("This high quality TTS model works without a GPU") # Save the audio import soundfile as sf sf.write('output.wav', audio, 24000) - Notebooks
- Google Colab
- Kaggle
Kitten TTS 2 Mini β Core ML
Kitten TTS 2 Mini (KittenML, Apache 2.0) converted to Core ML for iOS 18+. Kitten 2 Mini has the Kokoro-82M architecture; the graphs run on the CPU compute unit, so speech keeps going in the background.
kitten_duration.mlmodelcβ PL-BERT, text encoder and duration predictor (flexible length, up to 256 tokens).kitten_prosody.mlmodelcβ F0/N predictor and decoder front-end (flexible length).kitten_generator_buckets.mlmodelcβ iSTFTNet generator as one multifunction model, functionsb240 β¦ b2400(F0 frames, 80 per second). The phrase sits at the start of the bucket and inputvalid(int32) is its length: instance norm and every convolution see only the real frames, so the output equals the generator run at the exact length. A flexible-length generator on the iOS CPU re-plans and re-allocates for every new length (slow, memory grows).hnsf_weights.jsonβ the harmonic-source linear layer (the hn-NSF excitation is computed on the host).tokenizer.jsonβ the model's phoneme vocabulary;voices/<lang>_<name>.binβ style tables, 510 Γ 256 float32.espeak-ng-data/β eSpeak NG 1.52 data for the model's languages (except Japanese). This folder is GPL-3.0-or-later (eSpeak NG), not Apache 2.0.scripts/β the export (network.py,kitten_graphs.py,masked_generator.py,generator_buckets.py,kitten_pack.py).
Checked against KittenML's PyTorch: durations identical, generator correlation β₯ 0.995 (fp16). Unofficial conversion, not made or endorsed by KittenML.
Model tree for AlexeyNe/kitten-tts-2-mini-coreml
Base model
KittenML/kitten-tts-2-mini