Datasets:
update readme
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: mixed-license
|
| 4 |
-
license_link: LICENSE
|
| 5 |
configs:
|
| 6 |
- config_name: alfworld
|
| 7 |
data_files: alfworld/alfworld.jsonl
|
|
@@ -31,4 +31,85 @@ configs:
|
|
| 31 |
data_files: ehr/ehr.jsonl
|
| 32 |
size_categories:
|
| 33 |
- 10K<n<100K
|
| 34 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
license_name: mixed-license
|
| 4 |
+
license_link: LICENSE.md
|
| 5 |
configs:
|
| 6 |
- config_name: alfworld
|
| 7 |
data_files: alfworld/alfworld.jsonl
|
|
|
|
| 31 |
data_files: ehr/ehr.jsonl
|
| 32 |
size_categories:
|
| 33 |
- 10K<n<100K
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
# DTLBench
|
| 37 |
+
|
| 38 |
+
DTLBench is a benchmark for **deployment-time learning** of large language model agents. It collects diverse task streams spanning medical diagnosis, legal analysis, operational reasoning, financial prediction, text-to-SQL, embodied decision making, tabular reasoning on EHRs, deep search, etc.
|
| 39 |
+
|
| 40 |
+
The benchmark is used by **CASCADE**, whose codebase is released at [GitHub Repo](https://github.com/guosyjlu/CASCADE).
|
| 41 |
+
|
| 42 |
+
## Benchmark Overview
|
| 43 |
+
|
| 44 |
+
- Total tasks: `16` (3 of them will be released through PhysioNet)
|
| 45 |
+
- Data format: one JSON object per line (`.jsonl`)
|
| 46 |
+
- Primary use case: benchmark streams for deployment-time learning
|
| 47 |
+
|
| 48 |
+
DTLBench covers three environment styles used in CASCADE:
|
| 49 |
+
|
| 50 |
+
- `single-turn`: one input, one final answer
|
| 51 |
+
- `multi-turn`: sequential interaction with the environment
|
| 52 |
+
|
| 53 |
+
### Summary statistics of the DTLBench. The maximum steps refer to the maximum number of interaction steps that the environment allows per task.
|
| 54 |
+
|
| 55 |
+
| **Property** | **Domain** | **Task** | **Dataset** | **Maximum Steps** | **Number of Samples** |
|
| 56 |
+
|------------------------------|---------------------|--------------------------------------------------|-------------------|-------------------|-----------------------|
|
| 57 |
+
| **Single-turn** | **Medical** | Medical Diagnosis | DDXPlus | 1 | 3136 |
|
| 58 |
+
| | | Medication Recommendation | MIMIC-IV-MR | 1 | 2881 |
|
| 59 |
+
| | | Medical Specialty Referral | MIMIC-IV-MSR | 1 | 2115 |
|
| 60 |
+
| | | Triage Level Prediction | MIMIC-IV-TLP | 1 | 2200 |
|
| 61 |
+
| | **Legal** | Multi-Defendant Legal Charge Prediction | MUD | 1 | 1740 |
|
| 62 |
+
| | | Penalty Legal Prediction | CMDL | 1 | 2080 |
|
| 63 |
+
| | **Financial** | Financial Customer Intent Routing | Banking77 | 1 | 5000 |
|
| 64 |
+
| | | Entity-Aware Financial Sentiment Analysis | SEntFiN | 1 | 2299 |
|
| 65 |
+
| | **AIOps** | AIOps Root Cause Analysis | RCA | 1 | 2925 |
|
| 66 |
+
| | | AIOps Log Fault Diagnosis | LFD | 1 | 3000 |
|
| 67 |
+
| | **Coding** | Text-to-SQL | SPIDER | 1 | 2147 |
|
| 68 |
+
| | | Knowledge-Augmented Text-to-SQL | BIRD | 1 | 1534 |
|
| 69 |
+
| **Multi-turn, Simulated** | **Embodied** | Household Embodied Decision Making | ALFWorld | 30 | 2000 |
|
| 70 |
+
| | | Scientific Embodied Decision Making | ScienceWorld | 10-30 | 1857 |
|
| 71 |
+
| **Multi-turn, Real-world** | **Information Seeking** | Web-based Deep Search | 2Wiki | 5 | 2500 |
|
| 72 |
+
| | **Medical** | Complex Tabular Reasoning on Electronic Health Records | MIMIC-III | 5 | 2500 |
|
| 73 |
+
|
| 74 |
+
## Data Format
|
| 75 |
+
|
| 76 |
+
Each config can be loaded independently from Hugging Face, and each task keeps the fields needed by its original environment. All tasks include a `task` field, which is the main query or observation presented to the agent.
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
## Load the Dataset
|
| 80 |
+
|
| 81 |
+
Using `datasets`:
|
| 82 |
+
|
| 83 |
+
```python
|
| 84 |
+
from datasets import load_dataset
|
| 85 |
+
|
| 86 |
+
# Load one task
|
| 87 |
+
ddxplus = load_dataset("guosy/DTLBench", "ddxplus")
|
| 88 |
+
print(ddxplus["train"][0])
|
| 89 |
+
|
| 90 |
+
# Load another task
|
| 91 |
+
spider = load_dataset("guosy/DTLBench", "spider")
|
| 92 |
+
print(spider["train"][0]["task"])
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
Using `huggingface-cli`:
|
| 96 |
+
|
| 97 |
+
```bash
|
| 98 |
+
huggingface-cli download --repo-type dataset guosy/DTLBench --local-dir ./DTLBench
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
## License
|
| 102 |
+
|
| 103 |
+
DTLBench is a **mixed-license** collection. Each subdataset follows its own original license, and the benchmark authors do not claim additional rights beyond those licenses.
|
| 104 |
+
|
| 105 |
+
Please see [LICENSE.md](LICENSE.md) and the per-task `LICENSE` files for details. In particular:
|
| 106 |
+
|
| 107 |
+
- Some tasks are under permissive licenses such as MIT or Apache-2.0
|
| 108 |
+
- Some tasks use CC licenses with attribution or share-alike requirements
|
| 109 |
+
- Some tasks have unclear or unknown redistribution terms
|
| 110 |
+
|
| 111 |
+
You are responsible for ensuring your use complies with the license of each individual subdataset.
|
| 112 |
+
|
| 113 |
+
## Citation
|
| 114 |
+
|
| 115 |
+
If you use DTLBench, please cite the CASCADE paper once it is publicly available. We will update this card with the final bibliography information after release.
|