πŸ“‹ Model Description


base_model: deepseek-ai/DeepSeek-Coder-V2-Lite-Base inference: false library_name: gguf license: other license_link: LICENSE license_name: deepseek-license pipeline_tag: text-generation quantized_by: legraphista tags:
  • quantized
  • GGUF
  • imatrix
  • quantization
  • imat
  • imatrix
  • static
  • 16bit
  • 8bit
  • 6bit
  • 5bit
  • 4bit
  • 3bit
  • 2bit
  • 1bit

DeepSeek-Coder-V2-Lite-Base-IMat-GGUF

Llama.cpp imatrix quantization of deepseek-ai/DeepSeek-Coder-V2-Lite-Base

Original Model: deepseek-ai/DeepSeek-Coder-V2-Lite-Base
Original dtype: BF16 (bfloat16)
Quantized by: llama.cpp b3166
IMatrix dataset: here

- IMatrix - Common Quants - All Quants - Simple chat template - Chat template with system prompt - Llama.cpp - Why is the IMatrix not applied everywhere? - How do I merge a split GGUF?

Files

IMatrix

Status: βœ… Available Link: here

Common Quants

FilenameQuant typeFile SizeStatusUses IMatrixIs Split
DeepSeek-Coder-V2-Lite-Base.Q80.ggufQ8016.70GBβœ… Availableβšͺ Static
πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q6K.gguf | Q6K | 14.07GB | βœ… Available | βšͺ Static | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q4K.gguf | Q4K | 10.36GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q3K.gguf | Q3K | 8.13GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q2K.gguf | Q2K | 6.43GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No

All Quants

FilenameQuant typeFile SizeStatusUses IMatrixIs Split
DeepSeek-Coder-V2-Lite-Base.BF16.ggufBF1631.42GBβœ… Availableβšͺ Static
πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.FP16.gguf | F16 | 31.42GB | βœ… Available | βšͺ Static | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q80.gguf | Q80 | 16.70GB | βœ… Available | βšͺ Static | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q6K.gguf | Q6K | 14.07GB | βœ… Available | βšͺ Static | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q5K.gguf | Q5K | 11.85GB | βœ… Available | βšͺ Static | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q5KS.gguf | Q5K_S | 11.14GB | βœ… Available | βšͺ Static | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q4K.gguf | Q4K | 10.36GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q4KS.gguf | Q4K_S | 9.53GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ4NL.gguf | IQ4NL | 8.91GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ4XS.gguf | IQ4XS | 8.57GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q3K.gguf | Q3K | 8.13GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q3KL.gguf | Q3K_L | 8.46GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q3KS.gguf | Q3K_S | 7.49GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ3M.gguf | IQ3M | 7.55GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ3S.gguf | IQ3S | 7.49GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ3XS.gguf | IQ3XS | 7.12GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ3XXS.gguf | IQ3XXS | 6.96GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q2K.gguf | Q2K | 6.43GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.Q2KS.gguf | Q2K_S | 6.46GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ2M.gguf | IQ2M | 6.33GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ2S.gguf | IQ2S | 6.01GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ2XS.gguf | IQ2XS | 5.97GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ2XXS.gguf | IQ2XXS | 5.64GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ1M.gguf | IQ1M | 5.24GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No | DeepSeek-Coder-V2-Lite-Base.IQ1S.gguf | IQ1S | 4.99GB | βœ… Available | 🟒 IMatrix | πŸ“¦ No

Downloading using huggingface-cli

If you do not have hugginface-cli installed:
pip install -U "huggingface_hub[cli]"
Download the specific file you want:
huggingface-cli download legraphista/DeepSeek-Coder-V2-Lite-Base-IMat-GGUF --include "DeepSeek-Coder-V2-Lite-Base.Q8_0.gguf" --local-dir ./
If the model file is big, it has been split into multiple files. In order to download them all to a local folder, run:
huggingface-cli download legraphista/DeepSeek-Coder-V2-Lite-Base-IMat-GGUF --include "DeepSeek-Coder-V2-Lite-Base.Q8_0/*" --local-dir ./

see FAQ for merging GGUF's


Inference

Simple chat template

<|begin▁of▁sentence|>User: {user_prompt}

Assistant: {assistantresponse}<|end▁of▁sentence|>User: {nextuser_prompt}

Chat template with system prompt

<|begin▁of▁sentence|>{system_prompt}

User: {user_prompt}

Assistant: {assistantresponse}<|end▁of▁sentence|>User: {nextuser_prompt}

Llama.cpp

llama.cpp/main -m DeepSeek-Coder-V2-Lite-Base.Q8_0.gguf --color -i -p "prompt here (according to the chat template)"

FAQ

Why is the IMatrix not applied everywhere?

According to this investigation, it appears that lower quantizations are the only ones that benefit from the imatrix input (as per hellaswag results).

How do I merge a split GGUF?

  1. Make sure you have gguf-split available
- To get hold of gguf-split, navigate to https://github.com/ggerganov/llama.cpp/releases - Download the appropriate zip for your system from the latest release - Unzip the archive and you should be able to find gguf-split
  1. Locate your GGUF chunks folder (ex: DeepSeek-Coder-V2-Lite-Base.Q80)
  2. Run gguf-split --merge DeepSeek-Coder-V2-Lite-Base.Q80/DeepSeek-Coder-V2-Lite-Base.Q80-00001-of-XXXXX.gguf DeepSeek-Coder-V2-Lite-Base.Q80.gguf
- Make sure to point gguf-split to the first chunk of the split.

Got a suggestion? Ping me @legraphista!

πŸ“‚ GGUF File List

πŸ“ Filename πŸ“¦ Size ⚑ Download
DeepSeek-Coder-V2-Lite-Base.BF16.gguf
Recommended LFS FP16
29.27 GB Download
DeepSeek-Coder-V2-Lite-Base.FP16.gguf
LFS FP16
29.27 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ1_M.gguf
LFS
4.88 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ1_S.gguf
LFS
4.65 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ2_M.gguf
LFS Q2
5.89 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ2_S.gguf
LFS Q2
5.59 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ2_XS.gguf
LFS Q2
5.56 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ2_XXS.gguf
LFS Q2
5.25 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ3_M.gguf
LFS Q3
7.03 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ3_S.gguf
LFS Q3
6.97 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ3_XS.gguf
LFS Q3
6.63 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ3_XXS.gguf
LFS Q3
6.49 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ4_NL.gguf
LFS Q4
8.29 GB Download
DeepSeek-Coder-V2-Lite-Base.IQ4_XS.gguf
LFS Q4
7.98 GB Download
DeepSeek-Coder-V2-Lite-Base.Q2_K.gguf
LFS Q2
5.99 GB Download
DeepSeek-Coder-V2-Lite-Base.Q2_K_S.gguf
LFS Q2
6.01 GB Download
DeepSeek-Coder-V2-Lite-Base.Q3_K.gguf
LFS Q3
7.57 GB Download
DeepSeek-Coder-V2-Lite-Base.Q3_K_L.gguf
LFS Q3
7.88 GB Download
DeepSeek-Coder-V2-Lite-Base.Q3_K_S.gguf
LFS Q3
6.97 GB Download
DeepSeek-Coder-V2-Lite-Base.Q4_K.gguf
LFS Q4
9.65 GB Download
DeepSeek-Coder-V2-Lite-Base.Q4_K_S.gguf
LFS Q4
8.88 GB Download
DeepSeek-Coder-V2-Lite-Base.Q5_K.gguf
LFS Q5
11.04 GB Download
DeepSeek-Coder-V2-Lite-Base.Q5_K_S.gguf
LFS Q5
10.38 GB Download
DeepSeek-Coder-V2-Lite-Base.Q6_K.gguf
LFS Q6
13.1 GB Download
DeepSeek-Coder-V2-Lite-Base.Q8_0.gguf
LFS Q8
15.56 GB Download