Commit b59019d
feat(data): add When2Call single-turn tool-use dataset preset
Register nvidia/When2Call (train_sft config) in the shared dataset registry.
Since vllm-project#777 that registry is the single source of presets, so the entry serves
both pipelines: off-policy `prepare-data` and the on-policy regeneration
script's `--dataset`.
When2Call is a function-calling SFT dataset (CC-BY-4.0) that also teaches when
NOT to call a tool. Every row is a single user/assistant exchange with no system
turn; the conversation uses the OpenAI `messages` schema (normalized to
`conversations`), and the tool schemas ride along in a parallel `tools` column.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LRRGNt2T9ktWyFRboNUZNU
Signed-off-by: Ranran Haoran Zhang <ranzhang@redhat.com>1 parent 548f9f7 commit b59019d
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
151 | 157 | | |
152 | 158 | | |
153 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
154 | 167 | | |
0 commit comments