DeepSeek-R1-Distill
Collection
39 items • Updated • 25
Run mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Use HF Jobs to fine-tune https://huggingface.co/mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Use HF Jobs to run batch inference with https://huggingface.co/mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
How to use mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit --local-dir DeepSeek-R1-Distill-Qwen-1.5B-3bit
The Model mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit was converted to MLX format from deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B using mlx-lm version 0.21.1.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/DeepSeek-R1-Distill-Qwen-1.5B-3bit")
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)
3-bit
Base model
deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B