Instructions to use tensorblock/QWQCoder-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/QWQCoder-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/QWQCoder-GGUF", dtype="auto") - llama-cpp-python
How to use tensorblock/QWQCoder-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/QWQCoder-GGUF", filename="QWQCoder-Q2_K.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use tensorblock/QWQCoder-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/QWQCoder-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/QWQCoder-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/QWQCoder-GGUF:Q2_K # Run inference directly in the terminal: llama-cli -hf tensorblock/QWQCoder-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/QWQCoder-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/QWQCoder-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/QWQCoder-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/QWQCoder-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/QWQCoder-GGUF:Q2_K
- LM Studio
- Jan
- Ollama
How to use tensorblock/QWQCoder-GGUF with Ollama:
ollama run hf.co/tensorblock/QWQCoder-GGUF:Q2_K
- Unsloth Studio new
How to use tensorblock/QWQCoder-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/QWQCoder-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/QWQCoder-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/QWQCoder-GGUF to start chatting
- Pi new
How to use tensorblock/QWQCoder-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/QWQCoder-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/QWQCoder-GGUF:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use tensorblock/QWQCoder-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/QWQCoder-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/QWQCoder-GGUF:Q2_K
Run Hermes
hermes
- Docker Model Runner
How to use tensorblock/QWQCoder-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/QWQCoder-GGUF:Q2_K
- Lemonade
How to use tensorblock/QWQCoder-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/QWQCoder-GGUF:Q2_K
Run and chat with the model
lemonade run user.QWQCoder-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- QWQCoder-Q3_K_L.gguf +0 -3
- QWQCoder-Q3_K_M.gguf +0 -3
- QWQCoder-Q3_K_S.gguf +0 -3
- QWQCoder-Q4_0.gguf +0 -3
- QWQCoder-Q4_K_M.gguf +0 -3
- QWQCoder-Q4_K_S.gguf +0 -3
- QWQCoder-Q5_0.gguf +0 -3
- QWQCoder-Q5_K_M.gguf +0 -3
- QWQCoder-Q5_K_S.gguf +0 -3
- QWQCoder-Q6_K.gguf +0 -3
- QWQCoder-Q8_0.gguf +0 -3
QWQCoder-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5f56ffcaf3f847411c05c389e22730ea360a501c3a1bd3b9a0eb2036bbe62471
|
| 3 |
-
size 9113122048
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:880dc2d0fa000212de64e7db8bb1c3baf6560ff5fefd52e79b5a69936c53b79e
|
| 3 |
-
size 8457762048
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c5d9d26fb8580ec8816af8a0522cd7af371fed99c7129cb056597418ffeae309
|
| 3 |
-
size 7685747968
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e95938e1bbca8af275a9feeaedd6b84231dde18a3a10c7037595a698d3866596
|
| 3 |
-
size 9861399808
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:5bab8fcc1e09fcb1cfc9ff3e55f46a1f5af961715c9ed09393c5bf5f75a1700e
|
| 3 |
-
size 10466952448
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:87a6d7d76941e7393c152ae7424d46aa500b57ce54a707e75001178e4da5de92
|
| 3 |
-
size 9934800128
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:e352a6da33a17426937cc69d5d42546517c56028d811b444a971e98dca5402a8
|
| 3 |
-
size 11909072128
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:46d71363db4678612e28a8a365de6f680c7edc7be514913d82bab9c2759d45ec
|
| 3 |
-
size 12221023488
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c9a7fb5934393f85606417ae2c4a37571ad6003f03b6310367810fd6694f29a7
|
| 3 |
-
size 11909072128
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:eac0dbc0c3bebfb8e4e5bfdd45dbcc93e6a3d559eff08eeb655280a355bdc1da
|
| 3 |
-
size 14084723968
|
|
|
|
|
|
|
|
|
|
|
|
QWQCoder-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:8beeb364730bf3b72057693c72ba4a6fe16da4d2b0c607ed217253f0bdfce802
|
| 3 |
-
size 18240648448
|
|
|
|
|
|
|
|
|
|
|
|