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
Link the follow-up paper, Delivered Sooner (arXiv:2612.01699)
Browse files18 unmodified lines19202122232418 unmodified lines**Paper:** [Concise-9B: Removing the Slack from a Reasoning Model's Thinking](https://arxiv.org/abs/2611.02278) (arXiv:2611.02278)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.18 unmodified lines192021222324252618 unmodified lines**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.
README.md+2