Instructions to use mradermacher/deepseek-coder-1.3b-base-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/deepseek-coder-1.3b-base-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/deepseek-coder-1.3b-base-GGUF", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use mradermacher/deepseek-coder-1.3b-base-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 mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/deepseek-coder-1.3b-base-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 mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/deepseek-coder-1.3b-base-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 mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/deepseek-coder-1.3b-base-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 mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/deepseek-coder-1.3b-base-GGUF with Ollama:
ollama run hf.co/mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/deepseek-coder-1.3b-base-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/deepseek-coder-1.3b-base-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for mradermacher/deepseek-coder-1.3b-base-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/deepseek-coder-1.3b-base-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/deepseek-coder-1.3b-base-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/deepseek-coder-1.3b-base-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/deepseek-coder-1.3b-base-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.deepseek-coder-1.3b-base-GGUF-Q4_K_M
List all available models
lemonade list
auto-patch README.md
Browse files
README.md
CHANGED
|
@@ -18,7 +18,7 @@ quantized_by: mradermacher
|
|
| 18 |
static quants of https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base
|
| 19 |
|
| 20 |
<!-- provided-files -->
|
| 21 |
-
weighted/imatrix quants
|
| 22 |
## Usage
|
| 23 |
|
| 24 |
If you are unsure how to use GGUF files, refer to one of [TheBloke's
|
|
@@ -32,7 +32,20 @@ more details, including on how to concatenate multi-part files.
|
|
| 32 |
| Link | Type | Size/GB | Notes |
|
| 33 |
|:-----|:-----|--------:|:------|
|
| 34 |
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q2_K.gguf) | Q2_K | 0.7 | |
|
|
|
|
| 35 |
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.IQ3_S.gguf) | IQ3_S | 0.7 | beats Q3_K* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
Here is a handy graph by ikawrakow comparing some lower-quality quant
|
| 38 |
types (lower is better):
|
|
|
|
| 18 |
static quants of https://huggingface.co/deepseek-ai/deepseek-coder-1.3b-base
|
| 19 |
|
| 20 |
<!-- provided-files -->
|
| 21 |
+
weighted/imatrix quants are available at https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-i1-GGUF
|
| 22 |
## Usage
|
| 23 |
|
| 24 |
If you are unsure how to use GGUF files, refer to one of [TheBloke's
|
|
|
|
| 32 |
| Link | Type | Size/GB | Notes |
|
| 33 |
|:-----|:-----|--------:|:------|
|
| 34 |
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q2_K.gguf) | Q2_K | 0.7 | |
|
| 35 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.IQ3_XS.gguf) | IQ3_XS | 0.7 | |
|
| 36 |
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.IQ3_S.gguf) | IQ3_S | 0.7 | beats Q3_K* |
|
| 37 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q3_K_S.gguf) | Q3_K_S | 0.7 | |
|
| 38 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.IQ3_M.gguf) | IQ3_M | 0.8 | |
|
| 39 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q3_K_M.gguf) | Q3_K_M | 0.8 | lower quality |
|
| 40 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q3_K_L.gguf) | Q3_K_L | 0.8 | |
|
| 41 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.IQ4_XS.gguf) | IQ4_XS | 0.9 | |
|
| 42 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q4_K_S.gguf) | Q4_K_S | 0.9 | fast, recommended |
|
| 43 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q4_K_M.gguf) | Q4_K_M | 1.0 | fast, recommended |
|
| 44 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q5_K_S.gguf) | Q5_K_S | 1.1 | |
|
| 45 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q5_K_M.gguf) | Q5_K_M | 1.1 | |
|
| 46 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q6_K.gguf) | Q6_K | 1.3 | very good quality |
|
| 47 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.Q8_0.gguf) | Q8_0 | 1.5 | fast, best quality |
|
| 48 |
+
| [GGUF](https://huggingface.co/mradermacher/deepseek-coder-1.3b-base-GGUF/resolve/main/deepseek-coder-1.3b-base.f16.gguf) | f16 | 2.8 | 16 bpw, overkill |
|
| 49 |
|
| 50 |
Here is a handy graph by ikawrakow comparing some lower-quality quant
|
| 51 |
types (lower is better):
|