# KnowLine-2B-Gen1: serving and Decision Index run The model reads option-label probabilities directly; it does not generate free-form answers. ## Weights - Base: Qwen3.5-2B. - One epoch of LoRA SFT (rank 32, alpha 64, language-model linear layers only), merged into bf16 weights; the released checkpoint is the end of training. - Readout temperature T = 1.32, fitted on held-out data, folded into `model.language_model.norm.weight` (`CALIBRATION.json`). Do not apply it a second time: the front end reads at temperature 1. - `temperatures.json`: `{"score": 0.7576}` divides score-question logits by 0.7576 (= 1/1.32), so score questions are read at an effective temperature of 1.0; choice and yes/no questions keep T = 1.32. ## Software - `serve_knowline.sh`: starts SGLang 0.5.21 in bf16 (`--mem-fraction-static 0.85`, `--enable-fp32-lm-head`, `--mamba-radix-cache-strategy extra_buffer`), then `knowline_server.py` with temperature 1, 16 scoring workers, `--temperatures temperatures.json`. - `knowline_server.py`: the `/v1/systemone` HTTP server; `knowline_layout.py`: prompt layout and read twice; `knowline_engine.py`: the same front end in process, for the Decision Index kit. - Prompts use the Qwen3.5 chat template with thinking turned off (`enable_thinking=False`). The chat template in this repository turns thinking on by default. ## Read twice For a text-only request whose one-pass length is at most 3,000 tokens, the front end writes the input a second time before the answer position; the second copy starts with `Read the same input again before answering:`. Longer requests and requests with images are read once. `--no-read-twice` turns this off. ## Launch ```bash bash serve_knowline.sh /path/to/KnowLine-2B-Gen1 0 8080 ``` Without SGLang (transformers, slower): ```bash python knowline_server.py --model PelaAI/KnowLine-2B-Gen1 --backend hf --port 8080 --temperatures temperatures.json ``` ## Decision Index run - Kit: Decision Index 0.3 public suite, official kit at commit `62d2f51`, scored 2026-10-29. - Serving: four identical H20 servers started with `serve_knowline.sh` from this repository's files, one GPU each, and 32 client shards spread over them. - Result: public index 52.23, raw 64.24; 140,620 requests, 140,178 scoreable, all answered, none unsupported or truncated, no errors, no retries. - Latency: 300 random requests sent one at a time to one server after a warm-up: 30.0 ms median, 60.6 ms mean, 214.9 ms at the 95th percentile. ## Hardware NVIDIA H20 (96 GB). Not the board's reference hardware.