Downloads · 30 days
9
8% of all-time downloads
narcolepticchicken/aco-specialists-verifier-gater-v2
aco-specialists-verifier-gater-v2 is a machine learning model from narcolepticchicken. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Verifier gater for Agent Cost Optimizer — predicts whether an agent's code patch needs verification (testing/review). Goal: avoid running expensive verifiers on every output.
Downloads · 30 days
9
8% of all-time downloads
All-time downloads
109
Public
Parameters
150M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors598 MB · 99%
From the Hugging Face model README
Verifier gater for Agent Cost Optimizer — predicts whether an agent's code patch needs verification (testing/review). Goal: avoid running expensive verifiers on every output.
answerdotai/ModernBERT-base, 149.6M params)Evaluated on 863 held-out R2E-Gym Verifier trajectories (class dist: fail=478, pass=385; 44.6% positive).
| Metric | v2 (ModernBERT) | v1 (DistilBERT) | Delta |
|---|---|---|---|
| Accuracy | 66.7% | 65.5% | +1.3pp |
| F1 (macro) | 0.667 | 0.654 | +0.013 |
Per-class: neg P=0.778 R=0.559 F1=0.650 | pos P=0.594 R=0.803 F1=0.683
Assessment: The model predicts both classes (NOT collapsed). It shows modest bias toward predicting "pass" (high recall 0.803 on positive, lower recall 0.559 on negative). The 1.3pp accuracy gain is real but practically negligible. The feature extraction (600-char github issue + 600-char agent actions + 400-char patch) provides insufficient signal — the model is barely above a majority-class baseline.
NOT COLLAPSED: verified on 863 samples, both classes predicted, F1=0.667 ≠ base rate.
R2E-Gym/R2EGym-Verifier-Trajectories (5,750 code-patching agent trajectories with reward scores).
Preprocessed split available at narcolepticchicken/aco-traces (data/verifier_gater/).
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained(
"narcolepticchicken/aco-specialists-verifier-gater-v2")
tokenizer = AutoTokenizer.from_pretrained(
"narcolepticchicken/aco-specialists-verifier-gater-v2")
inputs = tokenizer("TASK: ...\nAGENT_ACTIONS: ...\nPATCH: ...",
return_tensors="pt", truncation=True, max_length=2048)
outputs = model(**inputs)
# Threshold calibrated at 0.52: prob[1] >= 0.52 → needs verification