teknium/OpenHermes-2.5
Viewer • Updated • 1M • 15.3k • 931
How to use cogbuji/OpenHermes-2.5-Mistral-7B-mlx-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download cogbuji/OpenHermes-2.5-Mistral-7B-mlx-4bit --local-dir OpenHermes-2.5-Mistral-7B-mlx-4bit
This model was converted to MLX format from teknium/OpenHermes-2.5-Mistral-7B and quantized. Refer to the original model card for more details on the model.
It was converted and quantized with mlx 0.7.0 and mlx_lm 0.3.0 and should be used with those versions. Later versions of these may deprecate this model
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("cogbuji/OpenHermes-2.5-Mistral-7B-mlx-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized
Base model
mistralai/Mistral-7B-v0.1