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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

idle-intelligence
/
pocket-tts-int8

Text-to-Speech
Safetensors
Pocket-TTS
English
candle
tts
int8
quantized
wasm
8-bit precision
channel_wise_int8
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Pocket-TTS

    How to use idle-intelligence/pocket-tts-int8 with Pocket-TTS:

    from pocket_tts import TTSModel
    import scipy.io.wavfile
    
    tts_model = TTSModel.load_model("idle-intelligence/pocket-tts-int8")
    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-int8
139 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
ilnmtlbnm's picture
ilnmtlbnm
Upload config.json with huggingface_hub
c35d945 verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    2.7 kB
    Update README with demo link and attribution 3 months ago
  • config.json
    215 Bytes
    Upload config.json with huggingface_hub 2 months ago
  • model.safetensors
    139 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • quantize_config.json
    324 Bytes
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.model
    59.3 kB
    xet
    Upload folder using huggingface_hub 3 months ago