Datasets:
license: mit
task_categories:
- text-classification
language:
- en
size_categories:
- 1M<n<10M
annotations_creators:
- no-annotation
multilinguality:
- monolingual
pretty_name: UTCD
Universal Text Classification Dataset (UTCD)
Load dataset
from datasets import load_dataset
dataset = load_dataset('claritylab/utcd', name='in-domain')
Description
UTCD is a curated compilation of 18 datasets revised for Zero-shot Text Classification spanning 3 aspect categories of Sentiment, Intent/Dialogue, and Topic classification. UTCD focuses on the task of zero-shot text classification where the candidate labels are descriptive of the text being classified. TUTCD consists of ~ 6M/800K train/test examples.
UTCD was introduced in the Findings of ACL'23 Paper Label Agnostic Pre-training for Zero-shot Text Classification by Christopher Clarke, Yuzhao Heng, Yiping Kang, Krisztian Flautner, Lingjia Tang and Jason Mars. Project Homepage.
UTCD Datasets & Principles:
- Sentiment
- GoEmotions introduced in GoEmotions: A Dataset of Fine-Grained Emotions
- TweetEval introduced in TWEETEVAL: Unified Benchmark and Comparative Evaluation for Tweet Classification (Sentiment subset)
- Emotion introduced in CARER: Contextualized Affect Representations for Emotion Recognition
- Amazon Polarity introduced in Character-level Convolutional Networks for Text Classification
- Finance Phrasebank introduced in Good debt or bad debt: Detecting semantic orientations in economic texts
- Yelp introduced in Character-level Convolutional Networks for Text Classification
- Intent/Dialogue
- Schema-Guided Dialogue introduced in Towards Scalable Multi-Domain Conversational Agents: The Schema-Guided Dialogue Dataset
- Clinc-150 introduced in An Evaluation Dataset for Intent Classification and Out-of-Scope Prediction
- SLURP SLU introduced in SLURP: A Spoken Language Understanding Resource Package
- Banking77 introduced in Efficient Intent Detection with Dual Sentence Encoders
- Snips introduced in Snips Voice Platform: an embedded Spoken Language Understanding system for private-by-design voice interfaces
- NLU Evaluation introduced in Benchmarking Natural Language Understanding Services for building Conversational Agents
- Topic
- AG News introduced in Character-level Convolutional Networks for Text Classification
- DBpedia 14 introduced in DBpedia: A Nucleus for a Web of Open Data
- Yahoo Answer Topics introduced in Character-level Convolutional Networks for Text Classification
- MultiEurlex introduced in MultiEURLEX -- A multi-lingual and multi-label legal document classification dataset for zero-shot cross-lingual transfer
- BigPatent introduced in BIGPATENT: A Large-Scale Dataset for Abstractive and Coherent Summarization
- Consumer Finance introduced in Consumer Complaint Database
In order to make NLP models more broadly useful, zero-shot techniques need to be capable of label, domain & aspect transfer. As such, in the construction of UTCD we enforce the following principles:
- Textual labels: In UTCD, we mandate the use of textual labels. While numerical label values are often used in classification tasks, descriptive textual labels such as those present in the datasets across UTCD enable the development of techniques that can leverage the class name which is instrumental in providing zero-shot support. As such, for each of the compiled datasets, labels are standardized such that the labels are descriptive of the text in natural language.
- Diverse domains and Sequence lengths: In addition to broad coverage of aspects, UTCD compiles diverse data across several domains such as Banking, Finance, Legal, etc each comprising varied length sequences (long and short). The datasets are listed above.