e2e_eval: dynamic tasks, priority/group cascade, --priority list#393
Merged
Conversation
added 2 commits
April 24, 2026 15:04
# Conflicts: # scripts/e2e_eval/build_registry.py
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
xieofxie
commented
Apr 27, 2026
DingmaomaoBJTU
approved these changes
Apr 27, 2026
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.
Summary
build_registry.py/api/tasks(47 tasks) instead of the 21-entry hand-writtenNLP_TASKS + CV_TASKSlists.priorityandgroupwhen classifying entries:models_curated.jsonoverrides win verbatim (group, priority both honored — previouslyprioritywas forced toP0).(hf_id, task)was in the previousmodels_all.json, inherit that row'spriority/group. Lets hand-edits tomodels_all.jsonsurvive rebuilds.microsoft/-prefixed →(microsoft, P1); everything else →(Top200, P2). (P2is a new tier;optimum_supportedno longer drives priority.)(hf_id, task)rows that aren't re-picked by Phase 1 are kept verbatim exceptdownloads+optimum_supportedare refreshed. Lets the registry stay stable across runs and supports tasks HF's API doesn't expose (e.g.masked-lm).orderfield: every entry now carriesorder: 1..Nranked by downloads descending so consumers don't need to re-sort.run_eval.py--prioritynow accepts multiple values — e.g.--priority P0 P1runs the union. Backward-compatible with single value.filter_registry()widened:priority: str | Sequence[str] | None.Curated list
models_curated.json.Regenerated
models_all.json(439 entries, sorted by(hf_id, task))P0: 22 | P2: 202 | P3: 215Top200: 398 | Foundry Toolkit: 16 | microsoft: 15 | Benchmark: 6 | ISV: 4311/439