Skip to main content

Model guide

DeepSeek-Coder-V2 Lite Instruct

DeepSeek Coder V2 Lite Instruct is a mixture-of-experts coding model with more stored weights than its active-parameter count suggests. Consider it for code tasks when you can accommodate the complete download. Its attention and cache handling depend on the runner, so reuse the example’s settings rather than a generic 2B memory assumption.

16B total / 2.4B activeCode128,000 token contextView the model card →

At a glance

Parameters
16B total / 2.4B active
Accepts
Text · Code
Returns
Text, including code
Published context limit
128,000 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 · 10.36 GBbartowski (community conversion)DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf
Languages
Unknown

Will it fit?

DeepSeek-Coder-V2 Lite 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

  • Compare V2 Lite with the 6.7B Coder using the same bug and test.

Choose something else when

  • If your runner expands the compressed conversation cache, measure it at the context you actually use.

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