teknium/OpenHermes-2.5
Viewer • Updated • 1M • 20.6k • 833
How to use mlx-community/Hermes-2-Pro-Mistral-7B-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Hermes-2-Pro-Mistral-7B-4bit mlx-community/Hermes-2-Pro-Mistral-7B-4bit
This model was converted to MLX format from NousResearch/Hermes-2-Pro-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("mlx-community/Hermes-2-Pro-Mistral-7B-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized
Base model
mistralai/Mistral-7B-v0.1