Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,27 +1,86 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
num_examples: 3702
|
| 20 |
-
download_size: 2167777
|
| 21 |
-
dataset_size: 12265022
|
| 22 |
-
configs:
|
| 23 |
-
- config_name: default
|
| 24 |
-
data_files:
|
| 25 |
-
- split: train
|
| 26 |
-
path: data/train-*
|
| 27 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- conversational
|
| 6 |
+
- table-question-answering
|
| 7 |
+
language:
|
| 8 |
+
- en
|
| 9 |
+
- ja
|
| 10 |
+
tags:
|
| 11 |
+
- synthetic
|
| 12 |
+
- sft
|
| 13 |
+
- react
|
| 14 |
+
- agent
|
| 15 |
+
- alfworld
|
| 16 |
+
- dbbench
|
| 17 |
+
size_categories:
|
| 18 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
---
|
| 20 |
+
|
| 21 |
+
# DBBench + ALFWorld SFT Dataset (Merged)
|
| 22 |
+
|
| 23 |
+
## Overview
|
| 24 |
+
|
| 25 |
+
This dataset is a **simple concatenation (merge)** of the following two synthetic SFT datasets:
|
| 26 |
+
|
| 27 |
+
- **ALFWorld Trajectory Dataset**: `u-10bei/sft_alfworld_trajectory_dataset_v5`
|
| 28 |
+
- https://huggingface.co/datasets/u-10bei/sft_alfworld_trajectory_dataset_v5
|
| 29 |
+
- **DBBench SFT Dataset (ReAct Format)**: `u-10bei/dbbench_sft_dataset_react_v4`
|
| 30 |
+
- https://huggingface.co/datasets/u-10bei/dbbench_sft_dataset_react_v4
|
| 31 |
+
|
| 32 |
+
The goal is to provide a single dataset repo that contains both:
|
| 33 |
+
|
| 34 |
+
- household task-solving trajectories (ALFWorld-compatible)
|
| 35 |
+
- SQL / database operation trajectories (AgentBench DBBench-compatible)
|
| 36 |
+
|
| 37 |
+
## Statistics
|
| 38 |
+
|
| 39 |
+
- **Total conversations**: 3702
|
| 40 |
+
- `dbbench`: 1200
|
| 41 |
+
- `alfworld`: 2502
|
| 42 |
+
|
| 43 |
+
## Data Format
|
| 44 |
+
|
| 45 |
+
To avoid schema mismatches between the two source datasets, we normalize into a common schema:
|
| 46 |
+
|
| 47 |
+
- `id` (string): unique sample id
|
| 48 |
+
- `source` (string): `"dbbench"` or `"alfworld"`
|
| 49 |
+
- `messages` (list): list of `{role, content}` objects
|
| 50 |
+
- `metadata_json` (string): JSON dump of the original `metadata` object from the source dataset
|
| 51 |
+
|
| 52 |
+
### Example
|
| 53 |
+
|
| 54 |
+
```json
|
| 55 |
+
{
|
| 56 |
+
"id": "dbbench_sft_0000",
|
| 57 |
+
"source": "dbbench",
|
| 58 |
+
"messages": [
|
| 59 |
+
{"role": "user", "content": "..."},
|
| 60 |
+
{"role": "assistant", "content": "..."}
|
| 61 |
+
],
|
| 62 |
+
"metadata_json": "{"sql": "...", ...}"
|
| 63 |
+
}
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Usage
|
| 67 |
+
|
| 68 |
+
```python
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
import json
|
| 71 |
+
|
| 72 |
+
ds = load_dataset("moroqq/dbbench_and_alfworld_sft_dataset")
|
| 73 |
+
sample = ds["train"][0]
|
| 74 |
+
|
| 75 |
+
metadata = json.loads(sample["metadata_json"])
|
| 76 |
+
messages = sample["messages"]
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## Notes
|
| 80 |
+
|
| 81 |
+
- This repo is **derived** from the two datasets linked above. Please refer to the original dataset cards for details on generation, limitations, and intended use.
|
| 82 |
+
- License follows the original datasets: **MIT**.
|
| 83 |
+
|
| 84 |
+
## Created
|
| 85 |
+
|
| 86 |
+
- 2026-02-17T22:25:19+00:00 (UTC)
|