Instructions to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="pearsonkyle/Ornith-1.0-9B-imatrix-GGUF") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pearsonkyle/Ornith-1.0-9B-imatrix-GGUF", dtype="auto") - llama-cpp-python
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="pearsonkyle/Ornith-1.0-9B-imatrix-GGUF", filename="Ornith-1.0-9B-IQ2_M.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF 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 pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M # Run inference directly in the terminal: llama cli -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M # Run inference directly in the terminal: llama cli -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_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 pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M # Run inference directly in the terminal: ./llama-cli -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_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 pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
Use Docker
docker model run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
- LM Studio
- Jan
- vLLM
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
- SGLang
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with Ollama:
ollama run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
- Unsloth Studio
How to use pearsonkyle/Ornith-1.0-9B-imatrix-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 pearsonkyle/Ornith-1.0-9B-imatrix-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 pearsonkyle/Ornith-1.0-9B-imatrix-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for pearsonkyle/Ornith-1.0-9B-imatrix-GGUF to start chatting
- Pi
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
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": "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_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 pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_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 "pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_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"
- Docker Model Runner
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with Docker Model Runner:
docker model run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
- Lemonade
How to use pearsonkyle/Ornith-1.0-9B-imatrix-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M
Run and chat with the model
lemonade run user.Ornith-1.0-9B-imatrix-GGUF-IQ2_M
List all available models
lemonade list
🧰 1. Files & comparison
Three quants spanning 2 → 5 bit, one variant per bit-width (so ollama run …:IQ2_M / :IQ4_XS / :Q5_K_M all resolve). The 2-bit ships an AWQ build, the 4/5-bit ship plain hybrid imatrix — see the agentic table below for why. FP16 text-trunk reference: 16.69 GiB (not included; fetch from deepreinforce-ai/Ornith-1.0-9B). Vision ships separately as a Q8 mmproj (595 MiB).
| File | Method | Size (GiB) | BPW | PPL (gen) | KLD med (gen) | top_p (gen) | KLD med (tools) | top_p (tools) |
|---|---|---|---|---|---|---|---|---|
| FP16 (reference) | — | 16.69 | 16.000 | 5.8874 | 0.0000 | 100.0% | 0.0000 | 100.0% |
| IQ2_M | AWQ + imatrix | 3.36 | 3.223 | 6.7108 | 0.1163 | 79.73% | 0.3315 | 61.09% |
| IQ4_XS | hybrid imatrix | 4.84 | 4.643 | 5.9446 | 0.0096 | 93.08% | 0.0351 | 74.23% |
| Q5_K_M | hybrid imatrix | 6.02 | 5.779 | 5.9759 | 0.0021 | 96.41% | 0.0083 | 82.45% |
IQ4_XSmatches the near-losslessQ5_K_Mon agentic tool-calling (below) at 20% smaller — a good default.IQ2_Mis the smallest quant that still tool-calls usefully.
🧪 Agentic tool-call fidelity — and why the 2-bit is AWQ
Static KLD/PPL measures how closely the quant's logits track FP16; it does not measure whether the model still uses tools correctly. We replay 25 held-out real agentic-coding sessions (disjoint from calibration) through llama-server, scoring per assistant turn whether the model selects the right tool (tool-sel) and fills the right arguments (param-acc). 3 reps, mean ± σ.
| Quant (3.22 / 4.64 / 5.78 bpw) | tool-sel | param-acc | schema-valid |
|---|---|---|---|
| IQ2_M — imatrix (rejected) | 0.31 ± .08 | 0.05 ± .02 | 0.85 |
| IQ2_M — AWQ (shipped) | 0.54 ± .03 | 0.33 ± .03 | 0.93 |
| IQ4_XS — imatrix (shipped) | 0.65 ± .02 | 0.36 ± .03 | 0.98 |
| Q5_K_M — imatrix (shipped) | 0.64 ± .02 | 0.35 ± .02 | 0.96 |
At 2 bits the plain-imatrix quant is agentically broken: it emits schema-valid tool calls but fills the wrong arguments (5% param-acc) — even though its static tools-KLD (0.30) is better than the AWQ build's (0.33). AWQ's activation-aware channel scaling rescues argument precision at 2-bit (5% → 33% param-acc, +23 pts tool-sel), so the shipped IQ2_M is the AWQ build. At 4-bit the effect reverses (imatrix leads tool-sel 0.65 vs 0.58 and AWQ's RMSNorm fold slightly perturbs general text), so IQ4_XS/Q5_K_M ship plain imatrix. Takeaway: choose the calibration method by the metric you care about — static fidelity ≠ agentic capability.
Sampling:
T=0.25, top_p=0.95, top_k=20, reasoning disabled for eval throughput — absolute scores understate this<think>model, but the relative ranking (the point here) is stable across reps. Harness: Quant-Tunerrun_toolcall_reps.py.
🤖 SWE-rebench (agentic coding, Q5_K_M)
The Q5_K_M trunk is evaluated on 10 real-world coding issues from nebius/SWE-rebench using the OpenAI Agents SDK pointed at a local llama-server. For each issue the agent gets the problem statement and a live bash tool that shells into a dedicated Docker container with the repo checked out at the failing commit; it reads files, runs tests, and edits code until it produces a git diff or hits the step cap. The patch is graded by actually running the repo's FAIL_TO_PASS suite inside the container — pass/fail is real execution, not fuzzy matching. (Full-loop SWE-rebench on the smaller quants is expensive; the §1 tool-call replay is the lighter agentic proxy used to rank them.)
| Metric | Q5_K_M |
|---|---|
| Issues | 10 |
| Patch Rate | 100% (10/10) |
| Pass Rate | 30% (3/10) |
| Max Turns / Timeout | 0% |
| Mean Steps | 20.0 |
| Mean Tokens | 192K |
| Tool Error Rate | 13.9% |
| Mean Wall | 399s |
Sampling:
temperature=0.25, top_p=0.95, top_k=20, max_tokens=32768, ctx=131072, thinking=true. Tested on Apple Silicon (Metal) with the SWE-rebench linux/amd64 images under Docker emulation.
🔬 2. How they were made
🚀 3. Usage
Quick start with Ollama
Each quant is exposed as a tag (the filename's quant suffix):
ollama run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ2_M # 3.4 GiB · AWQ · smallest that tool-calls
ollama run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:IQ4_XS # 4.8 GiB · imatrix · best size/quality
ollama run hf.co/pearsonkyle/Ornith-1.0-9B-imatrix-GGUF:Q5_K_M # 6.0 GiB · imatrix · near-lossless
Building llama.cpp from source (GPU)
apt-get update && apt-get install pciutils build-essential cmake curl libcurl4-openssl-dev -y
git clone https://github.com/ggml-org/llama.cpp
cmake llama.cpp -B llama.cpp/build -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON # -DGGML_CUDA=OFF for CPU/Metal
cmake --build llama.cpp/build --config Release -j --clean-first --target llama-cli llama-server llama-mtmd-cli
cp llama.cpp/build/bin/llama-* llama.cpp/
Running the server (text)
./llama-server \
--model Ornith-1.0-9B-Q5_K_M.gguf \
--ctx-size 16384 \
--n-gpu-layers 999 \
--flash-attn on \
--host 0.0.0.0 --port 1234
Running with vision (image input)
Pass the bundled Q8 projector with --mmproj:
./llama-server \
--model Ornith-1.0-9B-Q5_K_M.gguf \
--mmproj mmproj-Ornith-1.0-9B-Q8_0.gguf \
--ctx-size 16384 --n-gpu-layers 999 --flash-attn on \
--host 0.0.0.0 --port 1234
# or one-shot on an image:
./llama-mtmd-cli -m Ornith-1.0-9B-Q5_K_M.gguf --mmproj mmproj-Ornith-1.0-9B-Q8_0.gguf \
--image photo.jpg -p "Describe this image."
Querying via the OpenAI-compatible API
import json, urllib.request
def ask(content, max_tokens=1024):
body = {
"messages": [{"role": "user", "content": content}],
"max_tokens": max_tokens,
# Ornith is a reasoning model: it emits a <think> chain-of-thought before
# the answer. Give it room, or set enable_thinking False for terse replies.
"chat_template_kwargs": {"enable_thinking": True},
}
req = urllib.request.Request("http://127.0.0.1:1234/v1/chat/completions",
json.dumps(body).encode(),
{"Content-Type": "application/json"})
return json.loads(urllib.request.urlopen(req).read())["choices"][0]["message"]["content"]
print(ask("Write a Python function that reverses a linked list."))
🪪 4. License & attribution
- Licensed MIT, inherited from the base model
deepreinforce-ai/Ornith-1.0-9B. Confirm the current terms on the base model card before redistributing. - Base weights:
deepreinforce-ai/Ornith-1.0-9B— a Qwen3.5-VL–based agentic-coding reasoning model (post-trained on Qwen 3.5 + Gemma 4). - Calibration + quantization performed locally with Quant-Tuner; vendored llama.cpp at commit
f3e1828. The Q5_K_M quant was produced with a hybrid imatrix on the calibration corpora below. - Calibration data (usage logs) scraped using LogMiner.
- Downloads last month
- 904
2-bit
4-bit
5-bit
Model tree for pearsonkyle/Ornith-1.0-9B-imatrix-GGUF
Base model
deepreinforce-ai/Ornith-1.0-9B