Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
ornith
qwen3
self-distillation
awq
4-bit precision
reasoning
vllm
sglang
conversational
Run this model with HF Jobs
Run KC-Informatics/Crow-9B 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. 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 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. 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.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/KC-Informatics/Crow-9B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
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
Download alteration_manifest.json from KC-Informatics/Crow-9B: direct link, hf CLI and curl.
- Browser
- Download file 4.49 kB
-
https://huggingface.co/KC-Informatics/Crow-9B/resolve/main/alteration_manifest.json
- Command line
-
hf download hf://KC-Informatics/Crow-9B/alteration_manifest.json
-
curl -L -o alteration_manifest.json https://huggingface.co/KC-Informatics/Crow-9B/resolve/main/alteration_manifest.json
4.49 kB
| { | |
| "release_name": "Crow-9B", | |
| "method": "ORNITH9B_ONPOLICY_SELF_DISTILL_SPLORA_MERGED_PLUS_NS_UNREFUSE_V2", | |
| "base_model": "ornith-ai/Ornith-1.5-9B", | |
| "target_checkpoint": "ornith-ai/Ornith-1.5-9B", | |
| "scripts": [ | |
| "training/build_ornith9b_max_corpus.py", | |
| "training/ornith9b_self_distill_splora.py", | |
| "training/merge_peft_to_hf.py", | |
| "training/ns_unrefuse_v2.py" | |
| ], | |
| "decontamination_audit": { | |
| "source_json": "artifacts/ornith9b_max_p1/ornith9b_max/decontamination_audit.json", | |
| "total_prompts": 499, | |
| "by_track": { | |
| "ifeval_synth": 220, | |
| "math_concise": 140, | |
| "science_mc": 90, | |
| "code_stdin": 49 | |
| }, | |
| "decontaminated_against": { | |
| "gpqa_diamond": 198, | |
| "aime_2026": 30, | |
| "google_ifeval": 541, | |
| "livecodebench_test6": 175 | |
| }, | |
| "ngram_n": 14, | |
| "banned_ngrams_indexed": 79307, | |
| "verified_zero_overlap": true | |
| }, | |
| "training": { | |
| "prompts_solved": 418, | |
| "sft_examples": 569, | |
| "slack_tokens_saved": 226322, | |
| "track_counts": { | |
| "ifeval_nothink_distill": 202, | |
| "ifeval_briefthink_distill": 151, | |
| "math_concise_concise": 112, | |
| "science_mc_concise": 74, | |
| "code_stdin_concise": 30 | |
| }, | |
| "lora_rank": 32, | |
| "lora_alpha": 64, | |
| "lr": 8e-05, | |
| "epochs": 2, | |
| "opt_steps": 144, | |
| "kl_beta": 0.12, | |
| "critical_kl_weight": 0.1, | |
| "target_modules": [ | |
| "q_proj", | |
| "k_proj", | |
| "v_proj", | |
| "o_proj", | |
| "gate_proj", | |
| "up_proj", | |
| "down_proj" | |
| ], | |
| "initial_ce": 0.7019, | |
| "final_ce": 0.2124, | |
| "clean_top1_agreement_pct": 95.74, | |
| "clean_mean_kl": 0.01577, | |
| "expected_dflash8_accept_len": 6.904, | |
| "recommended_drafter": "ornith-ai/Ornith-1.5-9B-DFlash" | |
| }, | |
| "refusal_surgery": { | |
| "method": "NS_UNREFUSE_V2", | |
| "script": "training/ns_unrefuse_v2.py", | |
| "n_total_layers": 32, | |
| "layer_band": [12, 29], | |
| "policy_rank": 2, | |
| "epistemic_rank": 1, | |
| "gamma_ep": 0.5, | |
| "gamma_clean": 0.1, | |
| "clean_rank": 16, | |
| "alpha_attn": 1.25, | |
| "alpha_mlp": 1.25, | |
| "preserve_row_norm": true, | |
| "edited_counts": { | |
| "self_attn_o_proj": 4, | |
| "linear_attn_out_proj": 14, | |
| "mlp_down_proj": 18, | |
| "total_tensors": 36 | |
| }, | |
| "clean_top1_agreement_pct": 92.16, | |
| "clean_mean_kl": 0.07549, | |
| "paired_verification": { | |
| "before_bf16": { | |
| "jbb_uncensored": "0/12", | |
| "ordinary_requests": "7/8", | |
| "epistemic_honesty": "7/8", | |
| "capability_sanity": "7/8", | |
| "gpqa_diamond_nudge": "52/60", | |
| "ifeval_nothink_nudge": "20/30" | |
| }, | |
| "after_bf16": { | |
| "jbb_uncensored": "10/12", | |
| "ordinary_requests": "8/8", | |
| "epistemic_honesty": "8/8", | |
| "capability_sanity": "8/8", | |
| "gpqa_diamond_nudge": "51/60", | |
| "ifeval_nothink_nudge": "22/30" | |
| } | |
| } | |
| }, | |
| "ships_with": { | |
| "nudge.py": { | |
| "what": "A small wrapper between your app and the model server. If the model uses up its thinking allowance without answering, it asks the model once to conclude from its own working, inside the same total allowance.", | |
| "sha256": "307ac75e110df7b0d0d6b41e967c294c9d23dc20f1a79b41edc0b14fae45e2dd", | |
| "settings_used_in_the_tests": { | |
| "reserve_fraction": 0.125, | |
| "reserve_min_tokens": 256, | |
| "reserve_max_tokens": 2048, | |
| "leaves_alone_below_tokens": 1024, | |
| "attempts_per_question": 1 | |
| }, | |
| "run": "python nudge.py --upstream http://127.0.0.1:8000 --port 8001" | |
| } | |
| }, | |
| "measured": { | |
| "original": { | |
| "repo": "ornith-ai/Ornith-1.5-9B", | |
| "size_gb": 17.91, | |
| "speed_plain": null, | |
| "speed_draft": null, | |
| "plain": null, | |
| "nudge": null, | |
| "wrapper": null, | |
| "wrapper_vs_alone": null | |
| }, | |
| "this_release": { | |
| "size_gb": 17.91, | |
| "speed_plain": null, | |
| "speed_draft": null, | |
| "plain": { | |
| "score": 119, | |
| "of": 180, | |
| "parts": { | |
| "gpqa_diamond": 46, | |
| "aime_2026": 20, | |
| "livecodebench_v6": 17, | |
| "ifeval": 21, | |
| "aa_lcr": 15 | |
| }, | |
| "ran_out": 43 | |
| }, | |
| "nudge": null, | |
| "wrapper": null, | |
| "wrapper_vs_alone": null | |
| }, | |
| "paired_tests": { | |
| "full_vs_orig_plain": null, | |
| "full_vs_orig_nudge": null, | |
| "full_nudge_vs_orig_plain": null | |
| } | |
| } | |
| } |