pszemraj's picture
add normal label column
0a6e08c verified
metadata
license: apache-2.0
source_datasets: yahoo_answers_topics
task_categories:
  - text-classification
dataset_info:
  features:
    - name: id
      dtype: int32
    - name: topic
      dtype:
        class_label:
          names:
            '0': Society & Culture
            '1': Science & Mathematics
            '2': Health
            '3': Education & Reference
            '4': Computers & Internet
            '5': Sports
            '6': Business & Finance
            '7': Entertainment & Music
            '8': Family & Relationships
            '9': Politics & Government
    - name: question_title
      dtype: string
    - name: question_content
      dtype: string
    - name: best_answer
      dtype: string
    - name: token_count
      dtype: int64
    - name: text
      dtype: string
    - name: label
      dtype: string
  splits:
    - name: train
      num_bytes: 27806643
      num_examples: 3352
    - name: test
      num_bytes: 1097817
      num_examples: 133
  download_size: 17288090
  dataset_size: 28904460
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*

BEE-spoke-data/yahoo_answers_topics-long-text

1024 or more tokens in 'text'

DatasetDict({
    train: Dataset({
        features: ['id', 'topic', 'question_title', 'question_content', 'best_answer', 'token_count', 'text'],
        num_rows: 3352
    })
    test: Dataset({
        features: ['id', 'topic', 'question_title', 'question_content', 'best_answer', 'token_count', 'text'],
        num_rows: 133
    })
}