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