|
Download benchmarks/README.md from inclusionAI/Skill-Venus-Data: direct link, hf CLI and curl.
- Browser
- Download file 6.97 kB
-
https://huggingface.co/datasets/inclusionAI/Skill-Venus-Data/resolve/main/benchmarks/README.md
- Command line
-
hf download hf://datasets/inclusionAI/Skill-Venus-Data/benchmarks/README.md
-
curl -L -o README.md https://huggingface.co/datasets/inclusionAI/Skill-Venus-Data/resolve/main/benchmarks/README.md
6.97 kB
| # SkillBench-Venus | |
| SkillBench-Venus evaluates how well retrievers find skills for agents and how well agents use those skills to complete tasks. Download the benchmark archive you need and extract it before evaluation. | |
| [Skill-Venus Corpus](../skill_corpus/README.md) · [Evaluation code](https://github.com/inclusionAI/Skill-Venus) | |
| | Benchmark | Data | Archive | | |
| | --- | --- | --- | | |
| | [SkillBench-Venus-S](#skillbench-venus-s) | 1,000 search queries and relevance judgments | [skillbench-venus-s.tar.gz](skillbench-venus-s.tar.gz) | | |
| | [SkillBench-Venus-E](#skillbench-venus-e) | 250 executable tasks, reference skills, and graders | [skillbench-venus-e.tar.gz](skillbench-venus-e.tar.gz) | | |
|  | |
| Install the Hugging Face CLI to use the download commands below. Run the evaluation commands from the root of the [code repository](https://github.com/inclusionAI/Skill-Venus). | |
| ```bash | |
| python -m pip install -U huggingface_hub | |
| ``` | |
| ## SkillBench-Venus-S | |
| SkillBench-Venus-S tests whether a retriever can find skills for queries agents issue while working on a task. It contains 1,000 queries from 352 tasks, with 3,785 positive query–skill pairs and 70,761 judged negatives. We pooled candidates from multiple retrievers and used models to label the pairs and check those marked relevant. | |
| | Query source | Queries | | |
| | --- | ---: | | |
| | SkillBench-Venus | 511 | | |
| | SkillEval v1 | 352 | | |
| | SkillsBench | 137 | | |
| ### Data format | |
| | File | Contents | | |
| | --- | --- | | |
| | `queries.jsonl` | One query per line with `id`, `query`, `benchmark`, and `task_id`. | | |
| | `qrels.tsv` | Query ID, iteration (`0`), skill ID, and relevance (`1` for relevant, `0` for judged nonrelevant). | | |
| | `manifest.json` | Counts, query sources, and data file hashes. | | |
| For example, this query was issued during a SkillBench-Venus task. | |
| ```json | |
| {"id":"40a6a42f7f0d57c6db308eb25001461f1685ec8cd11376072a4d0b85c7e74e75","query":"Alibaba Cloud Tair Redis DescribeInstances DescribeBackups inspection","benchmark":"skillbench-venus-v1","task_id":"005f203871f784b90af3d608"} | |
| ``` | |
| One positive judgment for this query pairs that ID with `skill-8a894804058f423c9ee7f939`. Use the skill ID to look up the text in the corpus. | |
| ### Evaluate | |
| Download and extract `benchmarks/skillbench-venus-s.tar.gz` and the `skills.jsonl` for the corpus size you want to evaluate. Every collection includes the labeled positives. Smaller collections can omit judged negatives. [Download the benchmark](#skillbench-venus-s) · [Skill-Venus Corpus](../skill_corpus/README.md) | |
| ```bash | |
| hf download inclusionAI/skill-venus-data benchmarks/skillbench-venus-s.tar.gz \ | |
| --repo-type dataset \ | |
| --local-dir downloads/skill-venus-data | |
| tar --no-same-owner -xzf downloads/skill-venus-data/benchmarks/skillbench-venus-s.tar.gz \ | |
| -C downloads/skill-venus-data/benchmarks | |
| ``` | |
| Rank skills for each query. Save one JSONL row per query with its `query_id` and a `ranking` array of skill IDs in rank order. Run the scorer from the root of the evaluation code repository. [Retrieval evaluation code](https://github.com/inclusionAI/Skill-Venus/tree/main/evaluation/search) | |
| ```bash | |
| benchmark=downloads/skill-venus-data/benchmarks/skillbench-venus-s | |
| python evaluation/search/evaluate.py score \ | |
| --queries "$benchmark/queries.jsonl" \ | |
| --qrels "$benchmark/qrels.tsv" \ | |
| --rankings runs/venus-rankings.jsonl \ | |
| --output runs/venus-metrics.json | |
| ``` | |
| The scorer reports macro Hit@1, Hit@3, Hit@5, Recall@5, and nDCG@5. Unjudged pairs receive zero gain. Report the corpus size with your scores and keep the queries and judgments held out from training and tuning. | |
| ## SkillBench-Venus-E | |
| SkillBench-Venus-E measures how skill access affects task completion. Each of the 250 tasks includes an instruction, any inputs the agent needs, reference skills, and a grader. Of these tasks, 226 have one reference skill and 24 have more than one. | |
| ### Evaluation settings | |
| All three settings use the same tasks. The `gold` and `meta` settings give the agent the same skill hint. | |
| | Setting | What the agent receives | | |
| | --- | --- | | |
| | `none` | Task instructions and inputs | | |
| | `gold` | Task instructions, inputs, the hint, and preinstalled reference skills | | |
| | `meta` | Task instructions, inputs, the hint, and a tool for searching and fetching skills | | |
| ### Quick start | |
| Download and extract `benchmarks/skillbench-venus-e.tar.gz`, then follow the evaluation guide to build the Docker images and configure an agent model. [Download the benchmark](#skillbench-venus-e) · [Harbor setup](https://github.com/inclusionAI/Skill-Venus/tree/main/evaluation/end_to_end) | |
| ```bash | |
| hf download inclusionAI/skill-venus-data benchmarks/skillbench-venus-e.tar.gz \ | |
| --repo-type dataset \ | |
| --local-dir downloads/skill-venus-data | |
| tar --no-same-owner -xzf downloads/skill-venus-data/benchmarks/skillbench-venus-e.tar.gz \ | |
| -C downloads/skill-venus-data/benchmarks | |
| ``` | |
| Run one task in the `gold` setting from the root of the evaluation code repository. Set `model` and `model_url` to the model ID and API base URL served by your endpoint. | |
| ```bash | |
| python evaluation/end_to_end/run.py \ | |
| --dataset downloads/skill-venus-data/benchmarks/skillbench-venus-e \ | |
| --setting gold \ | |
| --task-id 005f203871f784b90af3d608 \ | |
| --model "$model" \ | |
| --model-url "$model_url" \ | |
| --output runs/venus-gold | |
| ``` | |
| Omit `--task-id` to run all 250 tasks. For `meta`, start a server that ranks skills using a corpus index and serves the matching skill packages. Pass the server URL with `--search-url`. [Corpus and skill packages](../skill_corpus/README.md) · [Search server setup](https://github.com/inclusionAI/Skill-Venus/tree/main/evaluation/end_to_end#run-meta) | |
| Each attempt gives the agent 1,800 seconds. Read `summary.json` for scores, timeouts, and missing or unscored trials. Complete runs report `mean_reward`. Incomplete runs report `partial_mean_reward`, and the launcher exits with an error. | |
| ### Data format | |
| | Path | Contents | | |
| | --- | --- | | |
| | `manifest.jsonl` | One row per task with `query_id`, `task_path`, `evaluation_type`, and `skill_count`. | | |
| | `tasks/` | Task instructions, inputs, reference skills, and grading files. | | |
| | `tasksets/{none,gold,meta}/tasks.jsonl` | Task list and run settings for each condition. | | |
| | `prepare_task.py` | Prepares one task workspace for the selected setting. | | |
| ## Archive checksums | |
| | Archive | Bytes | SHA-256 | | |
| | --- | ---: | --- | | |
| | `skillbench-venus-s.tar.gz` | 1351614 | `800ae3caf573a9094923e9e10c08d2ce20e3819f6b343473f391ea9bfc8d2b19` | | |
| | `skillbench-venus-e.tar.gz` | 15156933 | `64282f4c81a6cb464c652c96c5dc2d83a2773d07481d2d6aad6306eb05e13750` | | |
| ## License | |
| Project-authored dataset content is released under the Apache License 2.0. Third-party skills and other third-party materials remain subject to their respective licenses. [License](../LICENSE) | |