Downloads · 30 days
141
22% of all-time downloads
DQN-Labs-Community/dqnCode-v1
dqnCode-v1 is a text generation model from DQN-Labs-Community. Use it when you need the model to write or continue text. The card lists the license as apache-2.0.
dqnCode-v1 is a 4B-parameter language model designed for fast, clear, and practical coding assistance.
Downloads · 30 days
141
22% of all-time downloads
All-time downloads
652
Public
Repo size
21.1 GB
Likes
2
Public
Click a slice to open those files.
.gguf10.5 GB · 100%
From the Hugging Face model README
dqnCode-v1 is a 4B-parameter language model designed for fast, clear, and practical coding assistance.
It focuses on writing, fixing, and explaining code efficiently, with minimal verbosity and strong real-world usefulness. It is optimized for everyday programming tasks with low latency and concise outputs.

dqnCode-v1 is positioned as a high-performance compact coding model, with strong results on standard code generation benchmarks. It is trained with simple prompts in mind, so you don't need to be a developer to use it!
This score places dqnCode-v1 among the strongest models in the 4B parameter class for coding tasks (only beaten by one other model in the 4B or below models class!)
| Model | Provider | HumanEval (pass@1) |
|---|---|---|
| GPT-3.5 Turbo | OpenAI | 68% |
| GPT-4 | OpenAI | 67% |
| dqnCode v1 (4B) | DQN Labs | 63.4% |
| Phi-3.5-mini-instruct | Microsoft | 62.8% |
| DeepSeek Coder 33B | DeepSeek | 52.4% |
| Gemma 2 27B | 51.8% | |
| Nous Hermes 3 405B | Nous Research | 51.4% |
dqnCode-v1 is designed to deliver coding performance comparable to significantly larger models while maintaining a small footprint.
dqnCode-v1 4B is optimized for practical coding workflows rather than long-form development or benchmark performance.
Input
Write a Python function to check if a number is prime
Output
def is_prime(n):
if n < 2:
return False
for i in range(2, int(n**0.5) + 1):
if n % i == 0:
return False
return True
Input
Fix this code:
for i in range(5)
print(i)
Output
for i in range(5):
print(i)
This model is available on many platforms and is compatible with many formats.
The GGUF format is compatible with llama.cpp and LM Studio.
Other formats include MLX (LM Studio, optimized for Apple devices), and HF (universal compatibility).
dqnCode-v1 is fine-tuned for practical coding tasks and efficient problem solving.
The training process emphasizes:
dqnCode-v1 is designed to run efficiently on consumer hardware, with support for quantized formats.
Apache 2.0
Developed by DQN Labs.
This model card was generated with the help of dqnGPT v0.2!