Mistral-7B-Instruct-v0.3-128k-dq58-mlx
This model Mistral-7B-Instruct-v0.3-128k-dq58-mlx was converted to MLX format from mistralai/Mistral-7B-Instruct-v0.3 using mlx-lm version 0.26.0.
Use with mlx
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Mistral-7B-Instruct-v0.3-128k-dq58-mlx")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
- Downloads last month
- 18
Model tree for nightmedia/Mistral-7B-Instruct-v0.3-128k-dq58-mlx
Base model
mistralai/Mistral-7B-v0.3
Finetuned
mistralai/Mistral-7B-Instruct-v0.3