Instructions to use tensorblock/Qwen2.5-Coder-3B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/Qwen2.5-Coder-3B-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/Qwen2.5-Coder-3B-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/Qwen2.5-Coder-3B-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-3B-GGUF", filename="Qwen2.5-Coder-3B-Q2_K.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/Qwen2.5-Coder-3B-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-3B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Qwen2.5-Coder-3B-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-3B-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/Qwen2.5-Coder-3B-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-3B-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/Qwen2.5-Coder-3B-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-3B-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/Qwen2.5-Coder-3B-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/Qwen2.5-Coder-3B-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/Qwen2.5-Coder-3B-GGUF with Ollama:
ollama run hf.co/tensorblock/Qwen2.5-Coder-3B-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/Qwen2.5-Coder-3B-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-3B-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-3B-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-3B-GGUF to start chatting
- Docker Model Runner
How to use tensorblock/Qwen2.5-Coder-3B-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/Qwen2.5-Coder-3B-GGUF:Q2_K
- Lemonade
How to use tensorblock/Qwen2.5-Coder-3B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/Qwen2.5-Coder-3B-GGUF:Q2_K
Run and chat with the model
lemonade run user.Qwen2.5-Coder-3B-GGUF-Q2_K
List all available models
lemonade list
Keep Q2_K/Q3_K_M gguf only
Browse files- Qwen2.5-Coder-3B-Q3_K_L.gguf +0 -3
- Qwen2.5-Coder-3B-Q3_K_S.gguf +0 -3
- Qwen2.5-Coder-3B-Q4_0.gguf +0 -3
- Qwen2.5-Coder-3B-Q4_K_M.gguf +0 -3
- Qwen2.5-Coder-3B-Q4_K_S.gguf +0 -3
- Qwen2.5-Coder-3B-Q5_0.gguf +0 -3
- Qwen2.5-Coder-3B-Q5_K_M.gguf +0 -3
- Qwen2.5-Coder-3B-Q5_K_S.gguf +0 -3
- Qwen2.5-Coder-3B-Q6_K.gguf +0 -3
- Qwen2.5-Coder-3B-Q8_0.gguf +0 -3
Qwen2.5-Coder-3B-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:b4766c78a58de3f43de08da4d660a0a49345142f68f91e8b6053c4bc8fae553c
|
| 3 |
-
size 1707389280
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:6ebc3fc4eaaf6e880b9e95d0f21adc8161c116a0d9735264f654a4c00fe476c9
|
| 3 |
-
size 1454354784
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:499401079f4fa1f3d9a9c61c0d1c2caf4135727f0b1e531ddf99bda20acefb1f
|
| 3 |
-
size 1822847328
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e6dd1021bc0a48df4aa8195d4ab1b66afbf4e2cf449ac293c7978d5100ff23d2
|
| 3 |
-
size 1929900384
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0f3dd93dd39a872067e22786f5c9bdffd51fa510d262b6e7af7a62c07de9978e
|
| 3 |
-
size 1834381664
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:416a384452aa8e77b61656ef558ef6c372e0fd6f233836023ca97ebb412abf69
|
| 3 |
-
size 2169663840
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f0b6e8140d0c19938609d9f982bc0a73eb4d3f5c95249d1ff994cfe2d5fbee79
|
| 3 |
-
size 2224812384
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:f223457c4c9fb9895885daf4bced41ec291d38b5a3524806e0b3b8178b08ca29
|
| 3 |
-
size 2169663840
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:ef2fc4f1a1cc87dc677b779548393a31a7466a3d2f68e662418fdd07967ce462
|
| 3 |
-
size 2538156384
|
|
|
|
|
|
|
|
|
|
|
|
Qwen2.5-Coder-3B-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:7d5575d87090985d0f2a0d08631311533a07258a0f6bdc19a20cc90d5a4e3442
|
| 3 |
-
size 3285473632
|
|
|
|
|
|
|
|
|
|
|
|