QuixiAI/dolphin
Viewer • Updated • 3.73M • 1.24k • 433
How to use jonathansuru/dolphin-2.1-mistral-7b-8bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir dolphin-2.1-mistral-7b-8bit jonathansuru/dolphin-2.1-mistral-7b-8bit
This model was converted to MLX format from cognitivecomputations/dolphin-2.1-mistral-7b.
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/dolphin-2.1-mistral-7b-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized