stanley-nv/toolrouter
Text Classification • Updated
query stringlengths 1 199 | label stringclasses 7
values | source stringclasses 10
values | style stringclasses 10
values |
|---|---|---|---|
What is the difference between supervised and unsupervised learning? | wiki | agent_gen_4 | software_it_work |
Google antitrust ruling latest developments | news | agent_gen_9 | web_news_wiki_weather |
open the tax_return_2025.pdf | files | agent_gen_5 | everyday_life |
scp report.pdf user@host:/tmp/ | shell | agent_gen_7 | files_vs_shell |
pollen count and allergy forecast for Atlanta | weather | agent_gen_6 | hard_boundary |
show me the tsconfig.json | files | agent_gen_7 | files_vs_shell |
netstat -tulpn | shell | agent_gen_1 | terse_keywords |
will the storm hit Florida before Thursday | weather | agent_gen_9 | web_news_wiki_weather |
show me the contents of my Desktop folder | files | agent_gen_5 | everyday_life |
what did the president say in the speech today | news | agent_gen_3 | casual_typos |
right | other | agent_gen_8 | other_boundary |
list files by date | files | agent_gen_1 | terse_keywords |
what is an API | wiki | agent_gen_6 | hard_boundary |
python app.py & | shell | agent_gen_7 | files_vs_shell |
update the copyright year in LICENSE to 2026 | files | agent_gen_7 | files_vs_shell |
I'm hanging out washing in Mumbai during monsoon season and wonder if this week looks dry. Could you check the forecast and rain probabilities? | weather | agent_gen_2 | long_polite |
API outage hits major websites | news | agent_gen_6 | hard_boundary |
find . -size +1M | shell | agent_gen_7 | files_vs_shell |
search my documents for the contract | files | handwritten | handwritten_seed |
rename photo1.jpg to vacation_pic.jpg | files | agent_gen_3 | casual_typos |
how to bake sourdough bread from scratch | websearch | agent_gen_8 | other_boundary |
can you rephrase this sentence to sound more polite | other | agent_gen_9 | web_news_wiki_weather |
I'm studying literature and I'd like to know more about William Shakespeare. Could you tell me about his life and the plays he's best known for? | wiki | agent_gen_2 | long_polite |
what is the Mayflower and who sailed on it | wiki | agent_gen_5 | everyday_life |
thank you so much, that helped a lot | other | agent_gen_8 | other_boundary |
I changed my mind | other | handwritten | handwritten_seed |
Could you give me a few ideas for how to politely decline a wedding invitation from a distant acquaintance without sounding rude or making things awkward? | other | agent_gen_2 | long_polite |
adobe premiere free trial | websearch | agent_gen_1 | terse_keywords |
what's in the headlines this morning | news | agent_gen_5 | everyday_life |
Man City result yesterday | websearch | agent_gen_9 | web_news_wiki_weather |
are you smarter than ChatGPT? | other | agent_gen_8 | other_boundary |
breaking news | news | agent_gen_1 | terse_keywords |
any frost warnings tonight in minneapolis | weather | agent_gen_3 | casual_typos |
I'm interested in the latest on the space mission news. Could you tell me what has been announced recently about the next crewed moon landing attempt? | news | agent_gen_2 | long_polite |
do i need sunscreen in sydney today | weather | agent_gen_3 | casual_typos |
brainstorm 10 names for my bakery pls | other | agent_gen_3 | casual_typos |
RSA key size recommendation 2026 | websearch | agent_gen_6 | hard_boundary |
pretend you're a chef and give me a pasta tip | other | agent_gen_5 | everyday_life |
convert this json to yaml: {"a": 1, "b": [2, 3]} | other | agent_gen_7 | files_vs_shell |
I'd like to find the best-rated budget smartphones released this year. Could you compare a few and tell me where to buy them at the lowest prices? | websearch | agent_gen_2 | long_polite |
newsflash: what's going on in Venezuela | news | handwritten | handwritten_seed |
what are the headlines today | news | agent_gen_9 | web_news_wiki_weather |
CVS flu shot cost without insurance | websearch | agent_gen_6 | hard_boundary |
who won the Nobel Prize in physics this year | news | agent_gen_9 | web_news_wiki_weather |
search for used bikes in Amsterdam | websearch | handwritten | handwritten_seed |
Windows 11 25H2 release date | websearch | agent_gen_9 | web_news_wiki_weather |
pros and cons of remote work | other | agent_gen_1 | terse_keywords |
uv index sydney | weather | agent_gen_1 | terse_keywords |
snow forecast for Denver this weekend | weather | agent_gen_6 | hard_boundary |
is there a flood warning in my county | weather | agent_gen_5 | everyday_life |
What is a monad in functional programming? | wiki | agent_gen_4 | software_it_work |
what's the latest on the airline strike affecting holiday travel | news | agent_gen_5 | everyday_life |
u haul rental prices for 10ft truck | websearch | agent_gen_3 | casual_typos |
show me what's in the docs folder | files | handwritten | handwritten_seed |
open the README in the project root | files | agent_gen_6 | hard_boundary |
sort lines in names.txt alphabetically | shell | agent_gen_9 | web_news_wiki_weather |
open the spreadsheet in downloads | files | handwritten | handwritten_seed |
what language do they speak in Brazil | wiki | handwritten | handwritten_seed |
temperature in Austin on Friday for the conference | weather | agent_gen_4 | software_it_work |
today's gold price per ounce | websearch | agent_gen_5 | everyday_life |
I recently read a novel by Gabriel Garcia Marquez and loved it. Could you tell me about his life and the literary style known as magical realism? | wiki | agent_gen_2 | long_polite |
should I bring an umbrella in Vancouver tomorrow? | weather | agent_gen_4 | software_it_work |
edit my packing_list.txt and add sunscreen | files | agent_gen_5 | everyday_life |
who was cleopatra | wiki | agent_gen_1 | terse_keywords |
what's the latest regarding the vaccine trial | news | handwritten | handwritten_seed |
rewrite this sentence | other | agent_gen_1 | terse_keywords |
open the Makefile | files | agent_gen_4 | software_it_work |
how to set up a raspberry pi | websearch | agent_gen_1 | terse_keywords |
wait, can you clarify the second point | other | agent_gen_8 | other_boundary |
coffee prices surge in the news | news | agent_gen_6 | hard_boundary |
latest news about layoffs at tech companies | news | agent_gen_4 | software_it_work |
scientists publish new finding on gravity | news | agent_gen_6 | hard_boundary |
head -n 5 sales_2024.csv | cut -d, -f1,3 | shell | agent_gen_7 | files_vs_shell |
create a .gitignore that ignores node_modules, dist and .env | files | agent_gen_7 | files_vs_shell |
what's your favorite season | other | agent_gen_5 | everyday_life |
what's breaking right now | news | handwritten | handwritten_seed |
what is a hurricane | wiki | agent_gen_6 | hard_boundary |
history of the Roman Republic | wiki | agent_gen_8 | other_boundary |
edit main.py and replace every print with logging.info | files | agent_gen_4 | software_it_work |
what is the Industrial Revolution | wiki | agent_gen_5 | everyday_life |
show me the contents of my todo.md | files | agent_gen_5 | everyday_life |
weather in Boston for tomorrow's offsite | weather | agent_gen_4 | software_it_work |
reviews of the Dyson V15 vs Shark | websearch | agent_gen_9 | web_news_wiki_weather |
I'm planning a motorbike ride through the Alps on Friday. Could you tell me whether the passes will be icy and how the temperature varies with altitude? | weather | agent_gen_2 | long_polite |
I'd like to know whether there have been any updates on the missing submarine story. Could you tell me what the press is reporting at the moment? | news | agent_gen_2 | long_polite |
how cold will it get tonight | weather | agent_gen_8 | other_boundary |
cat package.json | files | agent_gen_1 | terse_keywords |
Notion vs Confluence for documentation, user reviews | websearch | agent_gen_4 | software_it_work |
I'm thinking about hanging laundry outside to dry in Madrid today. Could you tell me the humidity, expected temperature, and whether any clouds or rain are coming? | weather | agent_gen_2 | long_polite |
show me Foo.java around line 42 | files | agent_gen_7 | files_vs_shell |
outlook for rain at Lake Tahoe this weekend | weather | agent_gen_4 | software_it_work |
how do i install cuda toolkit on ubuntu 24.04 | websearch | agent_gen_7 | files_vs_shell |
My Python script keeps failing because a module is missing. Could you run pip install requests for me and confirm that the installation went through properly? | shell | agent_gen_2 | long_polite |
Hurricane tracker current storm | weather | agent_gen_9 | web_news_wiki_weather |
bitcoin price | websearch | agent_gen_1 | terse_keywords |
humidity in miami rn | weather | agent_gen_3 | casual_typos |
write the opening paragraph of a spooky mystery novel | other | agent_gen_8 | other_boundary |
news on the chip shortage | news | handwritten | handwritten_seed |
TypeError: 'NoneType' object is not subscriptable meaning | websearch | agent_gen_7 | files_vs_shell |
how to cook a turkey, recipe with temperatures and timing | websearch | agent_gen_5 | everyday_life |
Data for training and evaluating ToolRouter, a tiny open-set model that picks the right tool for a user query given tool names and descriptions. Two kinds of data:
| Config | What | Splits (rows) |
|---|---|---|
routing |
user queries labelled with one of 7 priority tools (wiki, websearch, weather, news, files, shell, other) |
train 3,927 · validation 805 · test 210 · test2 330 |
tools |
tool catalogs: a tool name, two differently-worded descriptions and 9–14 example queries per tool; the tools in validation and test are never in train (open-set evaluation) |
train 179 tools (2,409 queries) · validation 14 (140) · test 10 (100) |
synthetic |
8,665 template-generated routing queries (slot-filled templates with typo/case noise); low quality, used as light regularisation | train |
Also priority_tools.json: names, training descriptions and one differently-worded evaluation description for the 7 priority tools.
from datasets import load_dataset
routing = load_dataset("stanley-nv/tool-routing-data", "routing") # DatasetDict: train / validation / test / test2
tools = load_dataset("stanley-nv/tool-routing-data", "tools") # train / validation / test
routing/*.jsonl, synthetic/templates.jsonl
| field | meaning |
|---|---|
query |
the user message |
label |
one of wiki, websearch, weather, news, files, shell, other |
source |
handwritten (written directly by the Claude Code assistant, not crowd-sourced), agent_gen_1..9 / agent_independent (written by Claude sub-agents), synthetic_template |
style |
writing style / theme the author was asked for: terse_keywords, long_polite, casual_typos, software_it_work, everyday_life, hard_boundary, files_vs_shell, other_boundary, web_news_wiki_weather, handwritten_seed, held_out_test, held_out_test2, template |
tools/*.jsonl: name (snake_case), descriptions (list of 2 strings), queries (list of example user queries for that tool), source (handwritten or agent).
source: handwritten, i.e. "authored directly, not by sub-agents"), Claude sub-agents with prompts specifying a style and the conventions above (source: agent_*), and a template generator (synthetic_template).routing/test (210) and tools/test (10 tools) were written by the assistant that also wrote training data (stylistic overlap is likely) and were looked at during development. routing/test2 (330) was written by a separate agent for the purpose of an independent test, then filtered: every query that matched any training/validation/test query after lower-casing and stripping punctuation was removed (90 of 420), so it is wiki-light (23 wiki queries). tools/validation was used for model selection; tools/test for final reporting.routing splits and synthetic, queries are de-duplicated after normalisation (lower-case, non-alphanumerics removed) with priority test > test2 > validation > train. Tool names are unique across the tools splits. Related-but-different tools can still be semantically close (e.g. dictation vs text_to_speech)./home/user/..., email addresses use example.com, people are fictional or well-known public figures, and companies/products appear only as public topics. A scan for emails, phone numbers, tokens, usernames, and employer- or organisation-specific names found none.python validate.py checks the schema, labels, duplicates inside and across splits, and prints the split statistics.
@misc{toolroutingdata2026,
title = {Tool Routing Data},
author = {Stanley},
year = {2026},
url = {https://huggingface.co/datasets/stanley-nv/tool-routing-data}
}