task_categories:text-classification size_categories:n<1K language:en license:apache-2.0 region:us
---
license: apache-2.0
task_categories:
- text-classification
language:
- en
pretty_name: CNN News Article from 20211 to 2022
size_categories:
- n<1K
dataset_info:
  features:
    - name: text
      dtype: string
    - name: label
      dtype:
        class_label:
          names:
            '0': business
            '1': entertainment
            '2': health
            '3': news
            '4': politics
            '5': sport
  splits:
    - name: train
      num_examples: 32218
    - name: test
      num_examples: 5686
train-eval-index:
  - config: default
    task: text-classification
    task_id: multi_class_classification
    splits:
      train_split: train
      eval_split: test
    col_mapping:
      text: text
      label: target
---

# CNN News Articles 2011-2022 Dataset

## Introduction

This dataset contains CNN News Articles from 2011 to 2022 after basic cleaning. The dataset includes the following information:

Category
Full text

The data was downloaded from Kaggle at this URL: https://www.kaggle.com/datasets/hadasu92/cnn-articles-after-basic-cleaning. The dataset was split into two sets:

Train set with 32,218 examples
Test set with 5,686 examples
## Usage
This dataset can be used for different natural language processing tasks such as text classification, text summarization, named entity recognition, and more. The dataset is available in Hugging Face Datasets with the ID AyoubChLin/CNN_News_Articles_2011-2022.

## Acknowledgements
The data was collected by the Kaggle user [hadasu92](https://github.com/hadasu). The splitting of the dataset into train and test sets was performed by [CHERGUELAINE Ayoub](https://www.linkedin.com/in/ayoub-cherguelaine/) & [BOUBEKRI Faycal](https://www.linkedin.com/in/faycal-boubekri-832848199/).