A $6.60, 149M ModernBERT cross-encoder for agent tool routing — full recipe shared
MaziyarPanahi · x · 2026-10-01
The author shares the training details and model card (MaziyarPanahi/ModernJEV-Decide-Preview): a 149.6M-parameter ModernBERT cross-encoder with a single scalar scoring head, 4,096-token inputs, where choice labels and descriptions are input text — so outputs aren't limited to a fixed tool vocabulary. It reads a conversation, policy and available tools, then scores candidate actions. The 60K-decision prototype cost about $6.60 total ($5.40 training), evaluated on held-out sets of 1,158 next-action, 542 tool-selection and 3,652 unseen When2Call decisions. The one-prompt run trained 6K decisions in 16 minutes; the 62% tool-selection figure comes from the full 60K model finished with Codex. The author stresses it's a choice-ranking prototype, not a Jev reproduction.
Related event: Developer Trains Open-Source Tool-Routing Model for $6.60(4 posts)→
More from coding & agent
- AI agents solve 909 open math problems in 2 days on 18-year-old's Left to Solve site — julianibarz · 2026-11-29
- 'Verification is AI's next trillion-dollar category' — proof checkers, evals, agents auditing agents — McDonaghMatthew · 2026-11-29
- Vibe-codevember day 28: 'Hive', a Three.js creative coding demo built with AI — thespite · 2026-11-29
- 'End user programming!': a three-word verdict on what LLM coding really unlocks — round · 2026-11-29
- Founder claims LLMs aren't even the right ML approach for writing programs — jfischoff · 2026-11-29
- Gmail's official MCP only drafts, never sends: devs slam over-cautious agent design — steipete · 2026-11-29