Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

developerabu
/
pocket-tts-mnn

Text-to-Speech
ONNX
Pocket-TTS
English
mnn
tts
voice-cloning
int8
Model card Files Files and versions
xet
Community

Instructions to use developerabu/pocket-tts-mnn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Pocket-TTS

    How to use developerabu/pocket-tts-mnn with Pocket-TTS:

    from pocket_tts import TTSModel
    import scipy.io.wavfile
    
    tts_model = TTSModel.load_model("developerabu/pocket-tts-mnn")
    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())
  • Notebooks
  • Google Colab
  • Kaggle
pocket-tts-mnn / mnn
140 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
developerabu's picture
developerabu
Add Pocket TTS MNN INT8 conversion and hybrid runtime
4e75a38 verified 27 days ago
  • flow_lm_flow_w8.mnn
    10 MB
    xet
    Add Pocket TTS MNN INT8 conversion and hybrid runtime 27 days ago
  • flow_lm_main_w8.mnn
    76.5 MB
    xet
    Add Pocket TTS MNN INT8 conversion and hybrid runtime 27 days ago
  • mimi_decoder_w8.mnn
    10.6 MB
    xet
    Add Pocket TTS MNN INT8 conversion and hybrid runtime 27 days ago
  • mimi_encoder_w8.mnn
    10 MB
    xet
    Add Pocket TTS MNN INT8 conversion and hybrid runtime 27 days ago
  • text_conditioner_fp32.mnn
    16.4 MB
    xet
    Add Pocket TTS MNN INT8 conversion and hybrid runtime 27 days ago
  • text_conditioner_w8.mnn
    16.4 MB
    xet
    Add Pocket TTS MNN INT8 conversion and hybrid runtime 27 days ago