Instructions to use PollardWeights/Penjing-27B-Pollard with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Trellis
How to use PollardWeights/Penjing-27B-Pollard with Trellis:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use PollardWeights/Penjing-27B-Pollard 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 PollardWeights/Penjing-27B-Pollard:Q2_K # Run inference directly in the terminal: llama cli -hf PollardWeights/Penjing-27B-Pollard:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf PollardWeights/Penjing-27B-Pollard:Q2_K # Run inference directly in the terminal: llama cli -hf PollardWeights/Penjing-27B-Pollard: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 PollardWeights/Penjing-27B-Pollard:Q2_K # Run inference directly in the terminal: ./llama-cli -hf PollardWeights/Penjing-27B-Pollard: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 PollardWeights/Penjing-27B-Pollard:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf PollardWeights/Penjing-27B-Pollard:Q2_K
Use Docker
docker model run hf.co/PollardWeights/Penjing-27B-Pollard:Q2_K
- LM Studio
- Jan
- vLLM
How to use PollardWeights/Penjing-27B-Pollard with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PollardWeights/Penjing-27B-Pollard" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "PollardWeights/Penjing-27B-Pollard", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/PollardWeights/Penjing-27B-Pollard:Q2_K
- Ollama
How to use PollardWeights/Penjing-27B-Pollard with Ollama:
ollama run hf.co/PollardWeights/Penjing-27B-Pollard:Q2_K
- Unsloth Desktop
- Pi
How to use PollardWeights/Penjing-27B-Pollard with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PollardWeights/Penjing-27B-Pollard:Q2_K
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": "PollardWeights/Penjing-27B-Pollard:Q2_K" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use PollardWeights/Penjing-27B-Pollard with Docker Model Runner:
docker model run hf.co/PollardWeights/Penjing-27B-Pollard:Q2_K
- Lemonade
How to use PollardWeights/Penjing-27B-Pollard with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PollardWeights/Penjing-27B-Pollard:Q2_K
Run and chat with the model
lemonade run user.Penjing-27B-Pollard-Q2_K
List all available models
lemonade list
- Hermes Agent
How to use PollardWeights/Penjing-27B-Pollard with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PollardWeights/Penjing-27B-Pollard: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 PollardWeights/Penjing-27B-Pollard:Q2_K
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PollardWeights/Penjing-27B-Pollard with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf PollardWeights/Penjing-27B-Pollard:Q2_K
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 "PollardWeights/Penjing-27B-Pollard:Q2_K" \ --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"
Penjing-27B -- Pollard
Pollard shrank this model: 54.64 GB (f16) -> 6.53 GB -- 88% smaller, 8.4x down.
The smallest rung here; larger, higher-fidelity rungs are listed below.
format this model's size f16 54.64 GB Q8_0 ~28.96 GB Q6_K 22.43 GB Q4_K_M ~15.85 GB PollardMix (this repo's IQ1_KT) 6.53 GB
Pollard builds of Qwen/Qwen3.8-27B made with Pollard Weights -- a ladder of measured-allocation quants (bits placed by per-layer sensitivity, not a uniform crush).
Standard GGUF -- runs in stock llama.cpp / ik_llama.cpp, Ollama, LM Studio, except where noted. IQ2_KT, IQ1_KT need ik_llama.cpp: their allocation puts ik_llama-only atoms on the tensors it protects. The rest run anywhere.
Model details
| Parameter count | ~27.3B |
| Architecture | qwen3_5 |
| Input support | text, image |
| imatrix | yes -- see calibration |
| Perplexity measured | yes -- table below |
Which file should I choose?
Every rung is the same weights, sized to a different RAM budget by the measured allocation. Pick the largest one that fits your machine with room for context:
- ~24.4 GB RAM / VRAM ->
Q6_K(22.43 GB). - ~17.5 GB RAM / VRAM ->
IQ4_XS(15.47 GB). - ~14.9 GB RAM / VRAM ->
IQ3_S(12.94 GB). - ~9.4 GB RAM / VRAM ->
IQ2_KT(7.36 GB). (ik_llama.cpp) - ~9.2 GB RAM / VRAM ->
IQ2_XXS(7.25 GB). - ~8.5 GB RAM / VRAM ->
IQ1_KT(6.53 GB). (ik_llama.cpp)
Available files (wikitext2 test, -c 2048)
f16 reference PPL 4.1422.
| file | PPL | size | Mean KLD | Top-1 agree | runs in | notes |
|---|---|---|---|---|---|---|
Penjing-27B-IQ1_KT.gguf |
5.7864 | 6.53 GB | 0.5513 | 75.88% | ik_llama | smallest -- +40% vs f16 |
Penjing-27B-IQ2_XXS.gguf |
5.4312 | 7.25 GB | 0.5142 | 76.38% | any llama.cpp | +31% vs f16 |
Penjing-27B-IQ2_KT.gguf |
5.0817 | 7.36 GB | 0.4217 | 79.10% | ik_llama | recommended default -- +23% vs f16 |
Penjing-27B-IQ3_S.gguf |
-- | 12.94 GB | -- | -- | any llama.cpp | |
Penjing-27B-IQ4_XS.gguf |
-- | 15.47 GB | -- | -- | any llama.cpp | |
Penjing-27B-Q6_K.gguf |
-- | 22.43 GB | -- | -- | any llama.cpp | largest |
Top-1 agree = share of tokens where the rung's most-likely token is the same one the f16 would have picked (llama-perplexity's Same top p). Higher is closer to the original model.
Multimodal
Vision needs the projector shipped alongside: mmproj-Penjing-27B-bf16.gguf -- download it too and pass it with --mmproj. It is not quantized; it is small and the text ladder is where the size lives.
llama-server -m Penjing-27B-IQ1_KT.gguf --mmproj mmproj-Penjing-27B-bf16.gguf -ngl 99
Download a specific file
pip install -U "huggingface_hub[cli]"
hf download PollardWeights/Penjing-27B-Pollard \
--include "Penjing-27B-IQ1_KT.gguf" --local-dir ./
How to run
IQ1_KT is built on ik_llama-only atoms, so it runs with ik_llama.cpp:
llama-cli -m Penjing-27B-IQ1_KT.gguf -ngl 99 -p "Explain why the sky is blue."
llama-server -m Penjing-27B-IQ1_KT.gguf -ngl 99
For stock llama.cpp, Ollama or LM Studio, use Q6_K instead:
llama-server -hf PollardWeights/Penjing-27B-Pollard:Q6_K
llama-cli -m Penjing-27B-Q6_K.gguf -ngl 99 -p "Explain why the sky is blue."
imatrix (calibration)
The importance matrix (Qwen__Qwen3.8-27B.dat, included) was computed on a mixed-domain corpus so the matrix sees every register the model serves.
ARM / AVX
llama.cpp repacks weights into an interleaved layout at load time for faster inference on ARM and AVX machines -- no special file needed, online repacking covers these quants. The old Q4_0_4_4/4_8/8_8 variants are not required.
Errata
IQ2_KT,IQ1_KTcarry ik_llama-only atoms and need ik_llama.cpp to run; stock llama.cpp rejects any ggml type above 42 outright. Checked withpollard-ggufcheck, from the files' tensor types rather than their names.- Measured allocation places bits by per-layer sensitivity under a size budget.
- Single machine; replication invited.
Credits & license
- Base model:
Qwen/Qwen3.8-27B - Quantization tooling: llama.cpp (ggml-org)
- Method + tooling: Pollard Weights -- measure first, no claim before a number.
- License:
apache-2.0, inherited from the base model.
Built with Pollard Weights -- frontier models, small hardware, no compromise.
- Downloads last month
- 1,123
Model tree for PollardWeights/Penjing-27B-Pollard
Base model
Qwen/Qwen3.8-27B