README: sharper intro, task questions, build guide
Browse files
README.md
CHANGED
|
@@ -10,9 +10,14 @@ task_categories:
|
|
| 10 |
tags:
|
| 11 |
- agents
|
| 12 |
- tool-calling
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
- structured-prediction
|
| 14 |
- preference-data
|
| 15 |
-
|
|
|
|
| 16 |
configs:
|
| 17 |
- config_name: default
|
| 18 |
data_files:
|
|
@@ -26,96 +31,91 @@ configs:
|
|
| 26 |
|
| 27 |
# Agent Tool Decisions 180K
|
| 28 |
|
| 29 |
-
**180,000
|
| 30 |
-
|
| 31 |
|
| 32 |
-
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
provenance. The flat Parquet layout works directly with Hugging Face
|
| 38 |
-
`datasets`, DuckDB, Polars, or pandas.
|
| 39 |
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
| 41 |
|
| 42 |
-
|
| 43 |
-
- tool-selection and argument-completeness heads
|
| 44 |
-
- agent policy evaluation and selective prediction
|
| 45 |
-
- reward/preference modeling for tool-using responses
|
| 46 |
-
- benchmarking and error analysis for typed agent decisions
|
| 47 |
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
| Item | Value |
|
| 51 |
| --- | ---: |
|
| 52 |
-
| Rows
|
| 53 |
-
|
|
| 54 |
-
|
|
| 55 |
-
|
|
| 56 |
-
|
|
| 57 |
-
|
|
| 58 |
-
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
## Quick start
|
| 62 |
|
| 63 |
```python
|
| 64 |
from datasets import load_dataset
|
| 65 |
|
| 66 |
-
|
| 67 |
-
row =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
```
|
| 73 |
|
| 74 |
-
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
|
| 77 |
## How to read a row
|
| 78 |
|
| 79 |
| Need | Columns |
|
| 80 |
| --- | --- |
|
| 81 |
-
|
|
| 82 |
-
| Decision task | `priority`, `task_family`, `primitive` |
|
| 83 |
-
| Model input | `state_json`, `state_preview`, `question_text`, `criteria_json` |
|
| 84 |
| Reference answer | `gold_label`, `gold_score`, `gold_json`, `label_source` |
|
| 85 |
-
| Provenance |
|
| 86 |
-
|
| 87 |
-
Decision primitives are intentionally simple:
|
| 88 |
-
|
| 89 |
-
- `choice`: one categorical label;
|
| 90 |
-
- `noul`: a bounded value from 0 to 1;
|
| 91 |
-
- `score`: a structured numeric assessment.
|
| 92 |
-
|
| 93 |
-
## Task mix
|
| 94 |
-
|
| 95 |
-
| Task family | Rows |
|
| 96 |
-
| --- | ---: |
|
| 97 |
-
| `agent_next_action_type` | 79,238 |
|
| 98 |
-
| `tool_argument_completeness` | 37,233 |
|
| 99 |
-
| `tool_selection` | 37,233 |
|
| 100 |
-
| `tool_or_text_action` | 14,349 |
|
| 101 |
-
| `tool_response_preference` | 8,295 |
|
| 102 |
-
| `when_to_call_tool` | 3,652 |
|
| 103 |
-
|
| 104 |
-
## Decision primitives
|
| 105 |
-
|
| 106 |
-
| Primitive | Rows |
|
| 107 |
-
| --- | ---: |
|
| 108 |
-
| `choice` | 142,767 |
|
| 109 |
-
| `noul` | 37,233 |
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
-
|
| 114 |
-
| --- | ---: |
|
| 115 |
-
| `nvidia/Nemotron-SFT-Agentic-v2` | 153,704 |
|
| 116 |
-
| `nvidia/When2Call` | 26,296 |
|
| 117 |
-
|
| 118 |
-
## Label provenance
|
| 119 |
|
| 120 |
| Label source | Rows |
|
| 121 |
| --- | ---: |
|
|
@@ -126,42 +126,33 @@ Decision primitives are intentionally simple:
|
|
| 126 |
| `automated_preference_gold` | 8,295 |
|
| 127 |
| `automated_verified_mcq_gold` | 3,652 |
|
| 128 |
|
| 129 |
-
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
## Validation and splitting
|
| 135 |
|
| 136 |
-
|
| 137 |
|
| 138 |
-
|
| 139 |
-
-
|
| 140 |
- no decision group or upstream source row crosses splits;
|
| 141 |
-
- valid canonical state, request, criteria, gold
|
| 142 |
-
- choice labels inside declared criteria and
|
| 143 |
-
-
|
| 144 |
-
- no
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
| 148 |
-
|
| 149 |
-
|
| 150 |
-
-
|
| 151 |
-
-
|
| 152 |
-
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
|
| 159 |
-
|
| 160 |
-
|
| 161 |
-
- `nvidia/When2Call`
|
| 162 |
-
|
| 163 |
-
The When2Call source is marked CC BY 4.0. The Nemotron repository card lists
|
| 164 |
-
CC BY 4.0, Apache 2.0, and MIT terms across its components. Every row retains
|
| 165 |
-
its recorded source license and provenance; users must review and comply with
|
| 166 |
-
the applicable upstream dataset cards and terms. No Jev output is included,
|
| 167 |
-
so this repository is distinct from the Jev-enriched edition.
|
|
|
|
| 10 |
tags:
|
| 11 |
- agents
|
| 12 |
- tool-calling
|
| 13 |
+
- tool-use
|
| 14 |
+
- function-calling
|
| 15 |
+
- decision-models
|
| 16 |
+
- routing
|
| 17 |
- structured-prediction
|
| 18 |
- preference-data
|
| 19 |
+
size_categories:
|
| 20 |
+
- 100K<n<1M
|
| 21 |
configs:
|
| 22 |
- config_name: default
|
| 23 |
data_files:
|
|
|
|
| 31 |
|
| 32 |
# Agent Tool Decisions 180K
|
| 33 |
|
| 34 |
+
**180,000 typed decisions that sit behind every agent step.** Should the agent call a tool, or
|
| 35 |
+
answer in text? Which tool? Are the arguments complete? Which tool-using response is better?
|
| 36 |
|
| 37 |
+
An agent spends most of its time making these small decisions, and a frontier LLM is an
|
| 38 |
+
expensive way to make them. They are **typed**: a question, a fixed set of choices, one correct
|
| 39 |
+
answer. That makes them a good fit for small, fast decision models (encoders, classifiers,
|
| 40 |
+
Jev-style typed decision models, GLiNER2.5-Decide-style heads) that answer in milliseconds on a
|
| 41 |
+
CPU.
|
| 42 |
|
| 43 |
+
This dataset turns NVIDIA's open agentic data into exactly that format: 180K clean, labeled,
|
| 44 |
+
split-safe decision rows, ready to train or evaluate a tool router today.
|
|
|
|
|
|
|
| 45 |
|
| 46 |
+
> **Built on NVIDIA's open data:** `nvidia/Nemotron-SFT-Agentic-v2` and `nvidia/When2Call`.
|
| 47 |
+
> Every label comes from the upstream data (programmatic or automated). **No output from Jev,
|
| 48 |
+
> TypeSafe or any other proprietary model is included.** It contains no clinical or medical
|
| 49 |
+
> data.
|
| 50 |
|
| 51 |
+
## At a glance
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
|
| 53 |
+
| | |
|
|
|
|
|
|
|
| 54 |
| --- | ---: |
|
| 55 |
+
| Rows | **180,000** |
|
| 56 |
+
| Train / validation / test | 171,056 / 2,713 / 6,231 |
|
| 57 |
+
| Decision groups | 101,786 |
|
| 58 |
+
| Upstream source rows | 41,809 |
|
| 59 |
+
| Leakage | none: no decision group or source row crosses splits |
|
| 60 |
+
| Format | flat Parquet, 35 columns, works with `datasets`, DuckDB, Polars and pandas |
|
| 61 |
+
|
| 62 |
+
## The six decisions
|
| 63 |
+
|
| 64 |
+
| Task family | Question the model answers | Rows |
|
| 65 |
+
| --- | --- | ---: |
|
| 66 |
+
| `agent_next_action_type` | What type of action should the assistant take next? | 79,238 |
|
| 67 |
+
| `tool_selection` | Which available tool should be called next? | 37,233 |
|
| 68 |
+
| `tool_argument_completeness` | Do the proposed tool calls include every required argument named by the tool schemas? | 37,233 |
|
| 69 |
+
| `tool_or_text_action` | Should the assistant call a tool or produce a text response next? | 14,349 |
|
| 70 |
+
| `tool_response_preference` | Which response better uses or declines the available tools? | 8,295 |
|
| 71 |
+
| `when_to_call_tool` | When2Call-style: should a tool be called at all? | 3,652 |
|
| 72 |
+
|
| 73 |
+
Two answer types (`primitive`): `choice` (one label from the criteria, 142,767 rows) and
|
| 74 |
+
`noul` (a bounded 0–1 value, 37,233 rows).
|
| 75 |
|
| 76 |
## Quick start
|
| 77 |
|
| 78 |
```python
|
| 79 |
from datasets import load_dataset
|
| 80 |
|
| 81 |
+
ds = load_dataset("MaziyarPanahi/AgentToolDecisions-180K")
|
| 82 |
+
row = ds["train"][0]
|
| 83 |
+
|
| 84 |
+
print(row["question_text"]) # e.g. "Which available tool should be called next?"
|
| 85 |
+
print(row["state_preview"]) # the agent state: conversation + available tools
|
| 86 |
+
print(row["criteria_json"]) # the allowed answers
|
| 87 |
+
print(row["gold_label"] if row["gold_label"] is not None else row["gold_score"])
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
Train a tool router on a single task family:
|
| 91 |
|
| 92 |
+
```python
|
| 93 |
+
tool_sel = ds["train"].filter(lambda r: r["task_family"] == "tool_selection")
|
| 94 |
+
# inputs: question_text + state_json, labels: gold_label (one of the keys in criteria_json)
|
| 95 |
```
|
| 96 |
|
| 97 |
+
## What you can build with it
|
| 98 |
+
|
| 99 |
+
- **Tool routers:** pick the next tool in milliseconds instead of spending a full LLM call.
|
| 100 |
+
- **"Should I call a tool?" gates:** cut useless tool calls and the latency they add.
|
| 101 |
+
- **Argument checkers:** catch missing required arguments before the call fails.
|
| 102 |
+
- **Reward and preference models** for tool-using responses.
|
| 103 |
+
- **Evaluation:** measure your agent's decision accuracy per task family, on a leakage-free test
|
| 104 |
+
split.
|
| 105 |
|
| 106 |
## How to read a row
|
| 107 |
|
| 108 |
| Need | Columns |
|
| 109 |
| --- | --- |
|
| 110 |
+
| Identity and split | `row_id`, `group_id`, `output_split` |
|
| 111 |
+
| Decision task | `priority`, `task_family`, `primitive`, `question_key` |
|
| 112 |
+
| Model input | `state_json`, `state_preview`, `question_text`, `criteria_json`, `request_json` |
|
| 113 |
| Reference answer | `gold_label`, `gold_score`, `gold_json`, `label_source` |
|
| 114 |
+
| Provenance | `source_dataset`, `source_revision`, `source_row_id`, `source_license`, `source_url`, `transformation`, `transform_version` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 115 |
|
| 116 |
+
Nested payloads are canonical JSON strings, so the Parquet schema stays stable across tasks.
|
| 117 |
|
| 118 |
+
## Where the labels come from
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 119 |
|
| 120 |
| Label source | Rows |
|
| 121 |
| --- | ---: |
|
|
|
|
| 126 |
| `automated_preference_gold` | 8,295 |
|
| 127 |
| `automated_verified_mcq_gold` | 3,652 |
|
| 128 |
|
| 129 |
+
| Source | Rows |
|
| 130 |
+
| --- | ---: |
|
| 131 |
+
| `nvidia/Nemotron-SFT-Agentic-v2` | 153,704 |
|
| 132 |
+
| `nvidia/When2Call` | 26,296 |
|
|
|
|
|
|
|
| 133 |
|
| 134 |
+
## Validation
|
| 135 |
|
| 136 |
+
An independent audit checks:
|
| 137 |
+
- 180,000 rows with unique row IDs;
|
| 138 |
- no decision group or upstream source row crosses splits;
|
| 139 |
+
- valid canonical JSON for state, request, criteria, gold and metadata;
|
| 140 |
+
- choice labels inside the declared criteria, and scores within bounds;
|
| 141 |
+
- a pinned source revision, license, URL and transformation on every row;
|
| 142 |
+
- no proprietary-model prediction, probability, raw-response, usage or latency columns.
|
| 143 |
+
|
| 144 |
+
## Limitations
|
| 145 |
+
|
| 146 |
+
- Labels are programmatic or automated upstream labels. They can be noisy or ambiguous, so keep
|
| 147 |
+
`label_source` and `task_family` with every prediction you evaluate.
|
| 148 |
+
- Tool schemas and domains vary across the upstream agent episodes.
|
| 149 |
+
- The typed request format is a normalized transformation, not the original upstream schema.
|
| 150 |
+
- This is a general agent-decision dataset, not a clinical one.
|
| 151 |
+
|
| 152 |
+
## License and attribution
|
| 153 |
+
|
| 154 |
+
Derived from pinned revisions of `nvidia/Nemotron-SFT-Agentic-v2` and `nvidia/When2Call`. When2Call
|
| 155 |
+
is marked CC BY 4.0. The Nemotron card lists CC BY 4.0, Apache 2.0 and MIT terms across its
|
| 156 |
+
components. Every row keeps its recorded source license. Please review and follow the upstream
|
| 157 |
+
dataset cards when you use or redistribute the data. Thanks to NVIDIA for releasing the source data
|
| 158 |
+
openly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|