KnowLine-9B-Gen2
a decision-making model built on Qwen3.5
2 min read
Developed by PelaAI, KnowLine-9B-Gen2 handles classification and scoring tasks: you pass a state along with a list of questions (yes/no, multiple choice, or scale ratings), and in a single pass per question, the model returns a probability distribution over the answers without generating text. It is built on the dense Qwen/Qwen3.5-9B base model (9B parameters) and fine-tuned using LoRA (a lightweight adapter on top of a base model) on synthetic data. Unlike standard text generators, it outputs pure probabilities ready for integration into search, agentic, or logic pipelines.
Key features
- Dense architecture: 9 billion parameters based on Qwen3.5 with bf16 weights (around 19.3 GB).
- Calibrated probabilities: A readout temperature of T = 1.63 is baked into the weights, ensuring a low ECE score and accurate confidence estimates.
- Dual-read mode: Short text prompts are processed twice by the server to improve result stability.
- Strong benchmark performance: Scores 69.00 on the public Decision Index 0.3 dataset.
What you can do
- Agent integration: Power automated request routing or customer ticket classification services.
- Sentiment analysis: Evaluate user mood and intent using structured questions applied to conversations.
- Logic automation: Drive programmatic decisions based on returned probabilities and confidence intervals.
Example
pip install "sglang==0.5.21" "transformers==5.12.1" requests
bash serve_knowline.sh PelaAI/KnowLine-9B-Gen2 0 8080
curl -s [http://127.0.0.1:8080/v1/systemone](http://127.0.0.1:8080/v1/systemone) -H 'Content-Type: application/json' -d '{
"model": "m",
"state": "Customer: my order arrived broken, I want my money back.",
"questions": {"refund": {"type": "noul", "instructions": "Should the agent offer a refund?"},
"tone": {"type": "choice", "instructions": "Customer tone?",
"criteria": {"angry": "Angry", "neutral": "Neutral", "happy": "Happy"}}}}'
Read more
DetailsBenchmarks: DI 0.3 public — 69.00
Hardware requirements: around 19.3 GB VRAM (tested on H20 96 GB)
Weights license: Apache-2.0
Languages: English, Simplified and Traditional Chinese










Comments