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

reiscook
/
pocket-tts-mlx

Text-to-Speech
MLX
Safetensors
Pocket-TTS
English
t5
tts
apple-silicon
swift
Model card Files Files and versions
xet
Community

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

  • Libraries
  • MLX

    How to use reiscook/pocket-tts-mlx with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir pocket-tts-mlx reiscook/pocket-tts-mlx
  • Pocket-TTS

    How to use reiscook/pocket-tts-mlx with Pocket-TTS:

    from pocket_tts import TTSModel
    import scipy.io.wavfile
    
    tts_model = TTSModel.load_model("reiscook/pocket-tts-mlx")
    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
  • Local Apps
  • LM Studio
pocket-tts-mlx
507 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 31 commits
reiscook's picture
reiscook
Update README.md
f3ff377 verified 3 months ago
  • bf16
    Upload bf16/tokenizer_config.json with huggingface_hub 3 months ago
  • int4
    Upload int4/tokenizer_config.json with huggingface_hub 3 months ago
  • int8
    Upload int8/tokenizer_config.json with huggingface_hub 3 months ago
  • voice
    Upload voice/marius.safetensors with huggingface_hub 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    1.35 kB
    Update README.md 3 months ago
  • config.json
    59 Bytes
    Upload config.json with huggingface_hub 3 months ago
  • tokenizer.json
    244 kB
    Upload tokenizer.json with huggingface_hub 3 months ago
  • tokenizer.model
    59.3 kB
    xet
    Upload tokenizer.model with huggingface_hub 3 months ago
  • tokenizer_config.json
    66 Bytes
    Upload tokenizer_config.json with huggingface_hub 3 months ago