Downloads · 30 days
3
2% of all-time downloads
narcolepticchicken/aco-specialists-tier-router-v2
aco-specialists-tier-router-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.
Tier router for Agent Cost Optimizer — classifies agent queries into 3 difficulty tiers (easy/medium/hard) to select the cheapest adequate model.
Downloads · 30 days
3
2% of all-time downloads
All-time downloads
125
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
Tier router for Agent Cost Optimizer — classifies agent queries into 3 difficulty tiers (easy/medium/hard) to select the cheapest adequate model.
answerdotai/ModernBERT-base, 149.6M params)Evaluated on 1,260 held-out RouterArena instances (class dist: easy=593, medium=359, hard=308).
| Metric | v2 (ModernBERT) | v1 (DistilBERT) | Delta |
|---|---|---|---|
| Accuracy | 69.2% | 70.1% | -0.9pp |
| F1 (macro) | 0.677 | 0.670 | +0.007 |
Per-class F1: easy=0.768, medium=0.544, hard=0.720
Assessment: v2 offers no meaningful improvement over v1 for tier routing. The architecture upgrade (67M→149M) and focal loss did not help on this task. The model is usable but not better.
RouteWorks/RouterArena (8,400 questions from 9 domains, 3 difficulty levels).
Preprocessed split available at narcolepticchicken/aco-traces (data/tier_router/).
from transformers import AutoModelForSequenceClassification, AutoTokenizer
model = AutoModelForSequenceClassification.from_pretrained(
"narcolepticchicken/aco-specialists-tier-router-v2")
tokenizer = AutoTokenizer.from_pretrained(
"narcolepticchicken/aco-specialists-tier-router-v2")
inputs = tokenizer("Write a Python function to reverse a linked list",
return_tensors="pt", truncation=True, max_length=2048)
outputs = model(**inputs)
# 0=easy, 1=medium, 2=hard