Model guide
DeepSeek-R1-Distill-Qwen-14B
DeepSeek R1 Distill Qwen 14B is a reasoning-focused derivative of Qwen2.5, not the full DeepSeek R1 model. It is a candidate for checkable mathematical or logical problems when a 14B download fits. Allow room for the reasoning output and judge the final result against a known solution.
At a glance
- Parameters
- 14B
- Accepts
- Text
- Returns
- Text
- Published context limit
- 131,072 tokens
- Model format
- safetensors · GGUF
- Software and download hosts
- Ollama · MLX. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 8.99 GBbartowski (community conversion)DeepSeek-R1-Distill-Qwen-14B-Q4_K_M.gguf
- Languages
- Unknown
Will it fit?
DeepSeek-R1-Distill-Qwen-14B · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.
Check on your computerBest for
- Evaluate a 14B R1 distillation on a reasoning task with a known solution. Verify the result by substitution or a unit test.
Choose something else when
- If the answer is truncated, check the output allowance before scoring the reasoning as wrong.
First setup
After loading this reasoning model with the setup below, ask: Solve 2*x + 3 = 11. Give the final value and verify it by substitution. Use temperature 0.6 and top-p 0.95, a 4,096-token context and an initial 1,024-token output cap. A checkable final answer is x = 4, because 2*4 + 3 = 11. If the output cap stops reasoning before a final answer, treat that as an interrupted answer; increase the output allowance only within the available context and memory. A correct answer to this small example does not establish general reasoning accuracy. Ask whether x must be positive in x²=16. Check that both 4 and −4 appear. See the publisher guidance.
Review the distilled model license, DeepSeek’s licensing explanation and the Qwen2.5-14B base license separately; the MIT release and base-model obligations are distinct.
This creates a 4,096-token copy of deepseek-r1:14b named deepseek-r1-distill-qwen-14b-short-context. Save the following as a file named Modelfile in your working folder:
FROM deepseek-r1:14b
PARAMETER num_ctx 4096
Then run these commands from that folder:
ollama pull deepseek-r1:14b
ollama create deepseek-r1-distill-qwen-14b-short-context -f ./Modelfile
ollama run deepseek-r1-distill-qwen-14b-short-context
Run the example in Model-specific setup. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.
The recorded Ollama package is Q4_K_M: 8.99 GB of model weights. Use Ollama 0.40.18 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.
See Ollama context settings and the Modelfile instructions.
Open LM Studio’s Discover tab, search for bartowski/DeepSeek-R1-Distill-Qwen-14B-GGUF, and download DeepSeek-R1-Distill-Qwen-14B-Q4_K_M.gguf (Q4_K_M, 8.99 GB). See the download files. Select the file in Chat, set context to 4,096, then load it. Use the math task above with its stated output cap and settings; check the substitution before trying a larger input. If it will not load, open LM Studio Model Will Not Load.
Open a terminal in the extracted llama.cpp release folder. On Windows, replace ./llama-server below with .\llama-server.exe:
./llama-server -hf bartowski/DeepSeek-R1-Distill-Qwen-14B-GGUF -hff DeepSeek-R1-Distill-Qwen-14B-Q4_K_M.gguf -c 4096 --host 127.0.0.1 --port 8080
The server downloads the selected model. Wait for the model to load, then open http://127.0.0.1:8080 in your browser. Use the math task above with its stated output cap and settings; check the substitution. Keep the server terminal open; press Ctrl+C there to stop the server. The file list identifies the exact download. If the command fails: Unknown architecture? Update the runner. Allocation failed? Retry with less context or a smaller weight file.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run. Time the final answer as well as the first generated token.
