Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
ornith
qwen3
self-distillation
awq
4-bit precision
reasoning
vllm
sglang
conversational
compressed-tensors
Run this model with HF Jobs
Run KC-Informatics/Crow-9B-AWQ on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/KC-Informatics/Crow-9B-AWQ. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KC-Informatics/Crow-9B-AWQ on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/KC-Informatics/Crow-9B-AWQ. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Instructions to use KC-Informatics/Crow-9B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KC-Informatics/Crow-9B-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KC-Informatics/Crow-9B-AWQ") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("KC-Informatics/Crow-9B-AWQ") model = AutoModelForMultimodalLM.from_pretrained("KC-Informatics/Crow-9B-AWQ", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KC-Informatics/Crow-9B-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KC-Informatics/Crow-9B-AWQ" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KC-Informatics/Crow-9B-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KC-Informatics/Crow-9B-AWQ
- SGLang
How to use KC-Informatics/Crow-9B-AWQ 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 "KC-Informatics/Crow-9B-AWQ" \ --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": "KC-Informatics/Crow-9B-AWQ", "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 "KC-Informatics/Crow-9B-AWQ" \ --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": "KC-Informatics/Crow-9B-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use KC-Informatics/Crow-9B-AWQ with Docker Model Runner:
docker model run hf.co/KC-Informatics/Crow-9B-AWQ
Clearer pages: one page per model, plain words, graphs from the measured results
Browse filesFiles changed (5)
- .gitattributes+2
- README.md+116-47
- banner.png
- chart_overall.pngAdded
- chart_science.pngAdded
34 unmodified lines35363734 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -textbanner.png filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text34 unmodified lines353637383934 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -textbanner.png filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -textchart_science.png filter=lfs diff=lfs merge=lfs -textchart_overall.png filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647---license: apache-2.0base_model: KC-Informatics/Crow-9Bbase_model_relation: quantizedtags:- ornith- qwen3- self-distillation- awq- 4-bit- reasoning- vllm- sglanglanguage:- enpipeline_tag: text-generationlibrary_name: transformers---# Crow-9B-AWQ4-bit GDN-protected `AWQ_W4A16` quantized weights for **[Crow-9B](https://huggingface.co/KC-Informatics/Crow-9B)** (`9.07 GB` total, verified inside **10.2 GiB VRAM** on a 12 GB budget). See the unified [Crow-9B model card](https://huggingface.co/KC-Informatics/Crow-9B) for the full write-up, benchmarks, and BF16 comparison.## Quick facts- **Quantization:** True `AWQ_W4A16` (`llmcompressor`, zero fallback), calibrated on 128 verified Crow reasoning traces (1,024 tokens each).- **GDN protection:** Hybrid Gated DeltaNet recurrent projections (`in_proj_a`, `in_proj_b`, `dt_proj`) and vision layers stay in full precision so speculative decoding (`Ornith-1.5-9B-DFlash`) keeps 100% acceptance (`3.483` vs `3.498`).- **Speed (RTX PRO 6000 w/ DFlash):** **407.1 tok/s** single-stream (`1.79x` faster than BF16) and **1,500.5 tok/s** across 8 concurrent streams.- **Quality:** Statistically lossless vs BF16 on `AA-PUBLIC-180` (`N=1`, McNemar `p = 0.572`).## How to run it```bashvllm serve KC-Informatics/Crow-9B-AWQ --port 8000 \--trust-remote-code --gpu-memory-utilization 0.90 --max-model-len 32768 \--reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder \--speculative-config '{"model": "ornith-ai/Ornith-1.5-9B-DFlash", "method": "dflash", "num_speculative_tokens": 8}'huggingface-cli download KC-Informatics/Crow-9B-AWQ nudge.py --local-dir .python nudge.py --upstream http://127.0.0.1:8000 --port 8001```## Licence and creditApache 2.0, matching `ornith-ai/Ornith-1.5-9B` and `ornith-ai/Ornith-1.5-9B-DFlash` by Ornith AI. `nudge.py` is Apache 2.0 by KC Informatics.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116---license: apache-2.0base_model: KC-Informatics/Crow-9Bbase_model_relation: quantizedtags:- ornith- qwen3- self-distillation- awq- 4-bit- reasoning- vllm- sglanglanguage:- enpipeline_tag: text-generationlibrary_name: transformers---# Crow-9B> You are on **the 4-bit download** (`KC-Informatics/Crow-9B-AWQ`). The other size is [`KC-Informatics/Crow-9B`](https://huggingface.co/KC-Informatics/Crow-9B). Both are the same model and share this page.The small one. Crow started as Ornith 1.5 9B, a model that often thinks until it runs out of room and then returns nothing. We taught it, using its own shortest correct answers, to stop overthinking and answer.With the small helper included in this repo it answered **54 of 60 graduate-level science questions**. DeepSeek V4.1 Flash, a 671B cloud model, answered 55. Our 27B model answered 53. The 4-bit download runs on a 12 GB graphics card.## Two downloads, one model| | 4-bit | Full size ||---|---|---|| Repo | [`KC-Informatics/Crow-9B-AWQ`](https://huggingface.co/KC-Informatics/Crow-9B-AWQ) | [`KC-Informatics/Crow-9B`](https://huggingface.co/KC-Informatics/Crow-9B) || Download | 9.1 GB | 19.3 GB || Graphics memory | 10.2 GB in use inside a 12 GB limit (measured, without the draft model) | The weights alone are 18 GB, so a 24 GB card or larger || Pick it if | You have a 12 or 16 GB card. | You have the memory, or want to compress or train it further yourself. |## What we changed, in plain wordsWe gave Ornith 1.5 9B 499 fresh practice problems, checked beforehand to share nothing with the test questions. For each problem it solved, we kept its shortest working that reached a correct answer, checked by script. That gave 569 examples from 418 solved problems. We then trained the model briefly on those examples, so it learned its own most direct route to an answer.The result is the same model with the same knowledge, but it finishes.<details><summary>For the technically minded</summary>- A rank-32 LoRA (alpha 64) on the attention and MLP projections, 2 epochs, 144 steps, with a KL term holding it close to the original model. Merged into the weights; the vision weights are untouched.- The 499 practice prompts were checked for 14-word overlaps against GPQA Diamond, AIME 2026, IFEval and LiveCodeBench v6. None were found.- After the merge the model still picks the same next token as the original 95.7% of the time on ordinary text, so the draft model `ornith-ai/Ornith-1.5-9B-DFlash` keeps working.- 4-bit build: AWQ (W4A16, `llmcompressor`), calibrated on 128 verified practice answers, with the gated recurrent projections kept at full precision.- Full recipe and counts: `alteration_manifest.json`.</details>## Results by subject| | Crow-9B with the helper | Crow-9B without it | Original Qwen 3.8 27B | DeepSeek V4.1 Flash (671B) ||---|---:|---:|---:|---:|| Science (GPQA Diamond, 60 questions) | 54 | 46 | 46 | 55 || Maths (AIME 2026, 30 questions) | 20 | 20 | 18 | 27 || Coding (LiveCodeBench v6, 40 questions) | 21 | 17 | 20 | 29 || Following instructions (IFEval, 30 questions) | 20 | 21 | 26 | 26 || Long documents (AA-LCR, 20 questions) | 17 | 15 | 14 | 17 || **All 180** | **132** | **119** | **124** | **154** |These scores were measured on the full-size weights. The 4-bit build has had a load check, not the full 180 questions: inside a 12 GB limit it used 10.2 GB and answered four short prompts correctly, one of them a tool call.## Run it```bash# 4-bit, on a 12 GB cardvllm serve KC-Informatics/Crow-9B-AWQ --port 8000 \--trust-remote-code --gpu-memory-utilization 0.95 --max-model-len 32768 --max-num-seqs 2 \--reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder# full size, 24 GB or more: the same command with KC-Informatics/Crow-9B```Needs vLLM 0.34 or newer. With more memory to spare you can add the draft model for extra speed. It did not fit inside 12 GB in our check:```bash--speculative-config '{"model": "ornith-ai/Ornith-1.5-9B-DFlash", "method": "dflash", "num_speculative_tokens": 8}'```## The helper: `nudge.py`Every repo includes `nudge.py`, one small file that sits between your app and the model. Thinking models sometimes use up their whole allowance thinking and never give an answer. When that happens the helper asks the model, once, to conclude from the working it has already done. It makes one attempt per question. It does not retry, vote between several answers, or call a second model.It matters most for Crow: 119 of 180 without it, 132 with it.```bashpython nudge.py --upstream http://127.0.0.1:8000 --port 8001```Then point your app at `http://127.0.0.1:8001/v1` instead of the model server.## How we tested- 180 public test questions: 60 science (GPQA Diamond), 30 maths (AIME 2026), 40 coding (LiveCodeBench v6), 30 on following instructions (IFEval) and 20 on long documents (AA-LCR).- One attempt per question, graded by script. No retries and no picking the best of several answers.- This is our own run, not an official leaderboard. With 180 questions, a difference of a few questions between two models is noise.- The files published here were rebuilt from the same recipes as the ones we tested.- Tool calling works with the commands on each page. We checked it live on the 4-bit Crow. We have not run a tool-use benchmark.## What it is notCrow keeps the safety behaviour of Ornith 1.5 9B. If you want the model that refuses less, that is [Raven-27B](https://huggingface.co/KC-Informatics/Raven-27B-AWQ).## Licence and creditApache 2.0, the same as `ornith-ai/Ornith-1.5-9B` and its draft model by Ornith AI. `nudge.py` is Apache 2.0.
.gitattributes+2
README.md+116-47
banner.png

Large File Pointer Details
- SHA256: 5751043b070a56e7ed057f619c79cc01b163e9536f6329098385877da398c9e5
- Pointer size: 132 Bytes
- Size of remote file: 1.17 MB

Large File Pointer Details
- SHA256: 7348b86d8600d2582240f2a0e26c2ab1b877eb590bea1cfa0f8584c59e033c3c
- Pointer size: 132 Bytes
- Size of remote file: 1.18 MB
chart_overall.pngAdded

Large File Pointer Details
- SHA256: b09e1640170d6ba10416cf7a008784b8e639dcc3772e7168532f701dc3a5297b
- Pointer size: 131 Bytes
- Size of remote file: 209 kB
chart_science.pngAdded

Large File Pointer Details
- SHA256: 2b5062d302366cdbbf44142e25d5074572bfba5349e8d554da46750f3dec42f6
- Pointer size: 131 Bytes
- Size of remote file: 207 kB