GreenBitAI MLX LLM
Collection
GreenBitAI's Low-bit LLMs in MLX format • 73 items • Updated • 5
How to use GreenBitAI/01-Yi-34B-layer-mix-bpw-2.5-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir 01-Yi-34B-layer-mix-bpw-2.5-mlx GreenBitAI/01-Yi-34B-layer-mix-bpw-2.5-mlx
This quantized low-bit model was converted to MLX format from GreenBitAI/01-Yi-34B-layer-mix-bpw-2.5.
Refer to the original model card for more details on the model.
pip install gbx-lm
from gbx_lm import load, generate
model, tokenizer = load("GreenBitAI/01-Yi-34B-layer-mix-bpw-2.5-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized