iOS_Android_SDK
Collection
Bunch of models for deployment on iOS and macOS devices โข 40 items โข Updated
How to use TheStageAI/pocket-tts-100m-ja with Pocket-TTS:
from pocket_tts import TTSModel
import scipy.io.wavfile
tts_model = TTSModel.load_model("TheStageAI/pocket-tts-100m-ja")
voice_state = tts_model.get_state_for_audio_prompt(
"hf://kyutai/tts-voices/alba-mackenna/casual.wav"
)
audio = tts_model.generate_audio(voice_state, "Hello world, this is a test.")
# Audio is a 1D torch tensor containing PCM data.
scipy.io.wavfile.write("output.wav", tts_model.sample_rate, audio.numpy())Core ML / ANE engines of the Japanese 100M-parameter Pocket TTS fine-tune
takuma104/pocket-tts-ja-cc by takuma104 (CC-BY-4.0; fine-tuned from the English 24-layer model on CC-BY data only, depth-distilled to 6 layers),
built on kyutai/pocket-tts, for the TheStage Apple SDK
(model_type: pocket-tts, bundle language ja).