|
Download README.md from Bathys/Bathys-KTO: direct link, hf CLI and curl.
- Browser
- Download file 2.09 kB
-
https://huggingface.co/datasets/Bathys/Bathys-KTO/resolve/main/README.md
- Command line
-
hf download hf://datasets/Bathys/Bathys-KTO/README.md
-
curl -L -o README.md https://huggingface.co/datasets/Bathys/Bathys-KTO/resolve/main/README.md
2.09 kB
| 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 | |
| <p align="center"><img src="assets/bathys-logo.png" alt="Bathys" width="190"></p> | |
| <h1 align="center">Bathys-KTO</h1> | |
| <p align="center">Preference data for training deep search agents with Kahneman–Tversky Optimization<br><strong>348 questions · 3,016 labeled search trajectories</strong></p> | |
| 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. | |
| ```python | |
| 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](https://huggingface.co/datasets/Bathys/Bathys-SFT) | |