Text Generation
Transformers
Safetensors
English
qwen3_5_text
reasoning
efficient-reasoning
concise-reasoning
qwen3.5
conversational
Instructions to use Boesgaard/Concise-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Boesgaard/Concise-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="Boesgaard/Concise-9B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("Boesgaard/Concise-9B") model = AutoModelForCausalLM.from_pretrained("Boesgaard/Concise-9B", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.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(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Boesgaard/Concise-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Boesgaard/Concise-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": "Boesgaard/Concise-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/Boesgaard/Concise-9B
- SGLang
How to use Boesgaard/Concise-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 "Boesgaard/Concise-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": "Boesgaard/Concise-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 "Boesgaard/Concise-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": "Boesgaard/Concise-9B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use Boesgaard/Concise-9B with Docker Model Runner:
docker model run hf.co/Boesgaard/Concise-9B
|
Download README.md from Boesgaard/Concise-9B: direct link, hf CLI and curl.
- Browser
- Download file 5.67 kB
-
https://huggingface.co/Boesgaard/Concise-9B/resolve/main/README.md
- Command line
-
hf download hf://Boesgaard/Concise-9B/README.md
-
curl -L -o README.md https://huggingface.co/Boesgaard/Concise-9B/resolve/main/README.md
5.67 kB
| license: apache-2.0 | |
| base_model: Qwen/Qwen3.5-9B | |
| base_model_relation: finetune | |
| library_name: transformers | |
| pipeline_tag: text-generation | |
| language: | |
| - en | |
| tags: | |
| - reasoning | |
| - efficient-reasoning | |
| - concise-reasoning | |
| - qwen3.5 | |
|  | |
| # Concise-9B | |
| **Paper:** [Concise-9B: Removing the Slack from a Reasoning Model's Thinking](https://arxiv.org/abs/2611.02278) (arXiv:2611.02278) | |
| **Follow-up:** [Delivered Sooner: Learned Brevity Travels With a Reasoning Model's Feed-Forward Weights](https://arxiv.org/abs/2612.01699) (arXiv:2612.01699) moves Concise-9B's feed-forward weights into the parent and back, and finds that they carry most of the learned brevity. The transplant is released as [Concise-9B-MLP-patch](https://huggingface.co/Boesgaard/Concise-9B-MLP-patch). | |
| Concise-9B is [Qwen3.5-9B](https://huggingface.co/Qwen/Qwen3.5-9B) after two rounds of **concise self-training**. Each round is on-policy rejection-sampling fine-tuning that keeps the two shortest correct samples per problem, plus a small share of answer-synthesis targets. It generates about two thirds of the parent's tokens at matched accuracy: its answers settle as early as the parent's, and it then delivers them sooner, with much less reconsideration afterwards. | |
| It is a text-only checkpoint (`Qwen3_5ForCausalLM`, 32 layers, BF16). The parent's vision encoder is not included. | |
| ## Results | |
| From the [Concise-9B paper](https://arxiv.org/abs/2611.02278): | |
| | | Qwen3.5-9B | Concise-9B | | |
| |---|---|---| | |
| | Generated tokens, 8,983 held-out problems at a 32K thinking budget | 1.00× | **0.66×** | | |
| | Accuracy difference (95% CI) | — | −0.20 [−0.77, +0.36] points, equivalent within ±1 | | |
| | Share of thinking after the answer is fixed (hard / confirmation sets) | 54% / 64% | 41% / 48% | | |
|  | |
| *Development suite (498 problems): accuracy against generated tokens per problem. Lines are majorities of k = 1–4 traces (numbers mark k; k = 1 is the eight-draw single-sample mean), and stars mark escalation from 2 to 4 traces. Concise-9B reaches the parent's accuracy at far fewer tokens.* | |
| **What the saving is made of:** 86% [83, 90] of the thinking tokens Concise-9B saves come *after* its answer has already formed. Answers are tracked with forced readouts every 2,048 thinking tokens. | |
| The held-out problems cover competition and hard mathematics, SuperGPQA, a five-area confirmation set and MMLU-Pro. | |
|  | |
| *(a) Mean thinking tokens per trace before and after each trace's answer is fixed. (b) The share of traces whose answer is already fixed at each point of the thinking.* | |
| **Limitation:** when traces are allowed to continue to 80K tokens, Concise-9B solves 25 fewer of 1,276 hard problems (−25 [−49, −1]), mostly in competition mathematics, where very long reasoning pays. For the hardest problems with unlimited budgets, the parent can be the better choice. | |
| ## Where the brevity travels | |
| A companion study, *Delivered Sooner*, transplants Concise-9B's feed-forward (MLP) weights into the parent. The transplant recovers 83% of the token saving with accuracy intact, and restoring the parent's MLPs inside Concise-9B undoes 77% of it. The study also finds that the trained model's answers settle at the same depth as the parent's; it then delivers them sooner, writing far less reconsideration while keeping its verification rate. Continuing identical partial traces, it delivers correct repairs sooner. | |
| The exact transplant is released as [Boesgaard/Concise-9B-MLP-patch](https://huggingface.co/Boesgaard/Concise-9B-MLP-patch), and the evaluation data as [Boesgaard/delivered-sooner](https://huggingface.co/datasets/Boesgaard/delivered-sooner). | |
| ## Usage | |
| Requires `transformers >= 5.3.0`. | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| model_id = "Boesgaard/Concise-9B" | |
| tok = AutoTokenizer.from_pretrained(model_id) | |
| model = AutoModelForCausalLM.from_pretrained(model_id, dtype="bfloat16", device_map="auto") | |
| messages = [{"role": "user", "content": "What is the sum of the first 50 odd numbers?"}] | |
| inputs = tok.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device) | |
| out = model.generate(inputs, max_new_tokens=32768, do_sample=True, temperature=1.0, top_p=0.95, top_k=20) | |
| print(tok.decode(out[0][inputs.shape[-1]:], skip_special_tokens=False)) | |
| ``` | |
| **Recommended sampling:** the same settings as the parent's thinking mode, which were used for every reported result. | |
| - temperature 1.0, top-p 0.95, top-k 20; | |
| - presence penalty 1.5, in servers that support it (e.g. vLLM); | |
| - a 32,768-token budget. | |
| Keep thinking mode on. The model was trained and evaluated with it. | |
| ## Training | |
| - **Parent:** Qwen/Qwen3.5-9B, at revision `c202236235762e1c871ad0ccb60c8ee5ba337b9a`. | |
| - **Method:** two rounds of full-parameter supervised fine-tuning on the model's own correct, shortest reasoning traces (14.7M and 15.1M target tokens). Self-training for concise reasoning follows prior work (Munkhbat et al., 2025). The contribution here is the measurement and the 9B result. | |
| ## Citation | |
| ```bibtex | |
| @misc{lorup2026concise9b, | |
| author = {Lorup, Alexander Boesgaard}, | |
| title = {{Concise-9B}: Removing the Slack from a Reasoning Model's Thinking}, | |
| year = {2026}, | |
| eprint = {2611.02278}, | |
| archivePrefix = {arXiv}, | |
| url = {https://arxiv.org/abs/2611.02278} | |
| } | |
| ``` | |
| ## License | |
| Apache-2.0, inherited from Qwen3.5-9B. | |
| ## More from Openhagen | |
| More of our work is on the [Openhagen blog](https://openhagen.ai/blog). | |