Text-to-Speech
Transformers
Safetensors
MLX
English
llama
text-generation
text-generation-inference
4-bit precision
Instructions to use nhe-ai/maya1-mlx-4Bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nhe-ai/maya1-mlx-4Bit with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="nhe-ai/maya1-mlx-4Bit")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("nhe-ai/maya1-mlx-4Bit") model = AutoModelForCausalLM.from_pretrained("nhe-ai/maya1-mlx-4Bit", device_map="auto") - MLX
How to use nhe-ai/maya1-mlx-4Bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download nhe-ai/maya1-mlx-4Bit --local-dir maya1-mlx-4Bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download tokenizer.json from nhe-ai/maya1-mlx-4Bit: direct link, hf CLI and curl.
- Browser
- Download file 22.9 MB
-
https://huggingface.co/nhe-ai/maya1-mlx-4Bit/resolve/main/tokenizer.json
- Command line
-
hf download hf://nhe-ai/maya1-mlx-4Bit/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/nhe-ai/maya1-mlx-4Bit/resolve/main/tokenizer.json
22.9 MB
- Xet hash:
- b7c8f3b3bcffa6e6a93da8a52f6a5f62e5271117aa2697e3c13e63f0ba9a1f50
- Size of remote file:
- 22.9 MB
- SHA256:
- 6c5e5b1d89b7e3738e5a5a4f93c326d8f3292ea83f9c560b8dbb6d66fb851973
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.