DeepSeek-Coder 1.3B Base GGUF

Model GGUF formats Task Parameters Base model License

Source model · HF release · Build hub

Pinned llama.cpp conversion of the official 1.3B base model. The previously listed deepseek-ai/deepseek-coder-1b repository does not exist; this release uses the official 1.3B base checkpoint.

Formats

File Status Purpose
deepseek-coder-1.3b-base-F16.gguf Published Reference quality
deepseek-coder-1.3b-base-Q8_0.gguf Published Higher-quality compact format
deepseek-coder-1.3b-base-Q4_K_M.gguf Published Smallest release format

Verified code completions

Verbatim deepseek-coder-1.3b-base-Q4_K_M.gguf completions, --temp 0, 24 new tokens. This is the base checkpoint, so it continues code rather than answering instructions. The prompt is shown as the def/for/SELECT line plus the already-given return or print(, and the model's text is reproduced as-is.

Prompt Model completion
def is_even(number):
return
number % 2 == 0
def reverse_text(text):
return
text[::-1]
def factorial(number):
if number <= 1:
return
1
else:
return number * factorial(number - 1)
def sum_list(numbers):
return
sum(numbers)
def find_max(numbers):
return
max(numbers)
for index, item in enumerate(items):
print(
index, item)

Python body completions are correct in all five cases. SQL is not: SELECT name FROM users WHERE active = continues into unrelated JavaScript-style ORM code, and SELECT COUNT(*) FROM orders WHERE total > returns a bare number. The def-style prompts are also filled with boilerplate follow-ups such as a generated is_odd helper, trimmed above.

Validation

WikiText-2 raw test evaluation, 8 chunks of 512 tokens. Lower perplexity is better.

Format PPL Ratio to F16
F16 18.0150 Baseline
Q8_0 18.0253 1.0006
Q4_K_M 18.3160 1.0167

A deterministic Q4_K_M code-completion smoke test completed successfully:

def add(a, b):
    return a + b

This is a base completion model, not an instruction-tuned assistant.

Build

python -m pip install -r requirements-build.txt
python build_gguf.py --model-id deepseek-ai/deepseek-coder-1.3b-base

The builder pins llama.cpp commit 6b790a9c291b5d7af3312bbf9f0c558aa023b13e and the upstream model revision. It does not upload or overwrite this repository.

License

DeepSeek Coder Model License v1.0. redistribution is allowed only under the license conditions, including the use-based restrictions. LICENSE contains the complete terms and must accompany redistributed derivatives.

Downloads last month
-
GGUF
Model size
1B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for ShayonSarker/DeepSeek-Coder-1.3B-Base-GGUF

Quantized
(19)
this model