Text-to-Speech
Safetensors
MLX
English
mlx-audio
pocket_tts
speech
speech generation
voice cloning
tts
4-bit precision
Instructions to use mlx-community/pocket-tts-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/pocket-tts-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir pocket-tts-4bit mlx-community/pocket-tts-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
mlx-community/pocket-tts-4bit
This model was converted to MLX format from mlx-community/pocket-tts using mlx-audio version 0.3.0rc1.
Refer to the original model card for more details on the model.
Use with mlx-audio
pip install -U mlx-audio
CLI Example:
python -m mlx_audio.tts.generate --model mlx-community/pocket-tts-4bit --text "Hello, this is a test."
Python Example:
from mlx_audio.tts.utils import load_model
from mlx_audio.tts.generate import generate_audio
model = load_model("mlx-community/pocket-tts-4bit")
generate_audio(
model=model,
text="Hello, this is a test.",
ref_audio="path_to_audio.wav",
file_prefix="test_audio",
)
- Downloads last month
- 82
Model size
31.9M params
Tensor type
BF16
·
U32 ·
Hardware compatibility
Log In to add your hardware
4-bit
Model tree for mlx-community/pocket-tts-4bit
Base model
kyutai/pocket-tts