Instructions to use Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit") model = AutoModelForTextToWaveform.from_pretrained("Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit", device_map="auto") - MLX
How to use Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit --local-dir marvis-tts-100m-v0.2-MLX-6bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download special_tokens_map.json from Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit: direct link, hf CLI and curl.
- Browser
- Download file 599 Bytes
-
https://huggingface.co/Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit/resolve/main/special_tokens_map.json
- Command line
-
hf download hf://Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit/special_tokens_map.json
-
curl -L -o special_tokens_map.json https://huggingface.co/Marvis-AI/marvis-tts-100m-v0.2-MLX-6bit/resolve/main/special_tokens_map.json
599 Bytes
| { | |
| "additional_special_tokens": [ | |
| "<|endoftext|>", | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<repo_name>", | |
| "<reponame>", | |
| "<file_sep>", | |
| "<filename>", | |
| "<gh_stars>", | |
| "<issue_start>", | |
| "<issue_comment>", | |
| "<issue_closed>", | |
| "<jupyter_start>", | |
| "<jupyter_text>", | |
| "<jupyter_code>", | |
| "<jupyter_output>", | |
| "<jupyter_script>", | |
| "<empty_output>" | |
| ], | |
| "bos_token": "<|im_start|>", | |
| "eos_token": "<|im_end|>", | |
| "unk_token": { | |
| "content": "<|endoftext|>", | |
| "lstrip": false, | |
| "normalized": false, | |
| "rstrip": false, | |
| "single_word": false | |
| } | |
| } | |