Update README.md
Browse files
README.md
CHANGED
@@ -7,4 +7,54 @@ language:
|
|
7 |
pretty_name: Custom CNN/Daily Mail Summarization Dataset
|
8 |
size_categories:
|
9 |
- n<1K
|
10 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
pretty_name: Custom CNN/Daily Mail Summarization Dataset
|
8 |
size_categories:
|
9 |
- n<1K
|
10 |
+
---
|
11 |
+
# Dataset Card for Custom Text Dataset
|
12 |
+
|
13 |
+
## Dataset Name
|
14 |
+
Custom CNN/Daily Mail Summarization Dataset
|
15 |
+
|
16 |
+
## Overview
|
17 |
+
This dataset is a custom version of the CNN/Daily Mail dataset, designed for text summarization tasks. It contains news articles and their corresponding summaries.
|
18 |
+
|
19 |
+
## Composition
|
20 |
+
The dataset consists of two splits:
|
21 |
+
- Train: 1 custom example
|
22 |
+
- Test: 100 examples from the original CNN/Daily Mail dataset
|
23 |
+
|
24 |
+
Each example contains:
|
25 |
+
- 'sentence': The full text of a news article
|
26 |
+
- 'labels': The summary of the article
|
27 |
+
|
28 |
+
## Collection Process
|
29 |
+
The training data is a custom example created manually, while the test data is sampled from the CNN/Daily Mail dataset (version 3.0.0) available on Hugging Face.
|
30 |
+
|
31 |
+
## Preprocessing
|
32 |
+
No specific preprocessing was applied beyond the original CNN/Daily Mail dataset preprocessing.
|
33 |
+
|
34 |
+
## How to Use
|
35 |
+
```python
|
36 |
+
from datasets import load_from_disk
|
37 |
+
|
38 |
+
# Load the dataset
|
39 |
+
dataset = load_from_disk("./results/custom_dataset/")
|
40 |
+
|
41 |
+
# Access the data
|
42 |
+
train_data = dataset['train']
|
43 |
+
test_data = dataset['test']
|
44 |
+
|
45 |
+
# Example usage
|
46 |
+
print(train_data['sentence'])
|
47 |
+
print(train_data['labels'])
|
48 |
+
```
|
49 |
+
|
50 |
+
## Evaluation
|
51 |
+
This dataset is intended for text summarization tasks. Common evaluation metrics include ROUGE scores, which measure the overlap between generated summaries and reference summaries.
|
52 |
+
|
53 |
+
## Limitations
|
54 |
+
- The training set is extremely small (1 example), which may limit its usefulness for model training.
|
55 |
+
- The test set is a subset of the original CNN/Daily Mail dataset, which may not represent the full diversity of news articles.
|
56 |
+
|
57 |
+
## Ethical Considerations
|
58 |
+
- The dataset contains news articles, which may include sensitive or biased content.
|
59 |
+
- Users should be aware of potential copyright issues when using news content for model training or deployment.
|
60 |
+
- Care should be taken to avoid generating or propagating misleading or false information when using models trained on this dataset.
|