Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
# Description:
|
2 |
This repository contains the Booksum dataset introduced in the paper [BookSum: A Collection of Datasets for Long-form Narrative Summarization
|
3 |
](https://arxiv.org/abs/2105.08209).
|
@@ -52,3 +67,11 @@ Books Dataset:
|
|
52 |
- {source, text (summary), analysis}
|
53 |
...
|
54 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- summarization
|
4 |
+
- text-generation
|
5 |
+
language:
|
6 |
+
- en
|
7 |
+
pretty_name: BookSum Summarization Dataset Clean
|
8 |
+
size_categories:
|
9 |
+
- 1K<n<10K
|
10 |
+
configs:
|
11 |
+
- config_name: books
|
12 |
+
data_files: "books/*.jsonl"
|
13 |
+
- config_name: chapters
|
14 |
+
data_files: "chapters/*.jsonl"
|
15 |
+
---
|
16 |
# Description:
|
17 |
This repository contains the Booksum dataset introduced in the paper [BookSum: A Collection of Datasets for Long-form Narrative Summarization
|
18 |
](https://arxiv.org/abs/2105.08209).
|
|
|
67 |
- {source, text (summary), analysis}
|
68 |
...
|
69 |
```
|
70 |
+
|
71 |
+
# Usage
|
72 |
+
```
|
73 |
+
from datasets import load_dataset
|
74 |
+
|
75 |
+
book_data = load_dataset("ubaada/booksum-complete-cleanedy", "books")
|
76 |
+
chapter_data = load_dataset("ubaada/booksum-complete-cleaned", "chapters")
|
77 |
+
```
|