Instructions to use aoiandroid/supertonic-2-coreml with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Supertonic
How to use aoiandroid/supertonic-2-coreml 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
Upstream Provenance (HF)
This CoreML package is derived from the original Supertonic 2 release.
Sources
- Hugging Face:
Supertone/supertonic-2 - GitHub:
supertone-inc/supertonic
License summary
- Model weights: OpenRAIL-M (see
LICENSE) - Sample code: MIT (see upstream repo)
Modifications
- CoreML ML Program conversion and packaging
=8-bit quantization variants
- iOS/macOS demo app (hosted in GitHub repo)
Provenance notes
- Upstream revision: unknown (local snapshot without VCS metadata).
- Quantization recipe:
scripts/compress_coreml.pyin the GitHub repo.