teknium/OpenHermes-2.5
Viewer • Updated • 1M • 21.8k • 892
How to use mlx-community/dolphin-2.9.2-qwen2-7b-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir dolphin-2.9.2-qwen2-7b-4bit mlx-community/dolphin-2.9.2-qwen2-7b-4bit
The Model mlx-community/dolphin-2.9.2-qwen2-7b-4bit was converted to MLX format from cognitivecomputations/dolphin-2.9.2-qwen2-7b using mlx-lm version 0.16.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/dolphin-2.9.2-qwen2-7b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized
Base model
Qwen/Qwen2-7B