Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
36
images
listlengths
0
36
tools
listlengths
6
6
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-55019_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-90105_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-64941_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-73884_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-28137_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-20314_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-66094_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-35634_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-8079_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-73483_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-24143_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
[ { "role": "system", "content": "You are an advanced vision-language AI agent whose goal is to accurately detect, segment, and count target objects in images specified by the user through queries by leveraging a series of specialized vision tools.\n\nYou MUST:\n1. Carefully understand the user's query and an...
[ "images/GRES-82747_step_1/img_0.jpg" ]
[ { "type": "function", "function": { "name": "PhraseToBoxMask", "description": "Return the bounding boxes and masks of all objects in the images that belong to the category described by the input simple noun phrase. This tool can only detect and segment objects of one category described by a simp...
End of preview. Expand in Data Studio

VisHarness SFT Training Data

This repository contains the exact turn-level dataset used to train VisHarness-SFT-Qwen3-VL-8B-Thinking. The implementation and training recipe are available in VisHarness.

Contents

  • merged_sft_data_swift_cmd.jsonl: 13,323 training samples in the native ms-swift conversation format.
  • images.tar.gz: original images and tool-feedback visualizations. Extract it into the dataset root to restore the original images/ directory and all relative training paths. Packaging avoids placing more than 10,000 snapshot directories directly in one Hub directory.

The 13,323 samples are individual supervised turns, not 13,323 complete trajectories. They represent 3,033 distinct source trajectory IDs. Each sample contains the conversation context up to its target assistant turn. Of the retained samples, 10,868 were generated with Kimi-K2.5 and 2,455 with Qwen3.5-397B-A17B-FP8.

Data generation

Seed image-text pairs come from GRES, ReasonSeg, and REC-8K. Teacher models execute the actual visual tools during multi-turn interaction. Completed trajectories are compared with ground truth, and successful trajectories are selected before conversion to SFT samples. Kimi-K2.5 generates the first set; Qwen3.5-397B-A17B-FP8 generates additional demonstrations for unsuccessful seed examples. Ground truth is used for offline filtering, not supplied to the teacher as a tool observation.

The tools are PhraseToPoint, PhraseToBoxMask, PointToBoxMask, SplitImageIntoPatches, SuperResolution, and MergeBoxMask. The generation-only SubmitFinalAnswer action is converted into an <answer>...</answer> response in the SFT pipeline.

Sample format and supervision

Each JSONL row contains messages, images, and tools:

  • messages contains role, content, and a boolean loss for each message. Roles include system, user, assistant, tool_call, and tool_response.
  • images lists paths such as images/GRES-55019_step_1/img_0.jpg relative to the downloaded dataset root. <image> placeholders in the conversation refer to these images in order.
  • tools contains the tool definitions used by the agent.

Only messages emitted by the target assistant turn have loss: true. This includes its reasoning and tool call, or its final answer. Historical assistant turns, system/user messages, and expert observations have loss: false: they provide context without adding supervised loss. This format is intended for ms-swift; it is not a flattened collection of independent question-answer pairs.

Visual preprocessing budget

The preparation pipeline uses the Qwen3-VL image geometry with a 16-pixel patch size and spatial merge size 2. It applies a per-image limit of 2,048 merged visual tokens and an aggregate limit of 56,000 raw image patches per training sample. Fourteen over-budget samples were excluded from the 13,337 normalized candidates, yielding the 13,323 rows released here.

Download and train

import tarfile
from pathlib import Path
from huggingface_hub import snapshot_download

dataset_dir = snapshot_download(
    repo_id="fyw1999/VisHarness-SFT-Data",
    repo_type="dataset",
    local_dir="./VisHarness-SFT-Data",
)
with tarfile.open(Path(dataset_dir) / "images.tar.gz", "r:gz") as archive:
    archive.extractall(path=dataset_dir, filter="data")

From the VisHarness source-code repository, run:

MODEL_PATH="/absolute/path/to/Qwen3-VL-8B-Thinking" \
DATASET_DIR="/absolute/path/to/VisHarness-SFT-Data" \
bash recipe/visharness/scripts/sft/train_qwen3vl_8b_thinking_full.sh

The script sets ROOT_IMAGE_DIR to DATASET_DIR. After extraction, preserve images/ next to the JSONL file; no path rewriting is needed. Offline SFT training consumes the saved expert feedback and does not require live expert services. An authenticated account with access is required while this repository is private.

Data rights and limitations

The source images and annotations originate from their respective datasets. Their original licenses and usage terms remain applicable; this repository does not relicense third-party images. Generated demonstrations are teacher-model outputs and may contain mistakes despite task-level filtering. Public redistribution terms should be reviewed before changing this repository's visibility.

Downloads last month
108

Models trained or fine-tuned on fyw1999/VisHarness-SFT-Data