Runs On My 64GB Mac
Collection
The world is your oyster—for small pearls
•
9 items
•
Updated
This model Qwen2.5-Microsoft-NextCoder-Brainstorm20x-42B-q4-mlx was converted to MLX format from DavidAU/Qwen2.5-Microsoft-NextCoder-Brainstorm20x-42B using mlx-lm version 0.26.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("Qwen2.5-Microsoft-NextCoder-Brainstorm20x-42B-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)
Base model
Qwen/Qwen2.5-32B