results-and-leaderboard
Load, inspect, validate, submit, and display MTEB result caches, BenchmarkResults/TaskResult objects, model-card result metadata, and local leaderboards.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- results-and-leaderboard
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Load, inspect, validate, submit, and display MTEB result caches, BenchmarkResults/TaskResult objects, model-card result metadata, and local leaderboards.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/leaderboard-and-results.md7.6 KB
- 参考文档references/results-cache.md8.1 KB
- 参考文档references/troubleshooting.md8.0 KB
- 脚本scripts/inspect_mteb_results.py12.0 KB
03 SKILL.md 正文
Results and Leaderboard
Use this sub-skill when the user already has MTEB results and needs to inspect cached JSON files, load results into Python objects or dataframes, validate folder layout, prepare model-card result tables, submit results, or run a local leaderboard.
Route First
- To produce new result files with
mteb.evaluate(...),ResultCache, overwrite strategies, prediction folders, or failure-tolerant evaluation, use../evaluation-workflows/SKILL.md. - For shell automation around
mteb create-model-results/model-card metadata generation,mteb leaderboard, and result-producingmteb run, use../cli-and-automation/SKILL.md. - For official contribution process, result PR expectations, suspicious-score review, and repository contribution etiquette, use
../contributing-to-mteb/SKILL.md. - For choosing tasks, benchmarks, task filters, private/beta/superseded defaults, or legal-domain retrieval task selection, use
../tasks-and-benchmarks/SKILL.mdbefore loading or comparing results. - For model metadata, revisions, model cards, custom model wrappers, or missing
model_meta.json, use../models-and-encoders/SKILL.md.
Common Workflows
- Inspect a result folder offline: Run
python scripts/inspect_mteb_results.py mteb-results-cache --require-model-metato summarize model/revision folders, task JSON files, missing metadata, and malformed scores without network access. - Load cached results: Create
cache = mteb.ResultCache(cache_path="mteb-results-cache"), then callcache.load_results(models=[...], tasks=[...], require_model_meta=True, include_remote=True). - Build a dataframe: Use
BenchmarkResults.to_dataframe(aggregation_level="task", format="long")for one row per model/task, orformat="wide"for a comparison matrix. - Compare benchmark scores: Load with a benchmark object or benchmark name, then call
results.get_benchmark_result(); this requires results to be associated with oneBenchmark. - Recover model/revision folders without metadata: Retry loading with
require_model_meta=Falsefor diagnostics, but add or regeneratemodel_meta.jsonbefore publication/submission. - Submit results: Use
ResultCache.submit_results(models=[...], create_pr=False)for manual review first;create_pr=Truerequires GitHub dependencies and authentication. - Run a local leaderboard: Use the CLI
mteb leaderboard --cache-path mteb-results-cache --port 7860; add--rebuildwhen cached leaderboard data is stale.
References
references/results-cache.mdcovers cache layout,ResultCacheAPIs, loading options, result objects, dataframe conversion, and validation signals.references/leaderboard-and-results.mdcovers local/remote results, benchmark tables, model-card result metadata, submission flow, and local leaderboard caveats.references/troubleshooting.mdmaps common install/import, optional-extra, dataset access, CLI/API, cache-path, and filtering failures to fixes.scripts/inspect_mteb_results.pyis a safe offline cache/result-folder inspector for CI, handoff checks, and missing-metadata diagnosis.
Quick Validation
python -c "import mteb; print(mteb.__version__)"
python scripts/inspect_mteb_results.py mteb-results-cache --require-model-meta
mteb leaderboard --cache-path mteb-results-cache --rebuild --port 7860
Expected healthy signals: import mteb succeeds, pip check is clean, result folders contain task JSON files under model/revision directories, publishable result folders include model_meta.json, and dataframe outputs have non-empty model_name, task_name, and score columns.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).