yutaomie commited on
Commit
fe6db4d
·
verified ·
1 Parent(s): 48d2b50

Update SkillGym-Agent model card

Browse files
Files changed (1) hide show
  1. README.md +226 -135
README.md CHANGED
@@ -1,203 +1,294 @@
1
  ---
2
  pretty_name: SkillGym
3
  license: other
4
- license_name: skillgym-mixed-licensing
5
- license_link: https://github.com/ECNU-ICALK/SkillGym/blob/main/LICENSE
6
  language:
7
- - en
8
  source_datasets:
9
- - original
10
  tags:
11
- - ai-agents
12
- - benchmark
13
- - skills
14
- - task-generation
15
- - agent-evaluation
16
- - text
 
 
 
17
  ---
18
 
19
  <div align="center">
20
- <h1>SkillGym Dataset</h1>
21
- <p><strong>Executable tasks, human-written skills, and verified long-horizon agent trajectories.</strong></p>
22
- <p><a href="https://github.com/ECNU-ICALK/SkillGym">GitHub / code</a> · <a href="https://huggingface.co/ecnu-icalk/SkillGym-Agent">Agent checkpoint</a> · <a href="https://github.com/ECNU-ICALK/SkillGym/blob/main/assets/Internalizing_Large_Scale_Human_Written_Skills_into_LLMs_for_Real_World_Problem_Solving.pdf">Paper</a></p>
 
 
 
 
 
 
 
 
 
 
 
 
23
  </div>
24
 
25
- SkillGym is a skill-grounded benchmark and training resource. It instantiates human-written skills and reusable task templates as executable environments, checks outcomes with code-based verifiers, and measures skill dependence through paired executions with and without the target skill.
26
 
27
- ## At a glance
 
 
28
 
29
- | Artifact | Contents | Release size |
30
- | --- | --- | ---: |
31
- | `Tasks.tar.zst` | Paired executable task environments | 5,512 variants / 9 GB |
32
- | `skill_library.tar.zst` | Human-written skills and supporting assets | 117 MB |
33
- | `task_templates.tar.zst` | Reusable seed templates and fixtures | 63 templates / 110 MB |
34
- | `Trajectories/*.jsonl` | Successful trajectories grouped by result type, harness, and teacher | 8,364 records / 8 files |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
- The release contains **2,756 accepted environments** across **12 major categories** and **63 sub-categories**. The archive sizes are approximate and can change with Hub storage metadata.
37
 
38
- ## Quick start
 
39
 
40
- Install the Hub CLI and download only the artifacts you need:
 
 
 
 
 
41
 
42
  ```bash
43
  python -m pip install -U huggingface_hub datasets
44
 
45
- # Skills and templates for task construction
46
  hf download ecnu-icalk/SkillGym \
47
- skill_library.tar.zst task_templates.tar.zst \
48
- --repo-type dataset --local-dir .hf/skillgym
 
 
49
 
50
- # Optional: published environments (the largest archive)
51
- hf download ecnu-icalk/SkillGym Tasks.tar.zst \
52
- --repo-type dataset --local-dir .hf/skillgym
53
 
54
- # Optional: all trajectory collections
55
- hf download ecnu-icalk/SkillGym \
56
- --include "Trajectories/*.jsonl" \
57
- --repo-type dataset --local-dir .hf/skillgym
 
 
 
 
 
 
 
 
 
 
 
58
 
59
- tar --zstd -xf .hf/skillgym/skill_library.tar.zst
60
- tar --zstd -xf .hf/skillgym/task_templates.tar.zst
61
- tar --zstd -xf .hf/skillgym/Tasks.tar.zst
62
  ```
63
 
64
- To download one trajectory file instead of the full collection:
65
 
66
  ```bash
67
  hf download ecnu-icalk/SkillGym \
68
- Trajectories/skill_dependent_claude_code_deepseek_v4_pro.jsonl \
69
- --repo-type dataset --local-dir .hf/skillgym
 
70
  ```
71
 
72
- ## Contents and task definition
 
 
 
73
 
74
- ### Directory layout
75
 
76
  ```text
77
- Tasks/
78
- ├── Skill-Dep/
79
- │ ├── withskill/
80
- │ └── withoutskill/
81
- └── Verifier-Passed/
82
- ├── withskill/
83
- └── withoutskill/
84
-
85
- skill_library/
86
- <skill>/...
87
-
88
- task_templates/
89
- <major>/<minor>/seed_task/...
90
-
91
- Trajectories/
92
- skill_dependent_*.jsonl
93
- verifier_passed_fallback_*.jsonl
94
  ```
95
 
96
- A task variant is organized as:
 
 
97
 
98
- ```text
99
- Tasks/<result>/<skill_condition>/<major>/<minor>/<skill>/<taskN>/
100
- ├── task.toml
101
- ├── instruction.md
102
- ├── environment/
103
- ├── tests/
104
- └── solution/
105
- ```
106
 
107
- In prose, we call these the **with-skill** and **without-skill** conditions. The archive directories are named `withskill` and `withoutskill`: the former installs the target skill, while the latter keeps the task assets but removes it. A pair is labeled **Skill-Dep.** when the reference with-skill execution succeeds and the paired without-skill execution produces a valid reward failure. **Verifier-Passed** contains valid verifier-backed tasks that do not meet that stricter contrastive criterion. These are construction-time labels, not universal claims about skill necessity.
108
 
109
- ### Task and trajectory statistics
 
110
 
111
- | Measure | Value |
112
- | --- | ---: |
113
- | Accepted environments | 2,756 |
114
- | Skill-Dep. / Verifier-Passed | 1,081 / 1,675 |
115
- | Paired variants | 5,512 |
116
- | Successful trajectories | 8,364 from 48,152 trials |
117
- | Trial-level success rate | 17.4% |
118
- | Unique tasks after deduplication | 2,302 |
119
- | Average successful trajectory | 49.0 tool calls · 63.4k logged text tokens · 35.2 interaction steps |
120
- | Longest observed trajectory | 350 tool calls · 342.9k logged text tokens · 318 interaction steps |
121
 
122
- The logged text-token count describes stored trajectory text. It is not API usage, latent reasoning, or the context length of one model request.
 
123
 
124
- ## Load trajectory records
125
 
126
- Each JSONL line is one trajectory record. Streaming avoids materializing the full corpus:
127
 
128
- ```python
129
- from datasets import load_dataset
130
 
131
- records = load_dataset(
132
- "json",
133
- data_files={
134
- "train": "hf://datasets/ecnu-icalk/SkillGym/Trajectories/skill_dependent_claude_code_deepseek_v4_pro.jsonl",
135
- },
136
- split="train",
137
- streaming=True,
138
- )
139
 
140
- for record in records.take(1):
141
- print(record["session_id"])
142
- ```
143
 
144
- Most files use this normalized schema:
145
-
146
- ```json
147
- {
148
- "session_id": "...",
149
- "path_index": 0,
150
- "num_messages": 28,
151
- "model": "...",
152
- "messages": [],
153
- "tools": [],
154
- "provenance": {}
155
- }
156
- ```
157
 
158
- The six normalized files expose `session_id`, `path_index`, `num_messages`, `model`, `messages`, `tools`, and `provenance`. The two `*_codex_nex_n2_pro.jsonl` files preserve their source Codex trace schema, so top-level fields are not identical across all eight files. Inspect the selected file before concatenating records.
 
159
 
160
- Trajectory filenames follow:
 
161
 
162
- ```text
163
- <result_type>_<harness>_<teacher_model>.jsonl
164
- ```
 
165
 
166
- - `skill_dependent_...jsonl`: trajectories associated with Skill-Dep. tasks.
167
- - `verifier_passed_fallback_...jsonl`: trajectories associated with Verifier-Passed fallback tasks.
168
- - The middle component identifies the harness, such as `claude_code` or `codex`.
169
- - The final component identifies the teacher-model label.
 
 
 
 
170
 
171
- The records are model-generated execution logs. Interpret them together with the task environment and verifier rather than as independent human demonstrations. Because the two Codex-Nex files contain nested fields that differ from the normalized files, automatic dataset viewers may fail when all eight files are combined; load each file separately or normalize the records before concatenation.
172
 
173
- The eight release files are grouped as follows:
 
 
174
 
175
- | Result type | Harness | Teacher labels | Files |
176
- | --- | --- | --- | ---: |
177
- | `skill_dependent` | Claude Code | DeepSeek V4 Pro, GLM-5.2 | 2 |
178
- | `skill_dependent` | Codex | GPT-5.4, Nex-N2-Pro | 2 |
179
- | `verifier_passed_fallback` | Claude Code | DeepSeek V4 Pro, GLM-5.2 | 2 |
180
- | `verifier_passed_fallback` | Codex | GPT-5.4, Nex-N2-Pro | 2 |
181
 
182
- ## Dataset provenance
 
183
 
184
- The archives are the large-artifact snapshot associated with GitHub commit `6ebabba`. The [GitHub repository](https://github.com/ECNU-ICALK/SkillGym) remains the source for the task builder, documentation, paper materials, and lightweight figures. The [SkillGym-Agent model card](https://huggingface.co/ecnu-icalk/SkillGym-Agent) documents the checkpoint trained on these trajectories.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
- ## Licensing and responsible use
 
 
187
 
188
- The GitHub repository and repository-level materials are released under the [MIT License](https://github.com/ECNU-ICALK/SkillGym/blob/main/LICENSE). This dataset uses mixed licensing: source skills, fixtures, and supporting assets may retain upstream notices or additional terms. Preserve the notices included with extracted files before redistribution.
189
 
190
- The release is intended for research on long-horizon agents, tool-mediated workflows, procedural knowledge, and verified trajectory training. Review executable environments and instructions before running them in a privileged or networked environment. A Skill-Dep. label is empirical evidence under the reference construction setup; it is not a safety guarantee or a measure of universal skill necessity.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
 
192
  ## Citation
193
 
194
- The accompanying paper is under double-blind review. Until final publication metadata is available, use:
 
195
 
196
  ```bibtex
197
- @misc{skillgym,
198
- title = {SkillGym: Internalizing Human Skills into LLMs for Real-World Problem Solving},
199
  year = {2026},
200
- note = {Under review at ICLR 2027},
201
  url = {https://github.com/ECNU-ICALK/SkillGym}
202
  }
203
  ```
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  pretty_name: SkillGym
3
  license: other
 
 
4
  language:
5
+ - en
6
  source_datasets:
7
+ - original
8
  tags:
9
+ - ai-agents
10
+ - benchmark
11
+ - skills
12
+ - task-generation
13
+ - agent-evaluation
14
+ - long-horizon
15
+ - tool-use
16
+ - verifier
17
+ - text
18
  ---
19
 
20
  <div align="center">
21
+
22
+ <picture>
23
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ECNU-ICALK/SkillGym/main/assets/brand-dark.png">
24
+ <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ECNU-ICALK/SkillGym/main/assets/brand-light.png">
25
+ <img src="https://raw.githubusercontent.com/ECNU-ICALK/SkillGym/main/assets/brand-light.png" alt="SkillGym" width="520">
26
+ </picture>
27
+
28
+ ### SkillGym Dataset
29
+
30
+ **Human-written skills, executable environments, and verified long-horizon agent trajectories**
31
+
32
+ [GitHub / Code](https://github.com/ECNU-ICALK/SkillGym) ·
33
+ [SkillGym-Agent](https://huggingface.co/ecnu-icalk/SkillGym-Agent) ·
34
+ [Paper](https://github.com/ECNU-ICALK/SkillGym/blob/main/assets/Internalizing_Large_Scale_Human_Written_Skills_into_LLMs_for_Real_World_Problem_Solving.pdf)
35
+
36
  </div>
37
 
38
+ ## Dataset Summary
39
 
40
+ **SkillGym** is the data release accompanying the SkillGym framework. It connects human-written
41
+ procedural knowledge to executable task environments, code-based outcome verifiers, paired
42
+ with-skill / without-skill executions, and long-horizon agent trajectories.
43
 
44
+ The dataset is intended to support research on skill-grounded task construction, agent training,
45
+ verifier-based evaluation, procedural transfer, and outcome-based learning.
46
+
47
+ | Statistic | Value |
48
+ | --- | ---: |
49
+ | **Accepted environments** | **2,756** |
50
+ | **Paired task variants** | **5,512** |
51
+ | **Skill-Dep. / Verifier-Passed** | **1,081 / 1,675** |
52
+ | **Successful trajectories** | **8,364** |
53
+ | **Sampled trials** | **48,152** |
54
+ | **Overall sampled-trial success rate** | **17.4%** |
55
+ | **Deduplicated task coverage** | **2,302 unique tasks** |
56
+ | **Taxonomy** | **12 major / 63 sub-categories** |
57
+
58
+ Successful trajectories cover 62 of the 63 sub-categories represented by accepted environments.
59
+
60
+ ## Released Artifacts
61
+
62
+ | Artifact | Contents | Use it for |
63
+ | --- | --- | --- |
64
+ | [`Tasks.tar.zst`](https://huggingface.co/datasets/ecnu-icalk/SkillGym/resolve/main/Tasks.tar.zst?download=true) | Published skill-derived task environments, paired variants, and verifiers | Re-running or studying executable tasks |
65
+ | [`skill_library.tar.zst`](https://huggingface.co/datasets/ecnu-icalk/SkillGym/resolve/main/skill_library.tar.zst?download=true) | Human-written skills and supporting assets | Skill analysis or new task construction |
66
+ | [`task_templates.tar.zst`](https://huggingface.co/datasets/ecnu-icalk/SkillGym/resolve/main/task_templates.tar.zst?download=true) | Reusable seed-task templates and fixtures | Extending the task-construction pipeline |
67
+ | [`Trajectories/`](https://huggingface.co/datasets/ecnu-icalk/SkillGym/tree/main/Trajectories) | Eight trajectory collections organized by result type, harness, and teacher model | SFT, trajectory analysis, and procedural-learning research |
68
 
69
+ ### Release Snapshot
70
 
71
+ The large-artifact dataset snapshot is associated with GitHub commit
72
+ [`6ebabba`](https://github.com/ECNU-ICALK/SkillGym/commit/6ebabba).
73
 
74
+ The GitHub codebase, dataset repository, and model repository are versioned independently. For exact
75
+ reproduction, record the revision used from each repository.
76
+
77
+ ## Quick Start
78
+
79
+ ### Download Trajectory Collections
80
 
81
  ```bash
82
  python -m pip install -U huggingface_hub datasets
83
 
 
84
  hf download ecnu-icalk/SkillGym \
85
+ --include "Trajectories/*.jsonl" \
86
+ --repo-type dataset \
87
+ --local-dir .hf/skillgym
88
+ ```
89
 
90
+ ### Stream One Collection with 🤗 Datasets
 
 
91
 
92
+ ```python
93
+ from datasets import load_dataset
94
+
95
+ records = load_dataset(
96
+ "json",
97
+ data_files={
98
+ "train": (
99
+ "hf://datasets/ecnu-icalk/SkillGym/"
100
+ "Trajectories/"
101
+ "skill_dependent_claude_code_deepseek_v4_pro.jsonl"
102
+ )
103
+ },
104
+ split="train",
105
+ streaming=True,
106
+ )
107
 
108
+ example = next(iter(records))
109
+ print(example["session_id"])
 
110
  ```
111
 
112
+ ### Download Task-Construction Artifacts
113
 
114
  ```bash
115
  hf download ecnu-icalk/SkillGym \
116
+ Tasks.tar.zst skill_library.tar.zst task_templates.tar.zst \
117
+ --repo-type dataset \
118
+ --local-dir .hf/skillgym
119
  ```
120
 
121
+ For building new environments, use the
122
+ [SkillGym Task Builder](https://github.com/ECNU-ICALK/SkillGym/tree/main/task_builder).
123
+
124
+ ## Dataset Organization
125
 
126
+ At the release level:
127
 
128
  ```text
129
+ SkillGym/
130
+ ├── Tasks.tar.zst
131
+ ├── skill_library.tar.zst
132
+ ├── task_templates.tar.zst
133
+ └── Trajectories/
134
+ ├── skill_dependent_*.jsonl
135
+ └── verifier_passed_*.jsonl
 
 
 
 
 
 
 
 
 
 
136
  ```
137
 
138
+ The task archives contain the source skill/task relationship, task instructions, environment
139
+ configuration, task-specific verification logic, and paired execution variants used during
140
+ construction and validation.
141
 
142
+ Trajectory collections preserve agent interaction traces and verification outcomes for successful
143
+ sampled executions.
 
 
 
 
 
 
144
 
145
+ ## Terminology
146
 
147
+ The same paired skill-availability concept appears under slightly different names across the paper,
148
+ released data, and implementation:
149
 
150
+ | Context | Skill available | Skill removed |
151
+ | --- | --- | --- |
152
+ | **Paper / benchmark tables** | `w/ Skills` | `w/o Skills` |
153
+ | **Released dataset variants** | `withskill` | `withoutskill` |
154
+ | **Task Builder internals** | `with_skill` | `no_skill` |
 
 
 
 
 
155
 
156
+ These names refer to the same paired evaluation concept; the differences reflect presentation,
157
+ released-storage, and implementation conventions.
158
 
159
+ ## Task Labels and Paired Variants
160
 
161
+ SkillGym distinguishes **task-construction labels** from **trajectory-level outcomes**.
162
 
163
+ ### Skill-Dep.
 
164
 
165
+ A task is labeled **Skill-Dep.** when, under the reference construction configuration:
 
 
 
 
 
 
 
166
 
167
+ 1. the environment and verifier are valid;
168
+ 2. the paired **with-skill** execution succeeds; and
169
+ 3. the paired **without-skill** execution produces a valid reward failure.
170
 
171
+ ### Verifier-Passed
 
 
 
 
 
 
 
 
 
 
 
 
172
 
173
+ A **Verifier-Passed** task has a valid executable environment and outcome verifier but does not satisfy
174
+ the stricter contrastive Skill-Dep. criterion under the reference configuration.
175
 
176
+ These labels characterize accepted environments at construction time. They do **not** guarantee that
177
+ every later model or harness will succeed or fail in the same way.
178
 
179
+ ## Trajectory Data
180
+
181
+ Successful trajectories retain the interaction sequence that led to a verifier-confirmed outcome.
182
+ Depending on the source harness, records may include:
183
 
184
+ - task and session identifiers;
185
+ - task prompt and skill metadata;
186
+ - environment/runtime metadata;
187
+ - actions and tool calls;
188
+ - observations and tool outputs;
189
+ - final outputs or artifacts;
190
+ - verifier results and execution logs;
191
+ - available diagnostic fields.
192
 
193
+ ### Schema Note
194
 
195
+ The eight trajectory files preserve source-specific trace structures. Some nested fields differ across
196
+ harness/model collections, so the release should **not** be assumed to have one perfectly uniform
197
+ nested JSON schema across every file.
198
 
199
+ For the most robust loading behavior:
 
 
 
 
 
200
 
201
+ - load one trajectory collection at a time; or
202
+ - explicitly normalize compatible files before concatenating them.
203
 
204
+ Using an explicit `data_files` path, as in the streaming example above, is preferable to treating every
205
+ trajectory JSONL file as a single homogeneous split.
206
+
207
+ ## Trajectory Statistics
208
+
209
+ | Statistic | Value |
210
+ | --- | ---: |
211
+ | Successful trajectories from Skill-Dep. tasks | **3,722** |
212
+ | Successful trajectories from Verifier-Passed tasks | **4,642** |
213
+ | Explicit target-skill invocation | **3,077 (36.8%)** |
214
+ | Average tool calls per successful trajectory | **49.0** |
215
+ | Average logged text tokens | **63.4k** |
216
+ | Average interaction steps | **35.2** |
217
+ | Corpus-wide maximum tool calls | **350** |
218
+ | Corpus-wide maximum logged text tokens | **342.9k** |
219
+ | Corpus-wide maximum interaction steps | **318** |
220
 
221
+ The maxima above are corpus-wide maxima for their respective measures and need not come from the same
222
+ trajectory. Logged/saved text-token counts are dataset statistics and should not be interpreted as API
223
+ billing usage or as a single-request context length.
224
 
225
+ ## Collection Configurations
226
 
227
+ Successful trajectories were collected from multiple harness–model configurations:
228
+
229
+ | Harness | Teacher model | Successful trajectories |
230
+ | --- | --- | ---: |
231
+ | Claude Code | DeepSeek V4 Pro | 1,722 |
232
+ | Claude Code | GLM-5.2 | 1,769 |
233
+ | Codex | GPT-5.4 | 1,967 |
234
+ | Codex | Nex-N2-Pro | 2,906 |
235
+
236
+ This diversity broadens the interaction traces beyond one agent configuration, but the released
237
+ trajectory distribution should not be treated as representative of every model, harness, task domain,
238
+ or deployment setting.
239
+
240
+ ## Intended Uses
241
+
242
+ SkillGym can support research on:
243
+
244
+ - supervised fine-tuning from verified agent trajectories;
245
+ - agentic problem solving and long-horizon workflow learning;
246
+ - skill-conditioned versus skill-free execution;
247
+ - executable-environment and verifier-based evaluation;
248
+ - outcome-based reinforcement learning;
249
+ - task-generation and verifier design;
250
+ - trajectory analysis and procedural failure modes.
251
+
252
+ ## Limitations
253
+
254
+ - Skill-Dep. and Verifier-Passed are reference-configuration labels, not universal properties.
255
+ - Category coverage is broad but uneven.
256
+ - Trajectory collections are generated by a finite set of harness–model configurations.
257
+ - Successful trajectories are a selected subset of sampled executions and should not be interpreted
258
+ as an unbiased behavioral distribution.
259
+ - Some trajectory files preserve harness-specific schema differences.
260
+ - Source skills, fixtures, and supporting assets may carry upstream notices or additional licensing
261
+ requirements.
262
+
263
+ ## Related Resources
264
+
265
+ | Resource | Scope |
266
+ | --- | --- |
267
+ | [GitHub / SkillGym](https://github.com/ECNU-ICALK/SkillGym) | Task Builder, construction pipeline, documentation, and paper materials |
268
+ | [SkillGym-Agent](https://huggingface.co/ecnu-icalk/SkillGym-Agent) | Released **All Teachers** checkpoint trained on successful SkillGym trajectories |
269
+ | [Task Builder guide](https://github.com/ECNU-ICALK/SkillGym/blob/main/task_builder/README.md) | Building and validating new skill-grounded environments |
270
+ | [Paper](https://github.com/ECNU-ICALK/SkillGym/blob/main/assets/Internalizing_Large_Scale_Human_Written_Skills_into_LLMs_for_Real_World_Problem_Solving.pdf) | Full method, dataset analysis, experiments, and ablations |
271
 
272
  ## Citation
273
 
274
+ The accompanying paper is currently under double-blind review. Until final publication metadata is
275
+ available, please use:
276
 
277
  ```bibtex
278
+ @misc{skillgym2026,
279
+ title = {Internalizing Large-Scale Human-Written Skills into LLMs for Real-World Problem Solving},
280
  year = {2026},
 
281
  url = {https://github.com/ECNU-ICALK/SkillGym}
282
  }
283
  ```
284
+
285
+ ## License
286
+
287
+ The dataset is marked **`license: other`** because it aggregates artifacts that may retain distinct
288
+ upstream notices or additional terms.
289
+
290
+ Repository-level SkillGym code is released under the **MIT License**. The SkillGym-Agent checkpoint
291
+ is released separately under **Apache-2.0**.
292
+
293
+ When redistributing source skills, fixtures, or supporting assets, preserve the corresponding upstream
294
+ notices and licensing terms.