Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
configs:
|
| 3 |
+
- config_name: jfleg
|
| 4 |
+
data_files: "jfleg/data.jsonl"
|
| 5 |
+
default: true
|
| 6 |
+
- config_name: asset
|
| 7 |
+
data_files: "asset/data.jsonl"
|
| 8 |
+
- config_name: fruit
|
| 9 |
+
data_files: "fruit/data.jsonl"
|
| 10 |
+
- config_name: iterater
|
| 11 |
+
data_files: "iterater/data.jsonl"
|
| 12 |
+
- config_name: iterater_clarity
|
| 13 |
+
data_files: "iterater_clarity/data.jsonl"
|
| 14 |
+
- config_name: iterater_coherence
|
| 15 |
+
data_files: "iterater_coherence/data.jsonl"
|
| 16 |
+
- config_name: iterater_fluency
|
| 17 |
+
data_files: "iterater_fluency/data.jsonl"
|
| 18 |
+
- config_name: stsb_multi_mt
|
| 19 |
+
data_files: "stsb_multi_mt/data.jsonl"
|
| 20 |
+
- config_name: turk
|
| 21 |
+
data_files: "turk/data.jsonl"
|
| 22 |
+
- config_name: wafer_insert
|
| 23 |
+
data_files: "wafer_insert/data.jsonl"
|
| 24 |
+
- config_name: wnc
|
| 25 |
+
data_files: "wnc/data.jsonl"
|
| 26 |
+
license: cc-by-nc-sa-4.0
|
| 27 |
+
task_categories:
|
| 28 |
+
- text2text-generation
|
| 29 |
+
tags:
|
| 30 |
+
- text-editing
|
| 31 |
+
- benchmark
|
| 32 |
+
---
|
| 33 |
+
|
| 34 |
+
# EditEval: The Instruction-Based Benchmark for Text Improvements
|
| 35 |
+
|
| 36 |
+
This dataset contains the [EditEval benchmark](https://arxiv.org/abs/2209.13331) data, converted to JSONL and organized by task/dataset.
|
| 37 |
+
|
| 38 |
+
## Subsets
|
| 39 |
+
|
| 40 |
+
| Config | Task | Examples |
|
| 41 |
+
|--------|------|----------|
|
| 42 |
+
| `jfleg` | Fluency | 1,501 |
|
| 43 |
+
| `asset` | Simplification | 2,359 |
|
| 44 |
+
| `turk` | Simplification | 2,359 |
|
| 45 |
+
| `iterater` | Mixed (all tasks) | 621 |
|
| 46 |
+
| `iterater_fluency` | Fluency | 203 |
|
| 47 |
+
| `iterater_clarity` | Clarity | 342 |
|
| 48 |
+
| `iterater_coherence` | Coherence | 76 |
|
| 49 |
+
| `stsb_multi_mt` | Paraphrasing | 153 |
|
| 50 |
+
| `wnc` | Neutralization | 1,700 |
|
| 51 |
+
| `wafer_insert` | Updating (insertion) | 9,108 |
|
| 52 |
+
| `fruit` | Updating | 150 |
|
| 53 |
+
|
| 54 |
+
## Usage
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from datasets import load_dataset
|
| 58 |
+
|
| 59 |
+
# Load a specific subset
|
| 60 |
+
ds = load_dataset("bzz2/EditEval", "jfleg")
|
| 61 |
+
|
| 62 |
+
# Load with a limit
|
| 63 |
+
ds = load_dataset("bzz2/EditEval", "fruit", split="train[:10]")
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Schema
|
| 67 |
+
|
| 68 |
+
Each record has the following fields:
|
| 69 |
+
|
| 70 |
+
- `id` — unique example identifier
|
| 71 |
+
- `input` — source text to be edited
|
| 72 |
+
- `title` — article/document title (if applicable)
|
| 73 |
+
- `task_type` — editing task (fluency, simplification, neutralization, etc.)
|
| 74 |
+
- `retrieved_documents` — supporting documents (used by updating tasks)
|
| 75 |
+
- `meta` — additional metadata (JSON string)
|
| 76 |
+
|
| 77 |
+
## Citation
|
| 78 |
+
|
| 79 |
+
```bibtex
|
| 80 |
+
@inproceedings{dwivedi-edit-2022,
|
| 81 |
+
doi = {10.48550/ARXIV.2209.13331},
|
| 82 |
+
url = {https://arxiv.org/abs/2209.13331},
|
| 83 |
+
author = {Dwivedi-Yu, Jane and Schick, Timo and Jiang, Zhengbao and Lomeli, Maria and Lewis, Patrick and Izacard, Gautier and Grave, Edouard and Riedel, Sebastian and Petroni, Fabio},
|
| 84 |
+
title = {EditEval: An Instruction-Based Benchmark for Text Improvements},
|
| 85 |
+
publisher = {arXiv},
|
| 86 |
+
year = {2022},
|
| 87 |
+
}
|
| 88 |
+
```
|