Runs On My 8GB Mac
Collection
All I got.. but eager to code
•
8 items
•
Updated
This model Qwen3-Shining-Valiant-Instruct-CODER-Reasoning-2.7B-q4-mlx was converted to MLX format from DavidAU/Qwen3-Shining-Valiant-Instruct-CODER-Reasoning-2.7B using mlx-lm version 0.26.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Qwen3-Shining-Valiant-Instruct-CODER-Reasoning-2.7B-q4-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)