tiiuae/falcon-refinedweb
Viewer • Updated • 968M • 24.5k • 932
How to use jonathansuru/stablelm-2-1_6b-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir stablelm-2-1_6b-4bit jonathansuru/stablelm-2-1_6b-4bit
This model was converted to MLX format from stabilityai/stablelm-2-1_6b using mlx-lm version 0.4.0.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("jonathansuru/stablelm-2-1_6b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized