Text Generation
Transformers
Safetensors
English
qwen3_5
image-text-to-text
qwen
qwen3
uncensored
refusal-removal
awq
4-bit precision
reasoning
vllm
sglang
conversational
compressed-tensors
Run this model with HF Jobs
Run KC-Informatics/Raven-27B-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/Raven-27B-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/Raven-27B-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/Raven-27B-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/Raven-27B-AWQ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KC-Informatics/Raven-27B-AWQ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="KC-Informatics/Raven-27B-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/Raven-27B-AWQ") model = AutoModelForMultimodalLM.from_pretrained("KC-Informatics/Raven-27B-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/Raven-27B-AWQ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KC-Informatics/Raven-27B-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/Raven-27B-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/KC-Informatics/Raven-27B-AWQ
- SGLang
How to use KC-Informatics/Raven-27B-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/Raven-27B-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/Raven-27B-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/Raven-27B-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/Raven-27B-AWQ", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use KC-Informatics/Raven-27B-AWQ with Docker Model Runner:
docker model run hf.co/KC-Informatics/Raven-27B-AWQ
Clearer pages: one page per model, plain words, graphs from the measured results
Browse filesFiles changed (4)
25 unmodified lines2627282930313246 unmodified lines798081828384858687888 unmodified lines97989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712825 unmodified linesThe strongest of our three models. Raven started as Qwen 3.8 27B. We edited its weights so that it refuses far less, and checked that it still says "I don't know" when a question has no real answer. Nothing was retrained.On our 180 test questions it answered **146**. DeepSeek V4.1 Flash, a 671B model you can only use through the cloud, answered 154. A gap that small is inside the noise of a test this size.46 unmodified lines| Long documents (AA-LCR, 20 questions) | 20 | 19 | 14 | 17 || **All 180** | **146** | **145** | **124** | **154** |Raven against DeepSeek, question by question: DeepSeek alone got 15 right, Raven alone got 7 right (paired exact test, p = 0.13, which means not a reliable difference).We did not train Raven for test scores. The original was run separately on the same questions with the same grading. It ran out of thinking room on 45 questions, Raven on 27.## Run it8 unmodified lines# full size: the same command with KC-Informatics/Raven-27B```Needs vLLM 0.34 or newer. The `--speculative-config` line adds the draft model, which is where most of the speed comes from. Leave it out if you are short of memory.## 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 that step, 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.- Scores marked "with the helper" were measured with the same conclude-once step built into our test runner. `nudge.py` is that step packaged as a stand-alone file; the file itself has not been run across all 180 questions.- 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.## Use it responsiblyRaven refuses less. What it is used for is the responsibility of whoever runs it. Stay within the law where you are.## Licence and credit25 unmodified lines2627282930313246 unmodified lines7980818283848 unmodified lines9394959697989910010110210310410510610710810911011111211325 unmodified linesThe strongest of our three models. Raven started as Qwen 3.8 27B. We edited its weights so that it refuses far less, and checked that it still says "I don't know" when a question has no real answer. Nothing was retrained.On our 180 test questions it answered **146**. DeepSeek V4.1 Flash, a 671B model you can only use through the cloud, answered 154.46 unmodified lines| Long documents (AA-LCR, 20 questions) | 20 | 19 | 14 | 17 || **All 180** | **146** | **145** | **124** | **154** |## Run it8 unmodified lines# full size: the same command with KC-Informatics/Raven-27B```Needs vLLM 0.34 or newer. The `--speculative-config` line adds the draft model, which is where most of the speed comes from.## 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.```bashpython nudge.py --upstream http://127.0.0.1:8000 --port 8001```Point your app at `http://127.0.0.1:8001/v1`.## How we tested180 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
README.md+5-20
chart_overall.png

Large File Pointer Details
- SHA256: de576da3035dbcfbfc02d193eca0f334c11374e583147c8b62e23a74b79b8502
- Pointer size: 131 Bytes
- Size of remote file: 191 kB

Large File Pointer Details
- SHA256: 560fa95ec617863d8e19da655ccd35f37fe505d7a8e057ff32c8312e06410d62
- Pointer size: 131 Bytes
- Size of remote file: 188 kB
chart_raven_vs_deepseek.png

Large File Pointer Details
- SHA256: 30676620bc0a72f7eb92819c4c62cab36e6757176ea933ba7f91d33a9758b05c
- Pointer size: 131 Bytes
- Size of remote file: 190 kB

Large File Pointer Details
- SHA256: 996a4d925883de46ce13dc4baa23d631141de31f9393dc9fdbe96d041e778261
- Pointer size: 131 Bytes
- Size of remote file: 181 kB
chart_speed.png

Large File Pointer Details
- SHA256: 49621b7c6d650f21eae807938eeefce951cac332997e33c04a2f45afe2aba2c6
- Pointer size: 131 Bytes
- Size of remote file: 161 kB

Large File Pointer Details
- SHA256: 0babcd2837e5368a0d49753c94ca2cf1ea4bc9a2ffafdc4629ba4eb150efffb8
- Pointer size: 131 Bytes
- Size of remote file: 150 kB