Instructions to use tchbcb/nqwen27 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 tchbcb/nqwen27 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 tchbcb/nqwen27:IQ2_XS # Run inference directly in the terminal: llama cli -hf tchbcb/nqwen27:IQ2_XS
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tchbcb/nqwen27:IQ2_XS # Run inference directly in the terminal: llama cli -hf tchbcb/nqwen27:IQ2_XS
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf tchbcb/nqwen27:IQ2_XS # Run inference directly in the terminal: ./build/bin/llama cli -hf tchbcb/nqwen27:IQ2_XS
Use Docker
docker model run hf.co/tchbcb/nqwen27:IQ2_XS
- Llama new
- LM Studio
- Jan
- Ollama
How to use tchbcb/nqwen27 with Ollama:
ollama run hf.co/tchbcb/nqwen27:IQ2_XS
- Unsloth Desktop
- Pi
How to use tchbcb/nqwen27 with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/nqwen27:IQ2_XS
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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tchbcb/nqwen27:IQ2_XS" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tchbcb/nqwen27 with Docker Model Runner:
docker model run hf.co/tchbcb/nqwen27:IQ2_XS
- Lemonade
How to use tchbcb/nqwen27 with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tchbcb/nqwen27:IQ2_XS
Run and chat with the model
lemonade run user.nqwen27-IQ2_XS
List all available models
lemonade list
- Hermes Agent
How to use tchbcb/nqwen27 with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/nqwen27:IQ2_XS
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:9931/v1 hermes config set model.default tchbcb/nqwen27:IQ2_XS
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tchbcb/nqwen27 with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tchbcb/nqwen27:IQ2_XS
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:9931/v1 \ --custom-model-id "tchbcb/nqwen27:IQ2_XS" \ --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 kaggle_oneclick_cell.py with huggingface_hub
Browse files- kaggle_oneclick_cell.py +18 -0
kaggle_oneclick_cell.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# %% Kaggle Notebook 一键 cell:Qwen3.8-27B GSQ-RCO (IQ2_XS) + OpenAI 兼容 API + aitun 隧道
|
| 2 |
+
# 使用:新建 Kaggle Notebook(GPU T4×2,Internet 开启),本 cell 粘贴运行即可。
|
| 3 |
+
import os, subprocess
|
| 4 |
+
|
| 5 |
+
AITUN_API_KEY = "" # ← 填入你的 aitun key(留空则只起本机 API,不出公网子域名)
|
| 6 |
+
os.environ["AITUN_API_KEY"] = AITUN_API_KEY
|
| 7 |
+
|
| 8 |
+
CMD = (
|
| 9 |
+
"curl -fsSL https://huggingface.co/tchbcb/nqwen27/resolve/main/deploy_oneclick.sh "
|
| 10 |
+
"-o /root/deploy_oneclick.sh && bash /root/deploy_oneclick.sh"
|
| 11 |
+
)
|
| 12 |
+
ret = subprocess.run(CMD, shell=True)
|
| 13 |
+
raise SystemExit(ret.returncode)
|
| 14 |
+
|
| 15 |
+
# 部署完成后:
|
| 16 |
+
# 本机 API: http://127.0.0.1:8080/v1/chat/completions (Bearer 1234)
|
| 17 |
+
# 公网 API: 见输出日志中 aitun 打印的 https://<子域名>.aitun.cc
|
| 18 |
+
# 查看服务日志: !tail -n 40 /root/nqwen27/llama_server.log
|