Skip to main content

Model guide

DeepSeek-Coder 6.7B Instruct

DeepSeek Coder 6.7B Instruct is a compact code-chat checkpoint for explanations, function generation and debugging exercises. Unlike StarCoder2’s base models, it expects instructions in a chat template. Keep an executable test next to the generated code; a plausible explanation is not evidence that the repair works.

6.7BCode16,384 token contextView the model card →

At a glance

Parameters
6.7B
Accepts
Text · Code
Returns
Text, including code
Published context limit
16,384 tokens
Model format
safetensors · GGUF
Software and download hosts
Ollama. 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 · 4.08 GBTheBloke (community conversion)deepseek-coder-6.7b-instruct.Q4_K_M.gguf
Languages
English and Chinese natural-language training; multilingual code training

Will it fit?

DeepSeek-Coder 6.7B Instruct · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.

Check on your computer

Best for

  • Paste a short buggy function and its failing input. Ask for a corrected function, then execute your tests in a disposable project.

Choose something else when

  • If you want changes across a repository, the chat checkpoint alone cannot read or edit your files.

First setup

After loading this coding model with the setup below, keep context at 4,096 tokens and cap the first reply at 512 tokens. Ask: Write a Python function unique_in_order(values) that removes duplicates while preserving first occurrence. For [3, 1, 3, 2, 1], what does it return? Check for [3, 1, 2], and inspect the empty-list and all-duplicate cases before running the code. Do not grant filesystem, network or shell access for this example. One correct snippet is not proof that a larger generated program works. See the model instructions.

Other models for this task