Instructions to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF", filename="Qwen2.5-Coder-7B-Instruct-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
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 tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
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 tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/Qwen2.5-Coder-7B-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": "tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
- SGLang
How to use tensorblock/Qwen2.5-Coder-7B-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 "tensorblock/Qwen2.5-Coder-7B-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": "tensorblock/Qwen2.5-Coder-7B-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 "tensorblock/Qwen2.5-Coder-7B-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": "tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-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 tensorblock/Qwen2.5-Coder-7B-Instruct-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 tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF to start chatting
- Pi new
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama-server -hf tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2.5-Coder-7B-Instruct-GGUF-Q2_K
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +12 -0
- Qwen2.5-Coder-7B-Instruct-Q2_K.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q3_K_L.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q3_K_M.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q3_K_S.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q4_0.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q4_K_M.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q4_K_S.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q5_0.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q5_K_M.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q5_K_S.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q6_K.gguf +3 -0
- Qwen2.5-Coder-7B-Instruct-Q8_0.gguf +3 -0
- README.md +89 -0
|
@@ -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 |
+
Qwen2.5-Coder-7B-Instruct-Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
Qwen2.5-Coder-7B-Instruct-Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen2.5-Coder-7B-Instruct-Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
Qwen2.5-Coder-7B-Instruct-Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
Qwen2.5-Coder-7B-Instruct-Q4_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
Qwen2.5-Coder-7B-Instruct-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
Qwen2.5-Coder-7B-Instruct-Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
Qwen2.5-Coder-7B-Instruct-Q5_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
Qwen2.5-Coder-7B-Instruct-Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
Qwen2.5-Coder-7B-Instruct-Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
Qwen2.5-Coder-7B-Instruct-Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
Qwen2.5-Coder-7B-Instruct-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9f74e5ac979c8357c9b7d8c5f47123106fd5075bce09f191ebefecb6db8a429
|
| 3 |
+
size 3015940544
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d83efa527ac7a93304a88d3bb79178f5e34633acc850b3274fc3a395638d90f
|
| 3 |
+
size 4088459712
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7367f7cf4ee175f268fabd6950c49fd40f29734301ff986d1b0a622d3021a8ce
|
| 3 |
+
size 3808391616
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c41b60811e9b4ee627ac61e62244cd34aef27a924d026bdca22d103c12324ad8
|
| 3 |
+
size 3492368832
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f95ec68eb083890df0559d8a2740cf275d5f8f37f4019b71a8a97940d0b6f7ba
|
| 3 |
+
size 4431391168
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:383aacfb57e88cb8d0b9f80e3cf76e59fda281023aba656bef01ed318798c692
|
| 3 |
+
size 4683073984
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9d09a4ac693df883bae4e943e4897c47503bb6059cd3bd07af35e6dd9c84909
|
| 3 |
+
size 4457769408
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51624cc7a808bdef5dcc1913406285945fac0e0ca56bdec555b24306611d80b4
|
| 3 |
+
size 5315176896
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:99cbb3925870746886eef3bb001b98357ba1f9b9c92008b4fdf6844ab98320d6
|
| 3 |
+
size 5444831680
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cefa50b1ef7345d95404cedd2be14686543ee4665adf81c31f4626fa3f587c65
|
| 3 |
+
size 5315176896
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c2d12d650c1b3eccd9c6e8a566d216bac59f3e3eefc9b4652b8c2a084d4c7db8
|
| 3 |
+
size 6254199232
|
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7741e85e820562de9e6503b8d97579a5dbfbcfdd388ffd3862244caea52e3263
|
| 3 |
+
size 8098525632
|
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: unsloth/Qwen2.5-Coder-7B-Instruct
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
library_name: transformers
|
| 6 |
+
license: apache-2.0
|
| 7 |
+
tags:
|
| 8 |
+
- unsloth
|
| 9 |
+
- transformers
|
| 10 |
+
- code
|
| 11 |
+
- qwen
|
| 12 |
+
- qwen-coder
|
| 13 |
+
- codeqwen
|
| 14 |
+
- TensorBlock
|
| 15 |
+
- GGUF
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
<div style="width: auto; margin-left: auto; margin-right: auto">
|
| 19 |
+
<img src="https://i.imgur.com/jC7kdl8.jpeg" alt="TensorBlock" style="width: 100%; min-width: 400px; display: block; margin: auto;">
|
| 20 |
+
</div>
|
| 21 |
+
<div style="display: flex; justify-content: space-between; width: 100%;">
|
| 22 |
+
<div style="display: flex; flex-direction: column; align-items: flex-start;">
|
| 23 |
+
<p style="margin-top: 0.5em; margin-bottom: 0em;">
|
| 24 |
+
Feedback and support: TensorBlock's <a href="https://x.com/tensorblock_aoi">Twitter/X</a>, <a href="https://t.me/TensorBlock">Telegram Group</a> and <a href="https://x.com/tensorblock_aoi">Discord server</a>
|
| 25 |
+
</p>
|
| 26 |
+
</div>
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
## unsloth/Qwen2.5-Coder-7B-Instruct - GGUF
|
| 30 |
+
|
| 31 |
+
This repo contains GGUF format model files for [unsloth/Qwen2.5-Coder-7B-Instruct](https://huggingface.co/unsloth/Qwen2.5-Coder-7B-Instruct).
|
| 32 |
+
|
| 33 |
+
The files were quantized using machines provided by [TensorBlock](https://tensorblock.co/), and they are compatible with llama.cpp as of [commit b4011](https://github.com/ggerganov/llama.cpp/commit/a6744e43e80f4be6398fc7733a01642c846dce1d).
|
| 34 |
+
|
| 35 |
+
<div style="text-align: left; margin: 20px 0;">
|
| 36 |
+
<a href="https://tensorblock.co/waitlist/client" style="display: inline-block; padding: 10px 20px; background-color: #007bff; color: white; text-decoration: none; border-radius: 5px; font-weight: bold;">
|
| 37 |
+
Run them on the TensorBlock client using your local machine ↗
|
| 38 |
+
</a>
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
## Prompt template
|
| 42 |
+
|
| 43 |
+
```
|
| 44 |
+
<|im_start|>system
|
| 45 |
+
{system_prompt}<|im_end|>
|
| 46 |
+
<|im_start|>user
|
| 47 |
+
{prompt}<|im_end|>
|
| 48 |
+
<|im_start|>assistant
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
## Model file specification
|
| 52 |
+
|
| 53 |
+
| Filename | Quant type | File Size | Description |
|
| 54 |
+
| -------- | ---------- | --------- | ----------- |
|
| 55 |
+
| [Qwen2.5-Coder-7B-Instruct-Q2_K.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q2_K.gguf) | Q2_K | 3.016 GB | smallest, significant quality loss - not recommended for most purposes |
|
| 56 |
+
| [Qwen2.5-Coder-7B-Instruct-Q3_K_S.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q3_K_S.gguf) | Q3_K_S | 3.492 GB | very small, high quality loss |
|
| 57 |
+
| [Qwen2.5-Coder-7B-Instruct-Q3_K_M.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q3_K_M.gguf) | Q3_K_M | 3.808 GB | very small, high quality loss |
|
| 58 |
+
| [Qwen2.5-Coder-7B-Instruct-Q3_K_L.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q3_K_L.gguf) | Q3_K_L | 4.088 GB | small, substantial quality loss |
|
| 59 |
+
| [Qwen2.5-Coder-7B-Instruct-Q4_0.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q4_0.gguf) | Q4_0 | 4.431 GB | legacy; small, very high quality loss - prefer using Q3_K_M |
|
| 60 |
+
| [Qwen2.5-Coder-7B-Instruct-Q4_K_S.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q4_K_S.gguf) | Q4_K_S | 4.458 GB | small, greater quality loss |
|
| 61 |
+
| [Qwen2.5-Coder-7B-Instruct-Q4_K_M.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q4_K_M.gguf) | Q4_K_M | 4.683 GB | medium, balanced quality - recommended |
|
| 62 |
+
| [Qwen2.5-Coder-7B-Instruct-Q5_0.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q5_0.gguf) | Q5_0 | 5.315 GB | legacy; medium, balanced quality - prefer using Q4_K_M |
|
| 63 |
+
| [Qwen2.5-Coder-7B-Instruct-Q5_K_S.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q5_K_S.gguf) | Q5_K_S | 5.315 GB | large, low quality loss - recommended |
|
| 64 |
+
| [Qwen2.5-Coder-7B-Instruct-Q5_K_M.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q5_K_M.gguf) | Q5_K_M | 5.445 GB | large, very low quality loss - recommended |
|
| 65 |
+
| [Qwen2.5-Coder-7B-Instruct-Q6_K.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q6_K.gguf) | Q6_K | 6.254 GB | very large, extremely low quality loss |
|
| 66 |
+
| [Qwen2.5-Coder-7B-Instruct-Q8_0.gguf](https://huggingface.co/tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF/blob/main/Qwen2.5-Coder-7B-Instruct-Q8_0.gguf) | Q8_0 | 8.099 GB | very large, extremely low quality loss - not recommended |
|
| 67 |
+
|
| 68 |
+
|
| 69 |
+
## Downloading instruction
|
| 70 |
+
|
| 71 |
+
### Command line
|
| 72 |
+
|
| 73 |
+
Firstly, install Huggingface Client
|
| 74 |
+
|
| 75 |
+
```shell
|
| 76 |
+
pip install -U "huggingface_hub[cli]"
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
Then, downoad the individual model file the a local directory
|
| 80 |
+
|
| 81 |
+
```shell
|
| 82 |
+
huggingface-cli download tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF --include "Qwen2.5-Coder-7B-Instruct-Q2_K.gguf" --local-dir MY_LOCAL_DIR
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
If you wanna download multiple model files with a pattern (e.g., `*Q4_K*gguf`), you can try:
|
| 86 |
+
|
| 87 |
+
```shell
|
| 88 |
+
huggingface-cli download tensorblock/Qwen2.5-Coder-7B-Instruct-GGUF --local-dir MY_LOCAL_DIR --local-dir-use-symlinks False --include='*Q4_K*gguf'
|
| 89 |
+
```
|