Indic-Mio
यह Soniqo पेज स्थानीय speech-swift / speech-core implementation में Indic-Mio को दस्तावेज़ करता है। Hugging Face bundle links integration notes के बाद दिए गए हैं।
पहले आंतरिक पेज
Landing cards और docs menus पहले इसी पेज पर आते हैं; source model और bundle links यहीं उपलब्ध रहते हैं।
सारांश
| मॉडल | Indic-Mio |
|---|---|
| भूमिका | Hindi / Indic emotion TTS with optional reference voice conditioning |
| Backend | MLX fp16 |
| Output | 24 kHz mono waveform |
| भाषाएँ | Hindi / Indic text focus |
| लाइसेंस | Bundle-specific; verify upstream terms before commercial use |
| स्थिति | Programmatic SpeechGenerationModel runtime |
| Source | Indic-Mio bundle |
| Swift product | IndicMioTTS |
| CLI / runtime | Programmatic runtime; server-side loader support is present |
उपयोग
नीचे का snippet मौजूदा speech-swift API या command से मेल खाता है।
import IndicMioTTS
let model = try await IndicMioTTSModel.fromPretrained()
let pcm = try await model.generate(
text: "नमस्ते <happy>",
language: "hi"
)
मॉडल लिंक
implementation notes
- Download requests the primary model, tokenizer/chat files, and miocodec component explicitly; the optional WavLM reference encoder is fetched separately when cloning is used.
- Supported emotion markers are <happy>, <sad>, <angry>, <disgust>, <fear>, and <surprise>.
- MioCodec uses 25 Hz content tokens and decodes to 24 kHz audio.
- Reference cloning extracts a 128-float global embedding through the WavLM reference encoder path.