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