Instructions to use Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit") model = AutoModelForTextToWaveform.from_pretrained("Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit", device_map="auto") - MLX
How to use Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir marvis-tts-250m-v0.2-MLX-8bit Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
|
Download README.md from Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit: direct link, hf CLI and curl.
- Browser
- Download file 671 Bytes
-
https://huggingface.co/Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit/resolve/main/README.md
- Command line
-
hf download hf://Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit/README.md
-
curl -L -o README.md https://huggingface.co/Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit/resolve/main/README.md
671 Bytes
| license: apache-2.0 | |
| datasets: | |
| - amphion/Emilia-Dataset | |
| language: | |
| - en | |
| - fr | |
| - de | |
| library_name: transformers | |
| tags: | |
| - mlx | |
| - mlx-audio | |
| - transformers | |
| - mlx | |
| # Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit | |
| This model was converted to MLX format from [`Marvis-AI/marvis-tts-250m-v0.2`](https://huggingface.co/Marvis-AI/marvis-tts-250m-v0.2) using mlx-audio version **0.2.6**. | |
| Refer to the [original model card](https://huggingface.co/Marvis-AI/marvis-tts-250m-v0.2) for more details on the model. | |
| ## Use with mlx | |
| ```bash | |
| pip install -U mlx-audio | |
| ``` | |
| ```bash | |
| python -m mlx_audio.tts.generate --model Marvis-AI/marvis-tts-250m-v0.2-MLX-8bit --text "Describe this image." | |
| ``` | |