bigcode/starcoderdata
Viewer • Updated • 207M • 24.5k • 519
How to use mlx-community/TinyDolphin-2.8-1.1b-4bit-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir TinyDolphin-2.8-1.1b-4bit-mlx mlx-community/TinyDolphin-2.8-1.1b-4bit-mlx
This model was converted to MLX format from cognitivecomputations/TinyDolphin-2.8-1.1b.
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("mlx-community/TinyDolphin-2.8-1.1b-4bit-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized