devops-thiago/classone-qwen3.5-4b — Stage 2 v1_1_merge_0.40_0.60 (Draft)
Draft Notice: Local standalone candidate (
v1_1_merge_0.40_0.60, Commit:44eb26c, Date:2026-11-18) — staged locally and not yet published to the Hugging Face Hub.Certified
classone_heads.ptSHA256:147AFEBDF277CF66375B18590BFD1C305F09D3DD1354D7F83EC7A346754C1E02Self-Measured Evaluation Provenance: Executed locally on
2x NVIDIA RTX 5060 Ti 16 GB(Date:2026-11-18, Commit:44eb26c; baselinev1_merge_0.40_0.60measured at Commit:051ff9c). See Official Results (Benchmark Heaven) for third-party sealed evaluation context.
ClassOne Qwen3.5-4B v1_1_merge_0.40_0.60 is a standalone System 1 decision model built on Qwen/Qwen3.5-4B using the ClassOne (Classifier One) architecture. It combines Stage 2 single-token LM-head letter readout (with M2 top-16 shortlist rerouting when K >= 64) for categorical decisions alongside calibrated Noul (yes/no) and Score (ordinal rubric) pointer heads, plus v1.1 4-way response-strategy tool-routing remediation (#62 When2Call: 23.56 -> 62.67 chance-adjusted skill on sample-0.3-unseen).
Architecture & Merge Recipe (v1_1_merge_0.40_0.60)
- Backbone blend (BF16 merged standalone safetensors):
W_base + 0.40 * delta(stage2b_w2c_micro_step250) + 0.60 * delta(fresh_step200)(wherestage2b_w2c_micro_step250runs250steps atlr=3e-5cosine,kl_weight=0.05fromstage2b_step400on1,0004-wayWhen2CallMCQ +1,000replay items) - Head blend (
classone_heads.pt):0.40 * heads(stage2b_w2c_micro_step250) + 0.60 * heads(fresh_step200) - Default Stage 2 server config (
config.json->classone_config):eval_mode = "stage2",m2_k_threshold = 64,m2_top_k = 16 - Standalone artifact contents:
model-00001-of-00002.safetensors,model-00002-of-00002.safetensors,model.safetensors.index.json,config.json,tokenizer.json(with serialized ClassOne delimiter tokens),tokenizer_config.json,chat_template.jinja,classone_heads.pt,snapshot_metadata.json
Standalone Usage
import torch
from transformers import AutoTokenizer
from classone.schemas import ChoiceQuestion, NoulQuestion
from classone.stage2_readout import ChatDecisionPromptBuilder, evaluate_stage2_request
from classone.modeling.modeling_classone import ClassOneModel
MODEL_DIR = "checkpoints/merged/v1_1_merge_0.40_0.60_standalone"
tokenizer = AutoTokenizer.from_pretrained(MODEL_DIR, trust_remote_code=True)
chat_builder = ChatDecisionPromptBuilder(tokenizer)
model = ClassOneModel.from_backbone(MODEL_DIR, tokenizer=tokenizer, device="cuda:0", torch_dtype=torch.bfloat16)
heads = torch.load(f"{MODEL_DIR}/classone_heads.pt", map_location="cuda:0", weights_only=True)
model.noul_head.load_state_dict(heads["noul_head"], strict=False)
model.choice_head.load_state_dict(heads["choice_head"], strict=False)
model.score_head.load_state_dict(heads["score_head"], strict=False)
model.eval()
answers, total_tokens = evaluate_stage2_request(
model,
chat_builder,
state={"customer": "Alex", "message": "I was charged twice for order #123."},
questions={
"refund": NoulQuestion(instructions="Is the customer requesting a refund?"),
"route": ChoiceQuestion(
instructions="Select the support queue:",
criteria={"billing": "Billing and double charges", "tech": "Application defects"},
),
},
m2_k_threshold=64,
m2_top_k=16,
)
Benchmarks
1. Unseen Decision Index 0.3 Slice (sample-0.3-unseen, 1,700 Zero-Overlap Requests)
Evaluated on a freshly sampled Decision Index 0.3 slice (seed=20261118, 1,700 requests across 42/43 counted catalog benchmarks; #34 SimpleBench was exhausted by sample-0.3 and has in_index: false) with zero run_id overlap against sample-0.3. Disjoint-36 is reported as the primary Decision Index metric (excluding catalog IDs 4, 5, 11, 24, 30, 57, 62 whose source families appear in training splits).
Selection Disclosure:
sample-0.3-unseen(seed=20261118,1,700requests) was used as an acceptance criterion forv1_1_merge_0.40_0.60(#62 When2Call >= 45.0andDisjoint-36 >= 36.68) and is therefore no longer a completely untouched holdout slice. A fresh zero-overlap slice,sample-0.3-unseen-v2(seed=20261119,1,690requests across41/43catalog IDs —#34and#9exhausted by prior slices;0overlap withsample-0.3andsample-0.3-unseen;SHA256:65A2CB969E3448D3D66699215C9973C2C0170F16A7F68B288D5F11E254A944F3), has been generated and frozen untouched for future selection checks.
Self-measured on 2x NVIDIA RTX 5060 Ti 16 GB · Date: 2026-11-18 · Commit: 44eb26c (v1_merge_0.40_0.60 baseline at Commit: 051ff9c)
Candidate (sample-0.3-unseen, n=1,700) | Disjoint-36 (primary) | Official DI 0.3 | Disjoint-39 | Raw Index | #62 When2Call | d36 Area Skill (know / lang / ret / tools / arts) |
|---|---|---|---|---|---|---|
v0.2.3 Config A (legacy baseline) | 26.44 | 26.95 | — | 44.51 | 18.23 | — |
(d*) Qwen3.5-4B Base Chat LM (M2 K >= 64) | 35.20 | 36.50 | 35.36 | 52.47 | 50.23 | 18.88 / 28.27 / 39.41 / 62.85 / 26.58 |
stage2b_step400 (M2 K >= 64) | 36.24 | 37.58 | 36.60 | 53.30 | 20.00 | 16.82 / 29.50 / 42.78 / 67.31 / 24.81 |
merge_0.50_0.50 (M2 K >= 64) | 37.21 | 38.90 | 37.64 | 54.60 | 23.56 | 16.18 / 31.46 / 41.12 / 69.19 / 28.08 |
v1_merge_0.40_0.60 (M2 K >= 64, 051ff9c) | 36.98 | 39.20 | 37.42 | 54.80 | 23.56 | 17.79 / 32.87 / 41.78 / 67.27 / 25.20 |
v1_1_merge_0.40_0.60 (M2 K >= 64, 44eb26c) | 38.01 | 41.22 | 38.33 | 55.98 | 62.67 | 18.29 / 34.90 / 43.12 / 67.27 / 26.48 |
2. Full Release Gate Table (v1_1_merge_0.40_0.60 vs. v1 & Baselines)
Evaluated on Held-Out-1K v2 (M2 at K >= 64), Out-of-Source-320, JevBench v1.6.1, RLCDAlignBench, and Decision Index 0.3 (sample-0.3 selection split + sample-0.3-unseen). Non-regression floors reflect benchmarks/baselines.json (devops-thiago/classone-qwen3.5-4b: jevbench_public_acc >= 75.8%, rlcd_alignbench_bal_acc >= 51.5%).
Self-measured on 2x NVIDIA RTX 5060 Ti 16 GB · Date: 2026-11-18 · Commit: 44eb26c (v1_merge_0.40_0.60 at Commit: 051ff9c)
| Gate / Benchmark Suite | Floor / Target | (d*) Base | v1_merge_0.40_0.60 (Commit 051ff9c) | v1_1_merge_0.40_0.60 (Commit 44eb26c) | Status |
|---|---|---|---|---|---|
#62 When2Call MCQ (sample-0.3-unseen) | >= 45.0 | 50.23 | 23.56 | 62.67 | PASS (+12.44 vs d*) |
DI 0.3 Disjoint-36 (sample-0.3-unseen) | >= 36.68 | 35.20 | 36.98 | 38.01 | PASS (+2.81 vs d*) |
DI 0.3 Official (sample-0.3-unseen) | Unseen check | 36.50 | 39.20 | 41.22 | PASS (+4.72 vs d*) |
DI 0.3 Disjoint-36 (sample-0.3) | > 39.5 | 30.14 | 39.78 | 40.77 | PASS |
DI 0.3 Official (sample-0.3) | > 40.0 | 30.37 | 42.38 | 44.27 | PASS |
DI 0.3 Disjoint-39 (sample-0.3) | — | 30.31 | 40.30 | 41.14 | PASS |
| Held-Out-1K v2 Macro (Q-Acc) | > 82.70% | 82.70% (89.33%) | 85.06% (90.67%) | 85.68% (91.10%) | PASS |
Held-Out mcq5 Knowledge Retention | >= 72.00% | 74.17% | 70.00% | 72.50% | PASS |
Out-of-Source-320 (agnews/boolq/emotion/sciq) | >= 82.50% | 82.50% | 83.12% | 83.12% | PASS |
JevBench Public Overall (231 tasks) | >= 75.8% | — | 79.22% (183/231) | 78.35% (181/231) | PASS |
JevBench Tiers (Easy / Original / Hard) | Non-regressed | — | 100.0 / 97.22 / 58.56 | 100.0 / 97.22 / 56.76 | PASS |
RLCDAlignBench Balanced Accuracy (100 instances) | >= 51.5% | — | 55.40% | 55.48% | PASS |
#62 When2Call MCQ Scoring Definition: Decision Index 0.3 scores #62 (4-choice MCQ, random baseline = 0.25) using exact gold-option accuracy and chance-adjusted skill = max(0, (raw - 0.25) / 0.75) * 100 — v1.1: 54/75 exact gold hits (72.00% raw -> 62.67 skill); v1: 32/75 (42.67% raw -> 23.56 skill); (d*): 47/75 (62.67% raw -> 50.23 skill).
#62exact gold hits vs. heuristic text-category breakdown (sample-0.3-unseen,n=75): Canonical exact gold-slot hits are{tool_call: 25, request_for_info: 12, cannot_answer: 17}=54/75(72.00%raw ->62.67skill) forv1.1,32/75({tool_call: 21, request_for_info: 5, cannot_answer: 6},42.67%raw ->23.56skill) forv1, and47/75({tool_call: 26, request_for_info: 8, cannot_answer: 13},62.67%raw ->50.23skill) for(d*). Heuristicw2c_type()string classification summed higher (55/75forv1.1,35/75forv1,48/75for(d*)) because1wrongpos 0(A) prediction inv1.1(3inv1,1in(d*)) had distractor prose matching refusal/clarification keywords.- Standalone server e2e verification (
POST /v1/decide,50requests /201questions on 1× RTX 5060 Ticuda:0):100.0%(201/201) top-1 agreement (max_prob_diff = 0.0) with the eval harness;7.850 GBloaded allocated VRAM,9.940 GBpeak allocated VRAM (10.246 GBpeak reserved);169.47 msmedian latency for 1-pass (K < 64),339.84 msmedian for 2-pass M2 (K >= 64),328.82 msoverall median (4,544.34 msp95).
Known Limitations
- Windows Reference Kernel Latency: Without optimized
flash-linear-attention(chunk_gated_delta_rule) andcausal_conv1dCUDA kernels installed on Windows,Qwen/Qwen3.5-4Bfalls back to reference PyTorchGatedDeltaNetloops, resulting in328.82 msoverall median (169.47 ms1-passK < 64/339.84 msM2K >= 64) and4,544.34 msp95 HTTP latency on multi-question (32-question ranking) or long-context requests. - JevBench Hard Tier (
56.76%vsv158.56%):-0.87%overall (2Hard tasks out of231), remaining+2.55%above theclassone-qwen3.5-4bbaseline floor (75.8%). - Training Data Constraints on
#62 When2Call: Unseen#62chance-adjusted skill improved to62.67(54/75exact gold matches =72.00%raw). Because#62shares source family withnvidia/When2Call, it remains excluded fromDisjoint-36.
Train-Split Source-Family Overlap Disclosure (DI Catalog IDs 4, 5, 11, 24, 30, 57, 62)
Training for v1_1_merge_0.40_0.60 (0.40 * stage2b_w2c_micro_step250 + 0.60 * fresh_step200) and its ancestor stages used only public train splits filtered with a 3-layer zero-overlap filter (exact state/query hash, question stem hash, and 7-gram Jaccard similarity) against all held-out and evaluation sets (suite-0.3, sample-0.3, sample-0.3-unseen, heldout-1k-v2, oos-320, JevBench, RLCDAlignBench). Verified per-corpus row counts across all 4 corpora:
s2(stage2_train_corpus.jsonl):6,767rows (stage2_armA)s2b(stage2b_train_corpus.jsonl):6,000rows (stage2b_step400warm-start prior to micro-stage)micro(stage2_w2c_micro_corpus.jsonl):2,000rows (stage2b_w2c_micro_step250, merge weight0.40)comb(stage2_combined_corpus.jsonl):10,457rows (fresh_step200, merge weight0.60)
All 7 matching Decision Index source families below are excluded from Disjoint-36:
| DI ID | DI Benchmark | Training Source / Split | s2 | s2b | micro (0.40) | comb (0.60) | Overlap Control & Exclusion |
|---|---|---|---|---|---|---|---|
4 | BANKING77 | mteb/banking77 (train) | 1,000 | 200 | 25 | 1,000 | Train split only; 3-layer filter; excluded from Disjoint-36 |
5 | CLINC150+OOS | clinc/clinc_oos (train) | 1,000 | 200 | 25 | 1,000 | Train split only; 3-layer filter; excluded from Disjoint-36 |
11 | ContractNLI | ContractNLI (tau/scrolls train) | 417 | 200 | 25 | 417 | Train split only; 3-layer filter; excluded from Disjoint-36 |
24 | MMLU | cais/mmlu_aux (auxiliary_train) | 0 | 400 | 100 | 400 | Auxiliary train split only; 3-layer filter; excluded from Disjoint-36 |
30 | GSM8K | openai/gsm8k (train) | 0 | 600 | 100 | 600 | Train split only; 3-layer filter; excluded from Disjoint-36 |
57 | MMLU-Pro | cais/mmlu_aux (MMLU family) | 0 | 400 | 100 | 400 | Shared MMLU source family; excluded from Disjoint-36 |
62 (K=2) | When2Call MCQ | nvidia/When2Call (train_pref) (K=2 binary) | 800 | 200 | 0 | 800 | Binary tool-call train rows; excluded from Disjoint-36 |
62 (K=4) | When2Call MCQ | nvidia/When2Call (train_pref) (4-way, derived MCQ) | 0 | 0 | 1,000 | 0 | 4-way response MCQ (micro only); excluded from Disjoint-36 |
Verified non-DI training sources across (s2 / s2b / micro / comb): ClassOne_JevBench_Replay (1,250 / 1,110 / 250 / 1,250), xTRam1/safe-guard-prompt-injection (train) (1,000 / 200 / 0 / 1,000), coastalcph/lex_glue_ledgar (train) (1,000 / 120 / 25 / 1,000), coastalcph/lex_glue_ledgar_multi_q (train) (300 / 80 / 0 / 300), pminervini/HaluEval (0 / 500 / 75 / 500), tau/commonsense_qa (0 / 500 / 100 / 500), ucinlp/drop (0 / 490 / 75 / 490), nyu-mll/multi_nli (0 / 450 / 50 / 450), allenai/openbookqa (0 / 400 / 100 / 400), stanfordnlp/snli (0 / 350 / 50 / 350).
Secondary-suite near-phrase overlap disclosure (4 items): Re-auditing against battery_*.py and rebuilt Held-Out-1K v2 surfaced 3 Held-Out-1K v2 Layer-3 7-gram matches (1 xTRam1/safe-guard-prompt-injection -> v2_bin_skew_legit_006, 2 mteb/banking77 -> v2_banking_k77_099, v2_banking_k77_111) and 1 RLCDAlignBench battery_a_judge match (ClassOne_JevBench_Replay row_3074 -> sycophancy_eval:0:no_reference); excluding them shifts standalone 4B v1.1 (2x NVIDIA RTX 5060 Ti 16 GB, evaluate_stage2_request) from 85.68% -> 85.62% HO-1K v2 macro (n=997, Q-Acc: 91.10% -> 91.08%) and 56.50% -> 56.82% / 56.95% RLCDAlignBench balanced accuracy (n=99 exact / n=97 L3-variant-excluded; the exact-match item scored wrong 0/1).
Official Results (Benchmark Heaven)
Official third-party evaluation on Benchmark Heaven (model page: classone-qwen3.5-4b, JevBench v1.8.15, prior published baseline before Stage 2 v1.1):
| Metric | Official Benchmark Heaven (JevBench v1.8.15) |
|---|---|
| Capability | 38.1 (Capability rank #217, Official overall rank #188) |
Why self-measured local numbers differ from official Benchmark Heaven scores:
- Sealed vs. public split: Local self-measurements evaluate only the 231 public JevBench tasks, whereas Benchmark Heaven evaluates both public items and private sealed items.
- Public/sealed gap penalty: Benchmark Heaven applies a generalization penalty when public and sealed accuracy diverge.
- 10-second cutoff & hardware normalization: Tasks exceeding 10 seconds receive zero credit, and speed/cost axes are normalized on server-grade reference GPUs rather than local workstation hardware (
2x NVIDIA RTX 5060 Ti 16 GB).
Attribution & Legal
- Base backbone:
Qwen/Qwen3.5-4B(Alibaba Cloud Qwen Team) — Apache License 2.0 - Architecture & training code:
devops-thiago/class-one— Apache License 2.0