Repository navigation
Conversation
Config, full predictions with answers, robustness routing, and a price profile for the router's local classifier (qwen/qwen3-4b-instruct-2507). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
|
/evaluate |
Router Evaluation ResultsRouter: RouterArena Metrics
Evaluation completed by RouterArena automated workflow |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add f-router
Files (the three submission files only):
router_inference/config/f-router.jsonrouter_inference/predictions/f-router.json(full,generated_resultpopulated)router_inference/predictions/f-router-robustness.json(routing only)model_cost/model_profiles.yaml+ regeneratedmodel_cost/model_cost.json: one new entry for the router's own classifier (see "Router cost")How it routes
argmax_m p_hat(m) - lambda * expected_cost(m), with lambda = 0.269.Candidates:
gpt-oss-20b,z-ai/glm-5.3-flash,openai/gpt-6-luna,deepseek/deepseek-v4.1-flash@high. Onfullthe router picked GLM for 5,500 queries and Luna for 2,900. It picked gpt-oss and DeepSeek for none.Training data (no RouterArena data)
The predictor, lambda and the choice among predictor variants come only from an independently authored development set of 1,500 questions. They are procedurally generated or hand-written, with quotas that are not derived from any benchmark distribution. The set was split 924 train / 289 validation / 287 holdout, and the holdout was scored once before any RouterArena routing. On that holdout the router scored 0.9543 against 0.9535 for the best single model (Luna). Development results do not transfer directly to RouterArena. No RouterArena questions, labels, cached results, other submissions or leaderboard scores were used to train, tune or select anything. The structural features are generic regexes written for our development set; they were not written against RouterArena's prompt templates or
config/eval_config/.Answers
Every answer comes from our own API calls, one user message per query with no system prompt:
max_tokens8192, and one retry at 16384 if the output hits the length limit.model_usedrecords the model OpenRouter actually served. No row was answered by a different model.success: falseand were not retried, matching the development-set policy.Router cost
Every row lists the classifier call in
router_usage: on average 778 input and 37 output tokens. The classifier runs locally and has no published API price, so we added a price profile priced conservatively at the nearest larger listed Qwen model (qwen/qwen3.5-9b, 0.17 / 0.25 per M tokens). We are happy to use a different price if the maintainers prefer.Disclosures
fullto set quotas for an earlier synthetic set. That earlier set and those quotas are excluded from this router.deepseek/deepseek-v4.1-flash@high. It was never selected in this submission.gpt-oss-20b, which is present in both the price table anduniversal_model_names.py. It was never selected in this submission.🤖 Generated with Claude Code