Issue classifier bake-off · huggingface/trl
Gold set: 350 issues (206 calibration / 144 test). Temperature scaling and abstain thresholds are fit on the calibration split; every number below is measured on the held-out test split. Decision rule: among candidates within 3% macro-F1 of the best with calibrated ECE ≤ 0.1: lowest API cost, then highest coverage at 85% precision, then fastest. Gate: macro-F1 ≥ 0.7, ECE ≤ 0.1.
Gold set not human-reviewed yet (0/350). Labels are one-time LLM pre-labels; treat these numbers as provisional until a maintainer reviews out/trl-gold-review.html.
Type — 3 classes
Selected: ModernBERT-base_issue-type — gate PASSED (meets gate)
| Model | Acc | Macro-F1 | ECE raw → cal | Brier | Coverage @ 85% prec. | Test prec. | s / 1k issues | $ / 1k | Reliability |
|---|---|---|---|---|---|---|---|---|---|
| rules | 84% | 0.69 | 0.144 → 0.147 | 0.331 | 100% | 84% | 0 | 0.0000 | |
| ModernBERT-base_issue-type | 94% | 0.90 | 0.039 → 0.028 | 0.075 | 100% | 94% | 52 | 0.0000 | |
| bge-small-en-v1.5+LR (supervised) | 85% | 0.66 | 0.189 → 0.043 | 0.230 | 94% | 88% | 27 | 0.0000 | |
| bge-base-en-v1.5+LR (supervised) | 87% | 0.64 | 0.206 → 0.064 | 0.225 | 90% | 89% | 61 | 0.0000 | |
| bge-base-en-v1.5+rules+LR (supervised) | 87% | 0.71 | 0.110 → 0.085 | 0.210 | 93% | 90% | 60 | 0.0000 | |
| gliclass-edge-v3.0 | 50% | 0.44 | 0.198 → 0.076 | 0.620 | 0% | — | 46 | 0.0000 | |
| typesafe-jev | 94% | 0.87 | 0.033 → 0.030 | 0.069 | 99% | 94% | 35 | 0.0401 |
Theme — 13 classes
Selected: typesafe-jev — gate PASSED (meets gate)
| Model | Acc | Macro-F1 | ECE raw → cal | Brier | Coverage @ 85% prec. | Test prec. | s / 1k issues | $ / 1k | Reliability |
|---|---|---|---|---|---|---|---|---|---|
| rules | 49% | 0.41 | 0.141 → 0.123 | 0.709 | 8% | 75% | 0 | 0.0000 | |
| bge-small-en-v1.5+LR (supervised) | 67% | 0.58 | 0.381 → 0.067 | 0.439 | 61% | 84% | 27 | 0.0000 | |
| bge-base-en-v1.5+LR (supervised) | 71% | 0.62 | 0.410 → 0.093 | 0.426 | 69% | 82% | 61 | 0.0000 | |
| bge-base-en-v1.5+rules+LR (supervised) | 70% | 0.64 | 0.264 → 0.047 | 0.437 | 60% | 86% | 60 | 0.0000 | |
| gliclass-edge-v3.0 | 19% | 0.14 | 0.037 → 0.049 | 0.882 | 1% | 100% | 46 | 0.0000 | |
| typesafe-jev | 77% | 0.72 | 0.079 → 0.077 | 0.310 | 100% | 77% | 35 | 0.0401 |
Reliability: dots are confidence bins (x = mean confidence, y = accuracy, size = count); on the dashed diagonal = perfectly calibrated. Small test split ⇒ wide uncertainty on per-class numbers.