mlabonne/chatml_dpo_pairs
Viewer • Updated • 12.9k • 33 • 54
How to use sugatoray/mlx-neuralhermes-2.5-mistral-7b-q4bits with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir mlx-neuralhermes-2.5-mistral-7b-q4bits sugatoray/mlx-neuralhermes-2.5-mistral-7b-q4bits
This model was converted to MLX format from mlabonne/NeuralHermes-2.5-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("sugatoray/mlx-neuralhermes-2.5-mistral-7b-q4bits")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized
Base model
mistralai/Mistral-7B-v0.1