Schneewolf Labs B4-27B

B2-27B taught to check before it answers, with thinking off. Behind egirl's OpenAI-compatible API the model has web_search, web_research and calculate. B2-27B already reached for the calculator, but with thinking off, the fast mode a chat product wants, it answered half of the current-info questions (who holds a role, the latest version) from memory. B4-27B searches them, still answers what it knows directly, and does it with thinking off: about half the time per answer of thinking low.

B2-27B
 + ORPO   Nachschlagen: 165 first-turn pairs on egirl's own API context, thinking off, 2 epochs
          63  current-info questions   chosen: web_search / web_research   rejected: answer from memory
          36  arithmetic and dates     chosen: calculate                   rejected: mental math
          16  look-up-then-compute     chosen: search first                rejected: answer from memory
          50  controls                 chosen: direct answer               rejected: an unneeded web_search

The pairs were generated with B2-9B (B4-9B's data) and used unchanged. The chosen turns are B2-9B's own thinking-on first moves (thinking stripped), kept only when the whole run's answer was right. Rejected turns are its thinking-off answers. Pairs cut at the first assistant turn, so the model learns the decision, not a new voice. The data is public: schneewolflabs/Nachschlagen.

The 50 controls (trivia, coding, rewriting text the user supplied, historical facts) keep the trigger on staleness and arithmetic rather than "any question".

Numbers

Held-out sets share no question with training; the second one uses indirect phrasing ("is it worth upgrading to the latest Python?", "what's 18% tip on $47.80 split three ways?") and traps such as past-dated questions and data the user already supplied. Thinking off, egirl, Q8_0 + bf16 adapter.

B2-27B B4-27B
held-out (41): right first move 34/41 41/41
current-info questions searched 5/10 10/10
arithmetic sent to the calculator 9/10 10/10
easy questions answered directly 10/10 10/10
harder set (37): right first move 31/37 37/37
current-info questions searched 5/10 10/10
no-tool questions answered directly 15/15 15/15
keyed answers correct (32) 32/32 32/32
ARC / ARC-Easy / TruthfulQA 64.5 / 86.3 / 39.9 63.5 / 86.1 / 39.5

With thinking low: 40/41 (B2-27B 38/41). The ARC difference is 3 of 299 items, inside its error.

Known residuals

  • B2-27B already calculated well and answered correctly; its gap was answering current-info questions from memory, and that is what moved.
  • It sometimes writes math in LaTeX (\(x^2\)) where B2-27B wrote x². Render accordingly.
  • The control pairs' chosen answers were written by B2-9B, not B2-27B. Length and voice of direct answers didn't measurably change (mean 97 vs 104 characters on the no-tool set).

Notes

  • Built for egirl, used through its OpenAI API with server-side tools. Other harnesses weren't a goal and weren't tested.
  • Date math (days_between, add_days, weekday, today() inside calculate) needs an egirl with the calculate date functions (PR #194); 12 training calls use them.
  • Trained with Merlina, ORPO β 0.1, LoRA r16/α32 on all attention and MLP projections, lr 2e-5 cosine, batch 8, on a DGX Spark (GB10). Stronger runs (lr 5e-5, 3 epochs, r32) scored the same, so the lightest shipped.
  • The adapter was baked into the weights with Kessel. The mtp.* and vision tensors are byte-identical to B2-27B.

No GGUF is published. Convert with llama.cpp's convert_hf_to_gguf.py; B2-27B's mmproj works.

Downloads last month
-
Safetensors
Model size
28B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for schneewolflabs/B4-27B

Finetuned
(2)
this model

Dataset used to train schneewolflabs/B4-27B