Instructions to use PollardWeights/Qwen2.5-1.5B-Instruct-Pollard 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 PollardWeights/Qwen2.5-1.5B-Instruct-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/Qwen2.5-1.5B-Instruct-Pollard # Run inference directly in the terminal: llama cli -hf PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf PollardWeights/Qwen2.5-1.5B-Instruct-Pollard # Run inference directly in the terminal: llama cli -hf PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
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/Qwen2.5-1.5B-Instruct-Pollard # Run inference directly in the terminal: ./llama-cli -hf PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
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/Qwen2.5-1.5B-Instruct-Pollard # Run inference directly in the terminal: ./build/bin/llama-cli -hf PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
Use Docker
docker model run hf.co/PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
- LM Studio
- Jan
- vLLM
How to use PollardWeights/Qwen2.5-1.5B-Instruct-Pollard with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "PollardWeights/Qwen2.5-1.5B-Instruct-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/Qwen2.5-1.5B-Instruct-Pollard", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
- Ollama
How to use PollardWeights/Qwen2.5-1.5B-Instruct-Pollard with Ollama:
ollama run hf.co/PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
- Unsloth Studio
How to use PollardWeights/Qwen2.5-1.5B-Instruct-Pollard 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 PollardWeights/Qwen2.5-1.5B-Instruct-Pollard 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 PollardWeights/Qwen2.5-1.5B-Instruct-Pollard to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for PollardWeights/Qwen2.5-1.5B-Instruct-Pollard to start chatting
- Pi
How to use PollardWeights/Qwen2.5-1.5B-Instruct-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/Qwen2.5-1.5B-Instruct-Pollard
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": "PollardWeights/Qwen2.5-1.5B-Instruct-Pollard" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use PollardWeights/Qwen2.5-1.5B-Instruct-Pollard with Docker Model Runner:
docker model run hf.co/PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
- Lemonade
How to use PollardWeights/Qwen2.5-1.5B-Instruct-Pollard with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull PollardWeights/Qwen2.5-1.5B-Instruct-Pollard
Run and chat with the model
lemonade run user.Qwen2.5-1.5B-Instruct-Pollard-{{QUANT_TAG}}List all available models
lemonade list
- Hermes Agent
How to use PollardWeights/Qwen2.5-1.5B-Instruct-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/Qwen2.5-1.5B-Instruct-Pollard
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/Qwen2.5-1.5B-Instruct-Pollard
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use PollardWeights/Qwen2.5-1.5B-Instruct-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/Qwen2.5-1.5B-Instruct-Pollard
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/Qwen2.5-1.5B-Instruct-Pollard" \ --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"
Qwen2.5-1.5B-Instruct โ Pollard Weights (memory-fit GGUF)
A memory-fit GGUF build of Qwen/Qwen2.5-1.5B-Instruct, produced by Pollard Weights โ models built for your machine's memory, not for a bit-width chart.
Instead of one bit-width everywhere, the sensitive tensors keep high precision and the bulk carries the compression, with the whole build sized to a target RAM budget. The output is a normal GGUF: it runs in stock llama.cpp, Ollama, or LM Studio unchanged.
Builds โ pick your RAM tier
Three role-aware builds off the same f16 source. All share a Q4_K_M bulk; the sensitive tensors (token embeddings, attention q/k/v/o, norms, routers, output head) are protected at increasing precision as the budget grows. Smaller is faster; larger is higher fidelity.
| file | size | protected @ | for | verified on M4 (16 GB) |
|---|---|---|---|---|
โฆ-Pollard-fit1GB.gguf |
834 MB | q4_K | ~1 GB devices / phones | โ 93.1 tok/s |
โฆ-Pollard-fit2GB.gguf |
1.2 GB | q6_K | ~2 GB (balanced) | โ 69.8 tok/s |
โฆ-Pollard-fit3GB.gguf |
1.5 GB | q8_0 | ~3 GB (max fidelity) | โ 58.0 tok/s |
The idea: a flat Q4_K_M treats every tensor the same. These spend extra bits
where accuracy is most sensitive (attention + embeddings) and take them back on
the FFN bulk โ a smarter Q4, tuned to how much RAM you actually have.
Builder: pollard-fit (drives llama.cpp per-tensor quantization).
Verified
Every build was loaded and generated from on an Apple M4 Mac Mini (16 GB), llama.cpp Metal, before shipping โ measure first, no claim before a number. Each produced coherent, correct output (e.g. "Name three primary colors and one fact about the sky" โ "โฆred, blue, and yellow. The sky is primarily blue due to the scattering of sunlight by the Earth's atmosphere."). Speeds are in the table above.
Run it
Pick the file for your RAM tier (example uses the balanced 2 GB build โ swap the
filename for fit1GB or fit3GB as you like):
# llama.cpp
llama-cli -m Qwen2.5-1.5B-Instruct-Pollard-fit2GB.gguf -p "Hello!"
# Ollama (Modelfile: FROM ./Qwen2.5-1.5B-Instruct-Pollard-fit2GB.gguf)
ollama create qwen2.5-1.5b-pollard -f Modelfile && ollama run qwen2.5-1.5b-pollard
Or point LM Studio at the file โ it's a standard GGUF.
Reproduce it
git clone https://github.com/WestWaters/pollard-weights && cd pollard-weights
./install.sh
# fit the f16 source to your RAM budget โ the number picks the tier:
pollard-fit --gguf Qwen2.5-1.5B-Instruct-f16.gguf --ram 2 --reserve 0.5 \
--out Qwen2.5-1.5B-Instruct-Pollard-fit2GB.gguf
# ladder: --ram 1.2 -> fit1GB (q4_K) ยท --ram 2 -> fit2GB (q6_K) ยท --ram 2.6 -> fit3GB (q8_0)
pollard-fit --plan-only prints the full per-tensor allocation and the exact
llama-quantize command before building anything.
Check your own hardware first
pollard-calc --model Qwen/Qwen2.5-1.5B-Instruct --ram 2 # what CAN this machine do
Credits & license
- Base model: Qwen2.5-1.5B-Instruct by the Qwen team, under Apache-2.0. This build inherits that license.
- Quantization runtime: llama.cpp (ggml-org).
- Method & builder: Pollard Weights โ role- and depth-aware, memory-fit GGUF builds. Apache-2.0.
Doctrine: measure first, no claim before a number.
- Downloads last month
- 314
We're not able to determine the quantization variants.