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 MANIFEST.sha256 from Boesgaard/Concise-9B: direct link, hf CLI and curl.
- Browser
- Download file 835 Bytes
-
https://huggingface.co/Boesgaard/Concise-9B/resolve/main/MANIFEST.sha256
- Command line
-
hf download hf://Boesgaard/Concise-9B/MANIFEST.sha256
-
curl -L -o MANIFEST.sha256 https://huggingface.co/Boesgaard/Concise-9B/resolve/main/MANIFEST.sha256
835 Bytes
| f5ad57bee8fb2e6736b2d9d6d29611e55bf1943891f42469b3680881ad0d59e9 config.json | |
| 87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4 tokenizer.json | |
| 83febe739ecefd99f984f546dfdc10149cedf293b9ee0291b99894341188b613 tokenizer_config.json | |
| a4aee8afcf2e0711942cf848899be66016f8d14a889ff9ede07bca099c28f715 chat_template.jinja | |
| b2d28c61708cf5b06444132b4f5f0b88cfdf7133a5d0f49b169049159c8768e0 model.safetensors | |
| f77c01973749ab5611f3c21332ff59249b06878baf093c4ae3d98ae712fcef11 generation_config.json | |
| 6ba94c3d9b21d52240891f4eed39ff25b0958126792e739b33a047bf5e04b098 README.md | |
| d10fcf2b1aa1e5aa1a7ec8e482974de9ec0df1c4a8794e77e5e9b895190b9f55 assets/banner.png | |
| 5cb7d277c134f33d9b2d274780134e0c0d18bbb3382fb9cc4ca11c606ec04615 assets/frontier.png | |
| be0b88f7fcc0c8451415da3a0dde63d8113cc730533dca09679ba24b16a9c364 assets/slack.png | |