ToolSmith-Datasets / README.md
ThreeSR's picture
Update README.md
cc28e17 verified
|
Raw History Blame Contribute Delete
8.18 kB
metadata
license: mit
pretty_name: ToolSmith training pools
task_categories:
  - visual-question-answering
language:
  - en
size_categories:
  - 1K<n<10K
tags:
  - multimodal
  - multimodal-search
  - tool-generation
  - agents
  - vqa
configs:
  - config_name: FVQA_train
    data_files: FVQA_train.tsv
    sep: "\t"
  - config_name: Infoseek_GDM_val
    data_files: Infoseek_GDM_val.tsv
    sep: "\t"
  - config_name: EncyclopedicVQA_val
    data_files: EncyclopedicVQA_val.tsv
    sep: "\t"

ToolSmith training pools

Paper: ToolSmith: An Automatic Tool-Generation Framework for Multimodal Search Agents (Findings of EMNLP 2026)

The question pools that ToolSmith (project page) grows its tool catalog from. ToolSmith runs the baseline agent on these 9,174 questions, mines capability gaps from the failed trajectories and writes new tools for them. None of these questions is used for evaluation; the evaluation splits are in uclanlp/OpenVLHarness-Evaluation-Datasets.

Each <split>.tsv holds the prompts (question) and annotations (answer plus metadata); image_path is relative to images/<folder>/ inside images/<folder>.zip. The format is the same as in OpenVLHarness, and you normally don't need to download anything by hand: openvlharness-eval --data <split> ... fetches the TSV and the images into $LMUData on first use.

Split Rows Images Image archive
FVQA_train 3,312 3,312 images/FVQA.zip
Infoseek_GDM_val 3,000 2,868 images/Infoseek_GDM.zip
EncyclopedicVQA_val 2,862 2,862 images/EncyclopedicVQA.zip
Total 9,174

answer is the reference answer and alternative_gt_answers lists other accepted answers. Three InfoSeek answers are the literal string None; read the TSVs with pd.read_csv(path, sep="\t", keep_default_na=False) so pandas does not parse them as missing values. No image is shared with the corresponding test split in OpenVLHarness-Evaluation-Datasets.

Columns

Column Meaning
index Question ID, unique within a split
question The question asked about the image
answer Reference answer
alternative_gt_answers JSON list of other accepted answers (may be empty)
category (FVQA) Always search_required (see Sources)
area (InfoSeek) OVEN image shard the image comes from
area (EncyclopedicVQA) Image source: inaturalist or landmarks
subfield (EncyclopedicVQA) Question type: templated, automatic, multi_answer or 2_hop; empty for the other splits
image_path File name inside images/<folder>/

Example row from EncyclopedicVQA_val:

{"index": "evqa_val_0", "question": "How big can this plant become?", "answer": "5 to 15 metres",
 "alternative_gt_answers": "[\"5 to 15 metres\", \"5 to 15 metres\"]", "area": "inaturalist",
 "subfield": "templated", "image_path": "evqa_val_0.jpg"}

Composition

  • FVQA_train: 3,312 questions; 1,592 list alternative answers.
  • Infoseek_GDM_val: 3,000 questions on 2,868 images; 1,731 list alternative answers.
  • EncyclopedicVQA_val: 2,862 questions, 1,600 on iNaturalist images and 1,262 on Google Landmarks images; by question type 1,706 automatic, 387 multi_answer, 386 2_hop and 383 templated.

How ToolSmith uses the pools

ToolSmith runs its baseline agent on all 9,174 questions and judges the answers. The failed trajectories are labeled by an LLM self-critique; those that need a new tool become capability gaps, which are clustered (500 clusters) so one representative per cluster is turned into a tool. Each generated tool must pass two verification gates before it joins the catalog. See the ToolSmith README for the full pipeline.

Loading

With OpenVLHarness, openvlharness-eval --data FVQA_train ... (or Infoseek_GDM_val, EncyclopedicVQA_val) downloads the TSV and the images on first use.

With 🤗 Datasets (questions and answers only):

from datasets import load_dataset

pool = load_dataset("uclanlp/ToolSmith-Datasets", "EncyclopedicVQA_val", split="train",
                    keep_default_na=False)

With pandas, plus the images:

import zipfile
import pandas as pd
from huggingface_hub import hf_hub_download

repo = "uclanlp/ToolSmith-Datasets"
tsv = hf_hub_download(repo, "Infoseek_GDM_val.tsv", repo_type="dataset")
df = pd.read_csv(tsv, sep="\t", keep_default_na=False)
zipfile.ZipFile(hf_hub_download(repo, "images/Infoseek_GDM.zip", repo_type="dataset")).extractall(".")
# images are now under ./Infoseek_GDM/<image_path>

Related resources

License

The packaging in this repo (the TSV format, the subset selection and this card) is released under the MIT License, like the ToolSmith code in OpenVLHarness. The questions, answers and images come from the datasets below and stay under their original licenses: the FVQA and InfoSeek annotations are Apache-2.0, EncyclopedicVQA follows the terms of its release, and the images follow the terms of their sources (OVEN, iNaturalist 2021, Google Landmarks v2 and the FVQA image sources).

Sources, licenses and citations

This repo only re-packages existing public benchmarks; all credit goes to the original authors, and use is subject to the original licenses/terms.

  • FVQA — Wu et al., MMSearch-R1: Incentivizing LMMs to Search, 2025 (lmms-lab/FVQA, Apache-2.0). FVQA_train holds the 3,312 questions of the train split labeled search_required (the category column); the 1,544 search_free questions are left out.
  • InfoSeek — Chen et al., Can Pre-trained Vision and Language Models Answer Visual Information-Seeking Questions?, EMNLP 2023 (code/data, Apache-2.0). Images are from OVEN. Infoseek_GDM_val holds 3,000 of the 73,620 validation questions (the first 3,000 after random.Random(42).shuffle); some questions share an image, so the archive has 2,868 images.
  • EncyclopedicVQA — Mensink et al., Encyclopedic VQA: Visual questions about detailed properties of fine-grained categories, ICCV 2023 (code/data). Images are from iNaturalist 2021 and Google Landmarks v2 and follow their licenses. EncyclopedicVQA_val holds the 2,862 of the 2,950 validation questions whose image is still available.

Citation

@inproceedings{sun-etal-2026-toolsmith,
    title = "{T}ool{S}mith: An Automatic Tool-Generation Framework for Multimodal Search Agents",
    author = "Sun, Rui  and
      Huang, Junhua  and
      Zancato, Luca  and
      Islam, Md Mofijul  and
      Chang, Kai-Wei",
    booktitle = "Findings of the {A}ssociation for {C}omputational {L}inguistics: {EMNLP} 2026",
    month = oct,
    year = "2026",
    address = "Budapest, Hungary",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.findings-emnlp.1699/",
    doi = "10.18653/2026.findings-emnlp.1699",
    pages = "36305--36324"
}

If you are an author of one of these datasets and would like it removed, please open a discussion on this repo.

Questions about the data can go to the discussions of this repo or the OpenVLHarness issues.