lovodkin93
commited on
Commit
•
0d71ca5
1
Parent(s):
5959983
Create the README file
Browse files
README.md
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Controlled Text Reduction
|
2 |
+
|
3 |
+
This dataset contains Controlled Text Reduction triplets - document-summary pairs, and the spans in the document that cover the summary.
|
4 |
+
The task input is consists of a document with pre-selected spans in it ("highlights"). The output is a text covering all and only the highlighted content.
|
5 |
+
|
6 |
+
The script downloads the data from the original [GitHub repository](https://github.com/lovodkin93/Controlled_Text_Reduction).
|
7 |
+
|
8 |
+
### Format
|
9 |
+
|
10 |
+
The dataset contains the following important features:
|
11 |
+
|
12 |
+
* `doc_text` - the input text.
|
13 |
+
* `summary_text` - the output text.
|
14 |
+
* `highlight_spans` - the spans in the input text (the doc_text) that lead to the output text (the summary_text).
|
15 |
+
|
16 |
+
```json
|
17 |
+
{'doc_text': 'The motion picture industry\'s most coveted award...with 32.',
|
18 |
+
'summary_text': 'The Oscar, created 60 years ago by MGM...awarded person (32).',
|
19 |
+
'highlight_spans':'[[0, 48], [50, 55], [57, 81], [184, 247], ..., [953, 975], [1033, 1081]]'}
|
20 |
+
```
|
21 |
+
where for each document-summary pair, we save the spans in the input document that lead to the summary.
|
22 |
+
|
23 |
+
Notice that the dataset consists of two subsets:
|
24 |
+
1. `DUC-2001-2002` - which is further divided into 3 splits (train, validation and test).
|
25 |
+
2. `CNN-DM` - which has a single split.
|