Instructions to use cortexso/qwen-qwq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use cortexso/qwen-qwq 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 cortexso/qwen-qwq:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/qwen-qwq:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cortexso/qwen-qwq:Q4_K_M # Run inference directly in the terminal: llama cli -hf cortexso/qwen-qwq: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 cortexso/qwen-qwq:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf cortexso/qwen-qwq: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 cortexso/qwen-qwq:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf cortexso/qwen-qwq:Q4_K_M
Use Docker
docker model run hf.co/cortexso/qwen-qwq:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use cortexso/qwen-qwq with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cortexso/qwen-qwq" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "cortexso/qwen-qwq", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cortexso/qwen-qwq:Q4_K_M
- Ollama
How to use cortexso/qwen-qwq with Ollama:
ollama run hf.co/cortexso/qwen-qwq:Q4_K_M
- Unsloth Desktop
- Pi
How to use cortexso/qwen-qwq with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cortexso/qwen-qwq:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "cortexso/qwen-qwq:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use cortexso/qwen-qwq with Docker Model Runner:
docker model run hf.co/cortexso/qwen-qwq:Q4_K_M
- Lemonade
How to use cortexso/qwen-qwq with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cortexso/qwen-qwq:Q4_K_M
Run and chat with the model
lemonade run user.qwen-qwq-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use cortexso/qwen-qwq with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cortexso/qwen-qwq:Q4_K_M
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 cortexso/qwen-qwq:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use cortexso/qwen-qwq with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cortexso/qwen-qwq:Q4_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "cortexso/qwen-qwq:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload folder using huggingface_hub
Browse files- .gitattributes +10 -0
- qwq-32b-q2_k.gguf +3 -0
- qwq-32b-q3_k_l.gguf +3 -0
- qwq-32b-q3_k_m.gguf +3 -0
- qwq-32b-q3_k_s.gguf +3 -0
- qwq-32b-q4_k_m.gguf +3 -0
- qwq-32b-q4_k_s.gguf +3 -0
- qwq-32b-q5_k_m.gguf +3 -0
- qwq-32b-q5_k_s.gguf +3 -0
- qwq-32b-q6_k.gguf +3 -0
- qwq-32b-q8_0.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,13 @@ 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 |
+
qwq-32b-q2_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
qwq-32b-q3_k_l.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
qwq-32b-q3_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
qwq-32b-q3_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
qwq-32b-q4_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
qwq-32b-q4_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
qwq-32b-q5_k_m.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
qwq-32b-q5_k_s.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
qwq-32b-q6_k.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
qwq-32b-q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
qwq-32b-q2_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:053a95a4765a31a764515ebd98ca16a324915977817915b1876daca0ad658141
|
| 3 |
+
size 12313098784
|
qwq-32b-q3_k_l.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bc61c2a3e75cc1268e64cd4d07119eee9e5b84d710e868e6255e9cc3f8197d91
|
| 3 |
+
size 17247078944
|
qwq-32b-q3_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af704c572508801f782931d3ba1408903f62d57a80da76444f68075607ea17ce
|
| 3 |
+
size 15935048224
|
qwq-32b-q3_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9cd90c01c5e785e749f61bde31261abb89742bae1088cbd7a687276e6a222e83
|
| 3 |
+
size 14392330784
|
qwq-32b-q4_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ecb2952f63833766e7aba203f1a4b683122b7fe4a4c90291c56f7141d8a2cec
|
| 3 |
+
size 19851336224
|
qwq-32b-q4_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85917a242062f1426febba401d6396473cf2453ed728d0ca997965207ed2b38b
|
| 3 |
+
size 18784410144
|
qwq-32b-q5_k_m.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f4f8f3e8eb4031d17413c93a6987b7f05edde832f7e9d1ecb24a0707997c6ec
|
| 3 |
+
size 23262157344
|
qwq-32b-q5_k_s.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7d1488532fec19396fe02b082884759a933e83a2c3390aeb9089e9b586416c1d
|
| 3 |
+
size 22638254624
|
qwq-32b-q6_k.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a1ea9a01b861b019a649079cb22d8f01f0b21a8fb83728f69d0d15e03a116640
|
| 3 |
+
size 26886154784
|
qwq-32b-q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fa06c0a39d34353954f96fba2904386d9b080edf8e85ab52c67077f5671de75f
|
| 3 |
+
size 34820885024
|