Instructions to use sergolsub/mlx-elephant-1-8bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use sergolsub/mlx-elephant-1-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download sergolsub/mlx-elephant-1-8bit --local-dir mlx-elephant-1-8bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
baselabs elephant-1 (MLX 8-bit)
8-bit MLX conversion of baselabs/elephant-1 for Apple Silicon (mlx_lm).
Origin and license
- Original weights: https://huggingface.co/baselabs/elephant-1
- License:
mitโ carried over from the upstream weights; if anything conflicts, the upstream repository's LICENSE prevails. - Conversion: 8-bit quantization for MLX only; no retraining, no architecture changes.
Usage
from mlx_lm import load, generate
model, tokenizer = load("sergolsub/mlx-elephant-1-8bit")
print(generate(model, tokenizer, prompt="...", max_tokens=256))
Files
*.safetensorsโ 8-bit weights (MLX layout)config.json,tokenizer*,chat_template.jinjaโ standard transformers/MLX set*_mlx.py/decision_config.json/joint_config.jsonโ decision/joint-head inference glue (present when the model has a decision mode)
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support