I am unable to load this model.

#1
by arjunsama - opened

from mlx_lm import load, generate

model, tokenizer = load("mlx-community/DeepSeek-R1-4bit")

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)

//using this code.
image_2025-01-21_161232253.png
the above error . could this be because of disk space issues?
Any help is appreciated.

Sign up or log in to comment