caelum0x a59767507f fix: otsone-base ONNX export broken Split opset downgrade, run first real training
ModernBERT-base's GeGLU-gated MLP lowers to an ONNX Split node using the
opset-18-only `num_outputs` attribute; torch's dynamo exporter's opset-17
downgrade pass can't rewrite it, so onnxruntime rejected the exported graph
as invalid during temperature calibration. otsone-mini (plain-GELU MiniLM)
never hits this Split pattern, so the bug was invisible until otsone-base
was actually trained for the first time. Fix: export at opset 18 directly.

Ran the fixed pipeline end to end (otsone distill --backbone otsone-base):
a full 14-epoch run stalled twice under ~500-900 load average from other
concurrent agents on this shared Mac (one killed after 23min/0 epochs, one
suspended by the OS post-training at 35min before export), so this records
a labeled reduced 3-epoch run that completed clean in <6min once load eased.
Real held-out gold-set result: 12/14 cases, 14/18 checks, accuracy=0.7778,
ece=0.1596 - slightly behind otsone-mini-run1-nogold's 14-epoch 0.8333/0.1255,
honestly attributable to the 4.7x-shorter training budget on a 6.6x-larger
backbone, not the architecture. Full writeup + model_card/rl_agent_config
(no weights) in otsone/docs/results/otsone-base-reduced-3ep/.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-11 04:09:33 +03:00

181 lines
3.9 KiB
JSON

{
"name": "otsone-1",
"family": "openjev",
"trained_by": "openjev",
"architecture": "otsone-v2-corn",
"backbone_tier": "otsone-base",
"backbone": "answerdotai/ModernBERT-base",
"task": "typed-decision (choice/score/noul)",
"runtime": "onnx (CPUExecutionProvider)",
"score_head": "CORN rank-consistent ordinal (K-1 conditional sigmoids on [CLS])",
"distinct_from": {
"laya": "Convai ModernBERT-large decision model (run natively via laya_mlx.model)",
"jev": "TypeSafe hosted cloud System One service"
},
"created": "2026-11-11T00:26:21+00:00",
"training": {
"examples": 872,
"epochs": 3,
"batch": 24,
"seed": 13,
"gold_targets_folded": 0,
"synthetic_rows": 96,
"synthetic_axes": [
"paraphrase",
"negation",
"domain-shift",
"ambiguous",
"minimal",
"longform",
"structured",
"multilingual"
],
"teacher_distillation": true,
"teacher_live": false
},
"corn_levels": 12,
"temperature": [
0.5,
0.5,
0.5
],
"temperatures": {
"choice": 0.5,
"score": 0.5,
"noul": 0.5
},
"metrics": {
"gold_cases_passed": 12,
"gold_cases_total": 14,
"gold_checks_passed": 14,
"gold_checks_total": 18,
"accuracy": 0.7778,
"ece": 0.1596,
"evaluated_at": "2026-11-11T00:27:28+00:00"
},
"calibration": {
"bins": 15,
"overall": {
"count": 18,
"accuracy": 0.8333,
"avg_confidence": 0.9218,
"ece": 0.1331,
"mce": 0.4086,
"brier": 0.1107,
"nll": 0.5591,
"bins": [
{
"count": 1,
"avg_confidence": 0.4086,
"accuracy": 0.0,
"gap": -0.4086
},
{
"count": 1,
"avg_confidence": 0.6934,
"accuracy": 1.0,
"gap": 0.3066
},
{
"count": 2,
"avg_confidence": 0.8371,
"accuracy": 0.5,
"gap": -0.3371
},
{
"count": 1,
"avg_confidence": 0.905,
"accuracy": 1.0,
"gap": 0.095
},
{
"count": 13,
"avg_confidence": 0.9932,
"accuracy": 0.9231,
"gap": -0.0701
}
]
},
"by_type": {
"choice": {
"count": 8,
"accuracy": 0.625,
"avg_confidence": 0.8827,
"ece": 0.2577,
"mce": 0.4086,
"brier": 0.2358,
"nll": 1.1911,
"bins": [
{
"count": 1,
"avg_confidence": 0.4086,
"accuracy": 0.0,
"gap": -0.4086
},
{
"count": 2,
"avg_confidence": 0.8371,
"accuracy": 0.5,
"gap": -0.3371
},
{
"count": 5,
"avg_confidence": 0.9958,
"accuracy": 0.8,
"gap": -0.1958
}
],
"adaptive_ece": 0.3027
},
"score": {
"count": 4,
"accuracy": 1.0,
"avg_confidence": 0.9928,
"ece": 0.0072,
"mce": 0.0072,
"brier": 0.0002,
"nll": 0.0073,
"bins": [
{
"count": 4,
"avg_confidence": 0.9928,
"accuracy": 1.0,
"gap": 0.0072
}
],
"adaptive_ece": 0.0072
},
"noul": {
"count": 6,
"accuracy": 1.0,
"avg_confidence": 0.9266,
"ece": 0.0734,
"mce": 0.3066,
"brier": 0.0174,
"nll": 0.0843,
"bins": [
{
"count": 1,
"avg_confidence": 0.6934,
"accuracy": 1.0,
"gap": 0.3066
},
{
"count": 1,
"avg_confidence": 0.905,
"accuracy": 1.0,
"gap": 0.095
},
{
"count": 4,
"avg_confidence": 0.9902,
"accuracy": 1.0,
"gap": 0.0098
}
],
"adaptive_ece": 0.0734
}
}
}
}