Bathys-KTO / README.md
skyblooms's picture
Upload 3 files
f436fd5 verified
|
Raw History Blame Contribute Delete
2.09 kB
metadata
pretty_name: Bathys-KTO
language:
  - en
  - zh
task_categories:
  - question-answering
  - text-generation
size_categories:
  - 1K<n<10K
tags:
  - bathys
  - deep-search
  - web-search
  - tool-use
  - preference-optimization
  - kto
configs:
  - config_name: default
    data_files:
      - split: train
        path: train.jsonl

Bathys

Bathys-KTO

Preference data for training deep search agents with Kahneman–Tversky Optimization
348 questions · 3,016 labeled search trajectories

Bathys-KTO records how different search attempts answer the same question. Each row contains a complete conversation and a boolean preference label for that attempt. The training split has 1,482 desirable and 1,534 undesirable trajectories. Both labels are present for 345 of the 348 questions.

Load the dataset

The train split is stored in train.jsonl. This example streams a record and reads its trajectory-level label.

from datasets import load_dataset

train = load_dataset("Bathys/Bathys-KTO", split="train", streaming=True)
record = next(iter(train))
messages = record["messages"]
print(record["label"])  # True for the first trajectory
print(messages[1]["content"])  # The research question

Record format

Field Type Meaning
messages List of {role, content} objects The full ordered conversation. Both fields in each message are strings.
label Boolean true for a desirable trajectory (source score 1), false for an undesirable trajectory (source score 0).

The system turn contains the tool definitions. The first user turn contains the question. Assistant turns include reasoning, tool requests, and the final answer. Tool output appears in later user turns inside <tool_response> blocks. The label applies to the whole trajectory.

The companion supervised fine-tuning dataset provides one demonstration per question. Bathys-SFT