Instructions to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
Use Docker
docker model run hf.co/second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
- SGLang
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with Ollama:
ollama run hf.co/second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
- Lemonade
How to use second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull second-state/DeepSeek-Coder-V2-Lite-Instruct-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-Coder-V2-Lite-Instruct-GGUF-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Update models
Browse files- .gitattributes +12 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q2_K.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q3_K_L.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q3_K_M.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q3_K_S.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q4_0.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q4_K_S.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q5_0.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q5_K_S.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q6_K.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-Q8_0.gguf +3 -0
- DeepSeek-Coder-V2-Lite-Instruct-f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
DeepSeek-Coder-V2-Lite-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
DeepSeek-Coder-V2-Lite-Instruct-f16.gguf filter=lfs diff=lfs merge=lfs -text
|
DeepSeek-Coder-V2-Lite-Instruct-Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d4eb2f3365ac103d4231352b331577135be67931cecedad474c38e4cecb9182d
|
| 3 |
+
size 6430464480
|
DeepSeek-Coder-V2-Lite-Instruct-Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d9b1b46859bb2208acf2174192547e53389575fb2af820a988c91ecb94c2613
|
| 3 |
+
size 8459398624
|
DeepSeek-Coder-V2-Lite-Instruct-Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3918c980cc193aa63733db160fdd26ef3a668fecd5219d0e1aa62d12c86cc91f
|
| 3 |
+
size 8126606816
|
DeepSeek-Coder-V2-Lite-Instruct-Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:15476c1c838f3a8205d0d7725a1f2b377da0ba1c287149680dbffc8d755904d2
|
| 3 |
+
size 7487663584
|
DeepSeek-Coder-V2-Lite-Instruct-Q4_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d932d742f5e09b66cf017bb0e27bf5acf1d0a12d0e65bcc4561528020c4b56c
|
| 3 |
+
size 8905109984
|
DeepSeek-Coder-V2-Lite-Instruct-Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38bc76f3326b49b4d81d1027d092bf7ce5b4ed2de4136d1d2e7e6347c3ec8376
|
| 3 |
+
size 10364416480
|
DeepSeek-Coder-V2-Lite-Instruct-Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:48a9e203ee6f5ed208c4d8859b7c2c2914bd1af8621d90f366dd7b0bd9112d5c
|
| 3 |
+
size 9533608416
|
DeepSeek-Coder-V2-Lite-Instruct-Q5_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fbd09a611559c2f97767a41e555dd05d0c6a61425bf14d2d1e2cf0ea817690dd
|
| 3 |
+
size 10841764320
|
DeepSeek-Coder-V2-Lite-Instruct-Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:03f2eacb23d597e7793a57bcaabcc3ebceec1515b04a0fe49996817ff169922d
|
| 3 |
+
size 11143057888
|
DeepSeek-Coder-V2-Lite-Instruct-Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cfe5211943fffec745261aba45023b07d1a9004356a4efdfbf855bf47ca6782
|
| 3 |
+
size 14066972128
|
DeepSeek-Coder-V2-Lite-Instruct-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:373dcfc92e01372709b6164fc836f677a6280e25e9eac5c434c64223207bfc4f
|
| 3 |
+
size 16702517728
|
DeepSeek-Coder-V2-Lite-Instruct-f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2de57aa898372715c457b7c06362bb9826f3e47ba2a83679f162fcb7b40e763b
|
| 3 |
+
size 31424033248
|