Instructions to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF 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 Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-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 Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
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 Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
Use Docker
docker model run hf.co/Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-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": "Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
- Ollama
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF with Ollama:
ollama run hf.co/Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF: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:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF with Docker Model Runner:
docker model run hf.co/Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
- Lemonade
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Ornith-1.5-9B-CodeAlpaca-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-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 Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF: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:9931/v1 hermes config set model.default Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF: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:9931/v1 \ --custom-model-id "Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF: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"
Ornith-1.5-9B-CodeAlpaca โ GGUF
Author / fine-tuning / conversion: Irfan Uruchi
Upstream model: ornith-ai/Ornith-1.5-9B
Files and results
I fine-tuned Ornith-1.5-9B using distributed MLX QLoRA, merged the adapter, and converted the merged checkpoint to an F16 GGUF source. Q4_K_M and Q6_K were quantized independently from that corrected source.
| File | Tasks passing | Assertions passing | Fully annotated functions |
|---|---|---|---|
Ornith-1.5-9B-CodeAlpaca-NormFix-Q4_K_M.gguf |
29/30 | 119/121 | 1/30 |
Ornith-1.5-9B-CodeAlpaca-NormFix-Q6_K.gguf |
29/30 | 118/121 | 1/30 |
Conversion and scoring
The merged Qwen3.5-style MLX checkpoint had already incorporated the RMSNorm weight offset. An initial GGUF conversion added the offset again and produced corrupted text. I corrected that operation in an isolated llama.cpp converter, then regenerated F16 GGUF and the Q4_K_M/Q6_K variants. The converter snapshot was 690b87d88151dbd775bb6eff5581663688785928; the source held 427 named tensors, including 24 recurrent convolution tensors of shape (8192, 4, 1). The generated GGUF contained 379 tensors. No MTP head was exported.
The original Q4_K_M scoring run reported 28/30 tasks and 115/121 assertions because its extractor dropped a required top-level import re. Re-scoring the archived generation, retaining imports and rerunning the same assertions, produced 29/30 and 119/121. The Q6_K import-aware result was 29/30 and 118/121. The generated responses and original score files were preserved.
Remaining failures: Q4_K_M double-counted the center cell in matrix_diagonal_sum (two assertions). Q6_K failed product_except_self by indexing beyond the end of the input in its suffix loop (three assertions).
All results are from the same custom 30-prompt/121-assertion suite, with one deterministic generation per prompt; see the evaluation record. Inference backends differ, so generation times are not directly normalized throughput measurements.
Inference
With a llama.cpp build that supports the Qwen3.5 hybrid architecture and its Jinja chat template:
llama-cli -m Ornith-1.5-9B-CodeAlpaca-NormFix-Q4_K_M.gguf --jinja -cnv
Sources and credit
- Fine-tuning, GGUF conversion fix and evaluation: Irfan Uruchi.
- Upstream weights: Ornith AI, Ornith-1.5-9B (upstream repository declares MIT).
- Training data: CodeAlpaca-20k by Sahil Chaudhary; original project. See the training report for the source fingerprint and split ancestry.
Release terms
I release my fine-tuning and conversion contributions for noncommercial research and evaluation under CC BY-NC 4.0, to the extent I hold those rights. This does not replace Ornith's upstream MIT terms, change the original CodeAlpaca dataset terms, or grant rights held by third parties. No raw CodeAlpaca dataset files are distributed here.
- Downloads last month
- 205
4-bit
6-bit
Model tree for Irfanuruchi/Ornith-1.5-9B-CodeAlpaca-GGUF
Base model
ornith-ai/Ornith-1.5-9B