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")# 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") - MLX
How to use nhe-ai/maya1-mlx-4Bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir maya1-mlx-4Bit nhe-ai/maya1-mlx-4Bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
Ctrl+K