Text-to-Speech
Safetensors
MLX
English
mlx-audio
pocket_tts
speech
speech generation
voice cloning
tts
4-bit precision
Instructions to use PixelNavigation/pocket-tts-4bit-optimized with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use PixelNavigation/pocket-tts-4bit-optimized with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download PixelNavigation/pocket-tts-4bit-optimized --local-dir pocket-tts-4bit-optimized
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from PixelNavigation/pocket-tts-4bit-optimized: direct link, hf CLI and curl.
- Browser
- Download file 1.02 kB
-
https://huggingface.co/PixelNavigation/pocket-tts-4bit-optimized/resolve/main/README.md
- Command line
-
hf download hf://PixelNavigation/pocket-tts-4bit-optimized/README.md
-
curl -L -o README.md https://huggingface.co/PixelNavigation/pocket-tts-4bit-optimized/resolve/main/README.md
1.02 kB
| license: cc-by-4.0 | |
| language: | |
| - en | |
| base_model: | |
| - kyutai/pocket-tts | |
| tags: | |
| - mlx | |
| - text-to-speech | |
| - speech | |
| - speech generation | |
| - voice cloning | |
| - tts | |
| - mlx-audio | |
| library_name: mlx-audio | |
| # mlx-community/pocket-tts-4bit | |
| This model was converted to MLX format from [`mlx-community/pocket-tts`](https://huggingface.co/mlx-community/pocket-tts) using mlx-audio version **0.3.0rc1**. | |
| Refer to the [original model card](https://huggingface.co/mlx-community/pocket-tts) for more details on the model. | |
| ## Use with mlx-audio | |
| ```bash | |
| pip install -U mlx-audio | |
| ``` | |
| ### CLI Example: | |
| ```bash | |
| python -m mlx_audio.tts.generate --model mlx-community/pocket-tts-4bit --text "Hello, this is a test." | |
| ``` | |
| ### Python Example: | |
| ```python | |
| 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", | |
| ) | |
| ``` | |