Downloads · 30 days
0
mzbac/Mixtral-8x7B-v0.1-hf-4bit-mlx-adapters
Mixtral-8x7B-v0.1-hf-4bit-mlx-adapters is a machine learning model from mzbac. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Downloads · 30 days
0
Access
Public
Updated Jan 26, 2024
Repo size
71.4 MB
Likes
0
Public
Click a slice to open those files.
.npz35.7 MB · 100%
From the Hugging Face model README
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Mixtral-8x7B-v0.1-hf-4bit-mlx",adapter_file="adapters.npz")
generate(model=model, tokenizer=tokenizer, prompt="### Human: write a quick sort in python.\n### Assistant: ", max_tokens=500, verbose=True,temp=0.3)
pip install mlx-llm-server
mlx-llm-server --model-path mlx-community/Mixtral-8x7B-v0.1-hf-4bit-mlx --adapter-file adapters.npz