Instructions to use KC-Informatics/Crow-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KC-Informatics/Crow-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KC-Informatics/Crow-9B") 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") model = AutoModelForMultimodalLM.from_pretrained("KC-Informatics/Crow-9B", 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 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" # 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", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KC-Informatics/Crow-9B
- SGLang
How to use KC-Informatics/Crow-9B 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" \ --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", "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" \ --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", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use KC-Informatics/Crow-9B with Docker Model Runner:
docker model run hf.co/KC-Informatics/Crow-9B
Crow-9B
You are on the full-size download (
KC-Informatics/Crow-9B). The other size isKC-Informatics/Crow-9B-AWQ. 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, and then edited its weights so that it refuses far less while still saying "I don't know" when a question has no real 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 |
KC-Informatics/Crow-9B |
| Download | 9.1 GB | 19.3 GB |
| Graphics memory | 10.2 GB in use on a 12 GB card | 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 words
First, we 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 trained the model briefly on those examples so it learned its own most direct route to an answer.
Second, we removed stock refusals the same way we did on Raven-27B. We measured the pattern inside the model that triggers stock refusals and removed it from the weights of layers 12 to 29 (of 32), while measuring and protecting the separate pattern it uses when it genuinely does not know something. Then we verified on the exact same science and instruction-following tests that reasoning quality stayed intact (72 of 90 before, 73 of 90 after on full size; 70 of 90 on 4-bit).
| Before refusal edit | Crow-9B (full size) | Crow-9B (4-bit) | |
|---|---|---|---|
| Answered requests that the original usually refuses | 0 of 12 | 10 of 12 | 10 of 12 |
| Said "I don't know" to trick questions with no real answer | 7 of 8 | 8 of 8 | 7 of 8 |
| Answered ordinary requests | 7 of 8 | 8 of 8 | 8 of 8 |
| Science + instructions check (paired, with helper) | 52/60 + 20/30 (72/90) | 51/60 + 22/30 (73/90) | 49/60 + 21/30 (70/90) |
For the technically minded
- Stage 1 (shortest-working training): 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.
- Stage 2 (epistemic-protected refusal removal):
NS-UNREFUSE-v2null-space projection edit across layers 12 to 29 of 32 (36 weight matrices: 4 attention outputs, 14 linear-attention outputs, 18 MLP down-projections). Two refusal directions are made orthogonal to one "does not know" direction (gamma_ep = 0.50,alpha = 1.25), damped along 16 ordinary-prompt directions (gamma_clean = 0.10), with each row scaled back to its original length. Layers 0 to 11, 30 to 31, and the vision weights are untouched. - Token preservation: after refusal removal the model still picks the same next token on ordinary text 92.16% of the time (
KL = 0.07549), so the draft modelornith-ai/Ornith-1.5-9B-DFlashkeeps working (178 tokens/s in one chat, 251 tokens/s on code, and 1,320 tokens/s across eight chats on an A100). - 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.
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 |
Run it
# 4-bit, on a 12 GB card
vllm 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. Tool calling works out of the box. With more memory, add the draft model for extra speed:
--speculative-config '{"model": "ornith-ai/Ornith-1.5-9B-DFlash", "method": "dflash", "num_speculative_tokens": 8}'
The helper: nudge.py
Included in every repo. If the model uses up its thinking allowance without answering, the helper asks it once to conclude. Crow: 119 of 180 without it, 132 with it.
python nudge.py --upstream http://127.0.0.1:8000 --port 8001
Point your app at http://127.0.0.1:8001/v1.
How we tested
180 public test questions, one attempt each, graded by script: 60 science (GPQA Diamond), 30 maths (AIME 2026), 40 coding (LiveCodeBench v6), 30 on following instructions (IFEval) and 20 on long documents (AA-LCR).
Licence and credit
Apache 2.0, the same as ornith-ai/Ornith-1.5-9B and its draft model by Ornith AI. nudge.py is Apache 2.0.
- Downloads last month
- 94


