KAIROS

Kairos PI 2.0 Low ยท 153M (pi-2.0-low)

Bilingual (EN + PT-BR) non-autoregressive System-1 decision encoder fine-tuned from dmis-lab/UltraBERT-150M across a 4-stage zero-distillation curriculum. Delivers calibrated multi-choice routing (up to 255 options in one pass), binary noul verification, continuous scoring, and 100.0% abstention recall at 93.68 ms CPU p50 in selective INT8 ONNX (223.00 MB).

dmis-lab/UltraBERT-150M (153.1M) 18K Curriculum ยท 50/50 EN/PT-BR Anchor Safetensors ยท ONNX FP32 ยท Selective INT8 L-BFGS NLL Calibrated ยท Zero Leakage
Locked Holdout (1,200)
84.36% / 89.08% F1
INT8 CPU: 84.87% ยท PT-BR 82.74%
Safety & Calibration
100% Abstain ยท 0.0385 ECE
33/33 Twins ยท 100% Order Inv.
Decision Index Probe
30.12 (+17.42)
BANKING77 72.14 ยท Unseen SciQ 46.67
Inference & Footprint
93.68 ms CPU INT8
223.0 MB INT8 ยท GPU 42.74 ms

Artifacts & Runtime Binaries

File Format Exact Size Role
model.safetensors PyTorch FP32 584.10 MB (612,470,532 B) Calibrated native PyTorch weights (84.36% forced / 83.44% safe, 0.0467 Score MAE)
onnx/kairos_pi2_low.onnx ONNX FP32 580.10 MB (608,282,747 B) Full-precision ONNX Runtime graph (3e-06 max prob diff vs PyTorch CPU, 120.16 ms p50)
onnx/kairos_pi2_low_int8.onnx ONNX Selective INT8 223.00 MB (233,836,733 B) Recommended CPU runtime (-61.56% size). 132/222 quantized nodes (84.87% forced, 93.68 ms p50)
kairos_pi2_low_config.json Config JSON 715 B Architecture specs, NLL temperatures (T_choice=2.5584, T_noul=3.8195), and abstention thresholds
modeling_pi2_low.py, config.py Python 21,799 B Standalone model loader, calibrated heads, ActiveAbstentionGate, and to_decision_output()
tokenizer.json, tokenizer_config.json Tokenizer 3.36 MB dmis-lab/UltraBERT-150M native tokenizer (`<

Visual Benchmark Overview

1. Locked Bilingual Holdout Progression (1,200 Cases โ€” Forced Accuracy)

Locked 1,200-Case Holdout Evaluation (600 EN + 600 PT-BR across 6 Operational Domains)
Evaluated on identical frozen split across native PyTorch, ONNX FP32, Selective INT8, and frozen baselines (Score MAE = 0.0467)
Stage 4 Selective ONNX INT8 (CPU, 223.0 MB) 84.87% Acc ยท 89.67% F1 ยท 93.68 ms p50
Stage 4 PyTorch BF16 / ONNX FP32 (584 MB / 580 MB) 84.36% Acc ยท 89.08% F1 ยท ECE 0.0385
Stage 3 Enterprise Anchor (Mask-Unified Noul) 83.84% Acc ยท 88.56% F1 ยท ECE 0.0412
Stage 1 Base Fine-Tune (10K Base Corpus) 81.60% Acc ยท 86.58% F1 ยท ECE 0.0635
Frozen Baseline: UltraBERT-150M (Untrained Heads) 52.04% Acc ยท 19.33% F1 ยท 0% Twins
Frozen Baseline: PI 1.0 Low (ModernBERT-base 149M) 41.51% Acc ยท 27.17% F1 ยท 93.35% False Abstain

2. External Decision Index & Unseen-Scenario Probe (Chance-Corrected Skill)

External Engine Evaluation (1,600 Public & Unseen Items โ€” 100% Contract Valid)
Evaluated via PI2LowDecisionIndexEngine (5-task public probe: 12.70 โ†’ 30.12 skill; 4 zero-exposure unseen families: 16.79 skill)
BANKING77 (77-way Single Pass ยท test) 72.14 Skill (72.50% raw vs 1.30% chance)
UNSEEN: SciQ-test (Zero Training Exposure) 46.67 Skill (60.00% raw ยท 42.44 ms p50)
HellaSwag (validation) 36.67 Skill (52.50% raw)
ARC-Challenge (test) 34.67 Skill (51.00% raw)
Stage 4 Mean 5-Task Decision Index Probe Skill 30.12 Skill (+17.42 vs Stage 3 12.70)
UNSEEN: MMLU 57 Subjects (Zero Training Exposure) 19.33 Skill (39.50% raw ยท 43.19 ms p50)

Consolidated Empirical Scorecard

Runtime / Benchmark Config Forced Acc Forced F1 Safe Acc Abstain Recall (114) False Abstain Forced ECE Twins (33) Order Inv. Score MAE Latency p50
ONNX Selective INT8 (223.0 MB) 84.87% 89.67% 83.84% 100.0% 1.53% 0.0385 100.0% โ€” โ€” 93.68 ms (CPU)
PyTorch BF16 (RTX 3060 GPU) 84.36% 89.08% 83.44% 100.0% 1.64% 0.0385 100.0% 100.0% 0.0467 42.74 ms (GPU)
ONNX FP32 (580.1 MB) 84.36% 89.08% 83.44% 100.0% 1.64% 0.0385 100.0% โ€” โ€” 120.16 ms (CPU)
PyTorch FP32 (CPU) 84.36% 89.08% 83.44% 100.0% 1.64% 0.0385 100.0% 100.0% 0.0467 146.54 ms (CPU)
Stage 3 (low_stage3) 83.84% 88.56% 82.82% 100.0% 1.43% 0.0412 100.0% 100.0% 0.0536 43.43 ms (GPU)
UltraBERT-150M (Untrained Heads) 52.04% 19.33% 0.00% 100.0% 100.0% 0.1825 0.0% โ€” โ€” 45.11 ms (GPU)
PI 1.0 Low (ModernBERT-base) 41.51% 27.17% 4.09% 97.37% 93.35% 0.0174 0.0% โ€” โ€” 30.15 ms (GPU)

Complete audit tables, failure diagnostics, and ablation analysis: BENCHMARK.md.


Quickstart & Runtime Integration

PyTorch Safetensors Inference (KairosPI2LowForDecision.decide() + to_decision_output())
from transformers import AutoTokenizer
from modeling_pi2_low import KairosPI2LowForDecision

model_dir = "./release_card"
tok = AutoTokenizer.from_pretrained(model_dir, trust_remote_code=True)
model = KairosPI2LowForDecision.from_pretrained(model_dir).eval()

bos = tok.bos_token or "<|endoftext|>"
eos = tok.eos_token or bos
sep = tok.sep_token or "<|sep|>"
mask = tok.mask_token or "<|mask|>"

options = {
    "nominal": "Normal pump vibration and bearing temperature",
    "warning": "Elevated RMS vibration requiring preventive inspection",
    "critical": "Immediate shutdown required due to severe fault signature",
}
opt_keys = list(options.keys())
opts_str = " ".join(f"{mask} {k}: {options[k]}" for k in opt_keys)
state_json = '{"sensor_vib_mm_s": 11.4, "bearing_temp_c": 91.8, "alarm_active": true}'

prompt = f"{bos} [TASK:CHOICE] Classify asset operating state. {sep} {opts_str} {sep} {state_json} {eos}"
enc = tok(prompt, truncation=True, max_length=2048, return_tensors="pt")
mpos = (enc["input_ids"][0] == tok.mask_token_id).nonzero(as_tuple=True)[0]

decision = model.decide(
    enc["input_ids"],
    enc["attention_mask"],
    mask_positions=mpos,
    task="choice",
    candidate_names=opt_keys,
    mode="safe",
)
print(decision.to_decision_output())
ONNX Runtime CPU Inference (kairos_pi2_low_int8.onnx, 223 MB ยท 93.68 ms p50)
import numpy as np
import onnxruntime as ort
from transformers import AutoTokenizer

tok = AutoTokenizer.from_pretrained("./release_card", trust_remote_code=True)
sess = ort.InferenceSession("./release_card/onnx/kairos_pi2_low_int8.onnx", providers=["CPUExecutionProvider"])

prompt = "<|endoftext|> [TASK:CHOICE] Pick status. <|sep|> <|mask|> ok: Nominal <|mask|> alert: Fault <|sep|> {\"temp_c\": 92.0} <|endoftext|>"
enc = tok(prompt, truncation=True, max_length=2048, return_tensors="np")
mpos = np.where(enc["input_ids"][0] == tok.mask_token_id)[0].astype(np.int64)

choice_logits, abstain_logit = sess.run(
    None,
    {
        "input_ids": enc["input_ids"].astype(np.int64),
        "attention_mask": enc["attention_mask"].astype(np.int64),
        "mask_positions": mpos,
    },
)

For binary task="noul" (<|mask|> no <|mask|> yes), pass mpos = mask_positions[:2] and rescale (choice_logits * 2.5584) before dividing (l_yes - l_no) by T_noul = 3.8195.


Audit Appendix

Per-Domain Locked Holdout Matrix (978 Classification Rows across 6 Operational Domains)
Operational Domain Stage 1 Stage 3 Stage 4 Final Correct / Total
reliability_adversarial_twin100.0%100.0%100.0%66 / 66
equipment_sensor_analytics97.12%97.12%97.12%202 / 208
intent_business_triage91.67%90.83%90.42%217 / 240
structured_numerical_tabular85.61%86.36%86.36%114 / 132
robotics_propulsion_timeseries60.87%66.30%70.65% (+9.78)65 / 92
grounded_verification58.75%66.25%67.08% (+8.33)161 / 240
Apache-2.0 License & Data Governance Notice
Released under Apache-2.0, built strictly from dmis-lab/UltraBERT-150M and audited permissive open-source datasets with zero synthetic distillation and zero evaluation leakage. See DATASET_CARD.md.
Downloads last month

-

Downloads are not tracked for this model. How to track
Safetensors
Model size
0.2B params
Tensor type
F32
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Walkowicz/kairos-pi-2.0-low

Finetuned
(30)
this model

Collection including Walkowicz/kairos-pi-2.0-low