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 |
---
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
# Dataset information
|
| 36 |
+
**Dataset concatenating Simplification datasets, available in French and open-source.**
|
| 37 |
+
There are a total of **785,625** rows, of which 781,801 are for training, 2,385 for validation and 1,439 for testing.
|
| 38 |
+
|
| 39 |
+
# Usage
|
| 40 |
+
```
|
| 41 |
+
from datasets import load_dataset
|
| 42 |
+
dataset = load_dataset("CATIE-AQ/frenchSIMPLIFICATION")
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
# Dataset
|
| 47 |
+
## Details of rows
|
| 48 |
+
| Dataset Original | Splits | Note |
|
| 49 |
+
| ----------- | ----------- | ----------- |
|
| 50 |
+
| [clear](http://natalia.grabar.free.fr/resources.php#remi)| 4,196 train / 300 validation / 100 test | |
|
| 51 |
+
| [wikilarge](http://natalia.grabar.free.fr/resources.php#remi)| 296,402 train / 992 validation / 359 test | |
|
| 52 |
+
| [GEM/BiSECT](https://huggingface.co/GEM/BiSECT)| 491,035 train / 2,400 validation / 1,036 test | We keep only the data in French (`fr`) |
|
| 53 |
+
| [alector](https://alectorsite.wordpress.com/corpus/)| 1,108 train | We cut the 79 original texts into sentences to obtain 1,108 data instead of 79. |
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
## Removing duplicate data and leaks
|
| 57 |
+
The sum of the values of the datasets listed here gives the following result:
|
| 58 |
+
|
| 59 |
+
```
|
| 60 |
+
DatasetDict({
|
| 61 |
+
train: Dataset({
|
| 62 |
+
features: ['sentence', 'simplification', 'dataset'],
|
| 63 |
+
num_rows: 792741
|
| 64 |
+
})
|
| 65 |
+
validation: Dataset({
|
| 66 |
+
features: ['sentence', 'simplification', 'dataset'],
|
| 67 |
+
num_rows: 3692
|
| 68 |
+
})
|
| 69 |
+
test: Dataset({
|
| 70 |
+
features: ['sentence', 'simplification', 'dataset'],
|
| 71 |
+
num_rows: 1495
|
| 72 |
+
})
|
| 73 |
+
})
|
| 74 |
+
```
|
| 75 |
+
|
| 76 |
+
However, a data item in training split A may not be in A's test split, but may be present in B's test set, creating a leak when we create the A+B dataset.
|
| 77 |
+
The same logic applies to duplicate data. So we need to make sure we remove them.
|
| 78 |
+
After our clean-up, we finally have the following numbers:
|
| 79 |
+
|
| 80 |
+
```
|
| 81 |
+
DatasetDict({
|
| 82 |
+
train: Dataset({
|
| 83 |
+
features: ['sentence', 'simplification', 'dataset'],
|
| 84 |
+
num_rows: 781801
|
| 85 |
+
})
|
| 86 |
+
validation: Dataset({
|
| 87 |
+
features: ['sentence', 'simplification', 'dataset'],
|
| 88 |
+
num_rows: 2385
|
| 89 |
+
})
|
| 90 |
+
test: Dataset({
|
| 91 |
+
features: ['sentence', 'simplification', 'dataset'],
|
| 92 |
+
num_rows: 1439
|
| 93 |
+
})
|
| 94 |
+
})
|
| 95 |
+
```
|
| 96 |
+
|
| 97 |
+
|
| 98 |
+
|
| 99 |
+
## Columns
|
| 100 |
+
|
| 101 |
+
- the `sentence` column contains the text
|
| 102 |
+
- the `simplification` column contains the simplification of the `sentence`
|
| 103 |
+
- the `dataset` column identifies the row's original dataset (if you wish to apply filters to it)
|
| 104 |
+
|
| 105 |
+
## Split
|
| 106 |
+
- `train` corresponds to the concatenation of `clear` + `wikilarge` + `bisect` + `alector`
|
| 107 |
+
- `validation` corresponds to the concatenation of `clear` + `wikilarge` + `bisect`
|
| 108 |
+
- `test` corresponds to `clear` + `wikilarge` + `bisect`
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
# Citations
|
| 113 |
+
|
| 114 |
+
### Alector
|
| 115 |
+
```
|
| 116 |
+
@inproceedings{gala-etal-2020-alector,
|
| 117 |
+
title = "{A}lector: A Parallel Corpus of Simplified {F}rench Texts with Alignments of Misreadings by Poor and Dyslexic Readers",
|
| 118 |
+
author = {Gala, N{\'u}ria and Tack, Ana{\"\i}s and Javourey-Drevet, Ludivine and Fran{\c{c}}ois, Thomas and Ziegler, Johannes C.},
|
| 119 |
+
editor = "Calzolari, Nicoletta and B{\'e}chet, Fr{\'e}d{\'e}ric and Blache, Philippe and Choukri, Khalid and Cieri, Christopher and Declerck, Thierry and Goggi, Sara and Isahara, Hitoshi and Maegaard, Bente and Mariani, Joseph and Mazo, H{\'e}l{\`e}ne and Moreno, Asuncion and Odijk, Jan and Piperidis, Stelios",
|
| 120 |
+
booktitle = "Proceedings of the Twelfth Language Resources and Evaluation Conference",
|
| 121 |
+
month = may,
|
| 122 |
+
year = "2020",
|
| 123 |
+
address = "Marseille, France",
|
| 124 |
+
publisher = "European Language Resources Association",
|
| 125 |
+
url = "https://aclanthology.org/2020.lrec-1.169",
|
| 126 |
+
pages = "1353--1361",
|
| 127 |
+
language = "English",
|
| 128 |
+
ISBN = "979-10-95546-34-4",}
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
### BiSECT
|
| 132 |
+
```
|
| 133 |
+
@inproceedings{bisect2021,
|
| 134 |
+
title={BiSECT: Learning to Split and Rephrase Sentences with Bitexts},
|
| 135 |
+
author={Kim, Joongwon and Maddela, Mounica and Kriz, Reno and Xu, Wei and Callison-Burch, Chris},
|
| 136 |
+
booktitle={Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP)},
|
| 137 |
+
year={2021}}
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
### CLEAR
|
| 141 |
+
```
|
| 142 |
+
@inproceedings{grabar-cardon-2018-clear,
|
| 143 |
+
title = "{CLEAR} {--} Simple Corpus for Medical {F}rench",
|
| 144 |
+
author = "Grabar, Natalia and Cardon, R{\'e}mi",
|
| 145 |
+
editor = {J{\"o}nsson, Arne and Rennes, Evelina and Saggion, Horacio and Stajner, Sanja and Yaneva, Victoria},
|
| 146 |
+
booktitle = "Proceedings of the 1st Workshop on Automatic Text Adaptation ({ATA})",
|
| 147 |
+
month = nov,
|
| 148 |
+
year = "2018",
|
| 149 |
+
address = "Tilburg, the Netherlands",
|
| 150 |
+
publisher = "Association for Computational Linguistics",
|
| 151 |
+
url = "https://aclanthology.org/W18-7002",
|
| 152 |
+
doi = "10.18653/v1/W18-7002",
|
| 153 |
+
pages = "3--9",
|
| 154 |
+
}
|
| 155 |
+
```
|
| 156 |
+
|
| 157 |
+
### Wikilarge
|
| 158 |
+
```
|
| 159 |
+
@inproceedings{cardon-grabar-2020-french,
|
| 160 |
+
title = "{F}rench Biomedical Text Simplification: When Small and Precise Helps",
|
| 161 |
+
author = "Cardon, R{\'e}mi and Grabar, Natalia",
|
| 162 |
+
editor = "Scott, Donia and Bel, Nuria and Zong, Chengqing",
|
| 163 |
+
booktitle = "Proceedings of the 28th International Conference on Computational Linguistics",
|
| 164 |
+
month = dec,
|
| 165 |
+
year = "2020",
|
| 166 |
+
address = "Barcelona, Spain (Online)",
|
| 167 |
+
publisher = "International Committee on Computational Linguistics",
|
| 168 |
+
url = "https://aclanthology.org/2020.coling-main.62",
|
| 169 |
+
doi = "10.18653/v1/2020.coling-main.62",
|
| 170 |
+
pages = "710--716",
|
| 171 |
+
}
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
### frenchSIMPLIFICATION
|
| 175 |
+
```
|
| 176 |
+
A GENERER
|
| 177 |
+
```
|
| 178 |
+
|
| 179 |
+
# License
|
| 180 |
+
[cc-by-4.0](https://creativecommons.org/licenses/by/4.0/deed.en)
|