legraphista/DeepSeek-V2-Lite-Chat-IMat-GGUF
123.7k
DeepSeek-V2-Lite-Chat-IMat-GGUF
Llama.cpp imatrix quantization of deepseek-ai/DeepSeek-V2-Lite-Chat
Original Model: deepseek-ai/DeepSeek-V2-Lite-Chat Original dtype: BF16 (bfloat16) Quantized by: llama.cpp fork PR 7519 IMatrix dataset: here
- DeepSeek-V2-Lite-Chat-IMat-GGUF
- Files
- IMatrix
- Common Quants
- All Quants
- Downloading using huggingface-cli
- Inference
- Simple chat template
- Chat template with system prompt
- Llama.cpp
- FAQ
- Why is the IMatrix not applied everywhere?
- How do I merge a split GGUF?
Files
IMatrix
Status: ✅ Available Link: here
Common Quants
All Quants
Downloading using huggingface-cli
First, make sure you have hugginface-cli installed:
pip install -U "huggingface_hub[cli]"Then, you can target the specific file you want:
huggingface-cli download legraphista/DeepSeek-V2-Lite-Chat-IMat-GGUF --include "DeepSeek-V2-Lite-Chat.Q8_0.gguf" --local-dir ./If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:
huggingface-cli download legraphista/DeepSeek-V2-Lite-Chat-IMat-GGUF --include "DeepSeek-V2-Lite-Chat.Q8_0/*" --local-dir DeepSeek-V2-Lite-Chat.Q8_0
# see FAQ for merging GGUF'sInference
Simple chat template
<|begin▁of▁sentence|>User: {user_message_1}
Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}
Assistant:Chat template with system prompt
<|begin▁of▁sentence|>{system_message}
User: {user_message_1}
Assistant: {assistant_message_1}<|end▁of▁sentence|>User: {user_message_2}
Assistant:Llama.cpp
llama.cpp/main -m DeepSeek-V2-Lite-Chat.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?
- Make sure you have
gguf-splitavailable - 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 - Locate your GGUF chunks folder (ex:
DeepSeek-V2-Lite-Chat.Q8_0) - Run
gguf-split --merge DeepSeek-V2-Lite-Chat.Q8_0/DeepSeek-V2-Lite-Chat.Q8_0-00001-of-XXXXX.gguf DeepSeek-V2-Lite-Chat.Q8_0.gguf - Make sure to point
gguf-splitto the first chunk of the split.
Got a suggestion? Ping me @legraphista!
