Run this model with HF Jobs
Run soniqo/Supertonic-3-LiteRT 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/soniqo/Supertonic-3-LiteRT. 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/soniqo/Supertonic-3-LiteRT 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 soniqo/Supertonic-3-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use soniqo/Supertonic-3-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Supertonic
How to use soniqo/Supertonic-3-LiteRT with Supertonic:
from supertonic import TTS tts = TTS(auto_download=True) style = tts.get_voice_style(voice_name="M1") text = "The train delay was announced at 4:45 PM on Wed, Apr 3, 2024 due to track maintenance." wav, duration = tts.synthesize(text, voice_style=style) tts.save_audio(wav, "output.wav")
- Notebooks
- Google Colab
- Kaggle
Add L=128 latent bucket (vector_estimator_L128 + vocoder_L128)
Browse filesSame two L-dependent graphs exported at L=128 (~9 s) next to the L=64 base pair, from Supertone/supertonic-3@3cadd1ee via speech-models stmodels/export_litert.py --latent-frames 64 128. Parity vs ONNX Runtime: vector_estimator_L128 max|Δ| 1.7e-2 (relative 2.7e-3), vocoder_L128 2.7e-4. speech-core's LiteRTSupertonicTts picks the smallest bucket whose window holds a piece's predicted duration, so long sentences synthesize in one pass. README: bucket rows, usage note, inputs are bound by tensor name.
Files changed (3)
- README.md+14-3
- vector_estimator_L128.tfliteAdded+3
- vocoder_L128.tfliteAdded+3
31 unmodified lines3233343536373839404131 unmodified lines| `vector_estimator.tflite` (ODE denoiser) | 244 MB | 5.6e-03 ✓ || `vocoder.tflite` | 97 MB | 2.6e-04 ✓ || `text_encoder.tflite` | 34 MB | 1.1e-01 (localized; mean ~2.5e-4) ⚠️ |Fixed shapes (**T=128**, **L=64**) in this revision — pad/segment text to 128 and bucket latent length;dynamic axes are a follow-up. The host runs the flow-matching ODE loop (`vector_estimator` ×`total_steps`).Assets to drive them: `tts.json`, `unicode_indexer.json` (G2P-free tokenizer), `voice_styles/*.json`.## Running on Android / Qualcomm NPU- **CPU/GPU:** LiteRT (`ai_edge_litert` / TFLite) interpreter with XNNPACK/GPU delegate.31 unmodified lines32333435363738394041424344454647484950515231 unmodified lines| `vector_estimator.tflite` (ODE denoiser) | 244 MB | 5.6e-03 ✓ || `vocoder.tflite` | 97 MB | 2.6e-04 ✓ || `text_encoder.tflite` | 34 MB | 1.1e-01 (localized; mean ~2.5e-4) ⚠️ || `vector_estimator_L128.tflite` (L=128 bucket) | 244 MB | 1.7e-02 (relative 2.7e-3) ✓ || `vocoder_L128.tflite` (L=128 bucket) | 97 MB | 2.7e-04 ✓ |Shapes are fixed (**T=128** text tokens; latent length **L** per graph) — `litert_torch` cannot lowerthe relpos attention + ConvNeXt stack with a symbolic L, so the latent axis ships in **buckets**:the base pair is L=64 (≈4.5 s of audio), and `*_L128.tflite` is the same two L-dependent graphsexported at L=128 (≈9 s). Pick the smallest bucket whose window holds a piece's predictedduration — short sentences run on the cheap L=64 pair, a long sentence is generated in one passon L=128 instead of being split (speech-core's `LiteRTSupertonicTts` does this automatically andloads the L=128 pair on first use). The host runs the flow-matching ODE loop(`vector_estimator` ×`total_steps`). Assets to drive them: `tts.json`, `unicode_indexer.json`(G2P-free tokenizer), `voice_styles/*.json`.Graph inputs are bound by tensor name (`serving_default_args_N`, N = signature position): theconverter permutes input slots differently per toolchain version, so do not rely on slot order.## Running on Android / Qualcomm NPU- **CPU/GPU:** LiteRT (`ai_edge_litert` / TFLite) interpreter with XNNPACK/GPU delegate.
123version https://git-lfs.github.com/spec/v1oid sha256:bdfc4dcd604bf26b306949e80a32612ed60dd83e5ee784fd190f4f4fceb11fd1size 255848272123version https://git-lfs.github.com/spec/v1oid sha256:a942d6bddda4ae8ad2415ffb04911d0bcee9788af4a5b3d1bd65c2ffe561f3c5size 101469692