Instructions to use mlx-community/DeepSeek-R1-Distill-Qwen-7B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/DeepSeek-R1-Distill-Qwen-7B-MLX with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/DeepSeek-R1-Distill-Qwen-7B-MLX") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- LM Studio
- MLX LM
How to use mlx-community/DeepSeek-R1-Distill-Qwen-7B-MLX with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "mlx-community/DeepSeek-R1-Distill-Qwen-7B-MLX" --prompt "Once upon a time"
Ctrl+K
- DeepSeek-R1-Distill-Qwen-7B-2,6_mixed
- DeepSeek-R1-Distill-Qwen-7B-3,4_mixed
- DeepSeek-R1-Distill-Qwen-7B-3,6_mixed
- DeepSeek-R1-Distill-Qwen-7B-3bit
- DeepSeek-R1-Distill-Qwen-7B-4,6_mixed
- DeepSeek-R1-Distill-Qwen-7B-4,8_mixed
- DeepSeek-R1-Distill-Qwen-7B-4bit
- DeepSeek-R1-Distill-Qwen-7B-6bit
- DeepSeek-R1-Distill-Qwen-7B-8bit
- DeepSeek-R1-Distill-Qwen-7B-bfloat16
- DeepSeek-R1-Distill-Qwen-7B-float16
- 12.3 kB
- 2.48 kB
- 1.06 kB
- 3.27 kB