m-a-p/CodeFeedback-Filtered-Instruction
Viewer • Updated • 157k • 29.4k • 196
How to use mlx-community/dolphin-2.8-mistral-7b-v02 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir dolphin-2.8-mistral-7b-v02 mlx-community/dolphin-2.8-mistral-7b-v02
This model was converted to MLX format from cognitivecomputations/dolphin-2.8-mistral-7b-v02 using mlx-lm version 0.7.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("mlx-community/dolphin-2.8-mistral-7b-v02")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized
Base model
mistral-community/Mistral-7B-v0.2