enron_spam_small / README.md
likhith231's picture
update readme with content
24a9171 verified
metadata
dataset_info:
  features:
    - name: label
      dtype: int64
    - name: text
      dtype: string
  splits:
    - name: train
      num_bytes: 1452847
      num_examples: 1000
    - name: validation
      num_bytes: 1685310
      num_examples: 1000
  download_size: 1637839
  dataset_size: 3138157
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: validation
        path: data/validation-*
task_categories:
  - text-classification

Dataset Card for Dataset Name

This dataset is a condensed subset derived from the SetFit/enron_spam dataset. It comprises two primary columns: 'Text' and 'Label'. The dataset contains 1000 samples for training and 1000 samples for testing, making it suitable for binary text classification tasks.

Dataset Details

Columns

  • Text: Represents the content of an email.
  • Label: Indicates whether the email is categorized as 'spam' or 'ham' (non-spam).

Dataset Sources

Uses

Direct Use

from datasets import load_dataset
spam_dataset = load_dataset("likhith231/enron_spam_small")