librarian-bot's picture
Librarian Bot: Add language metadata for dataset
bba744d verified
|
raw
history blame
2.1 kB
metadata
language:
  - en
size_categories: n<1K
dataset_info:
  features:
    - name: text
      dtype: string
    - name: labels
      sequence:
        class_label:
          names:
            '0': feedback
            '1': question
            '2': greeting
            '3': complaint
  splits:
    - name: train
      num_bytes: 99754
      num_examples: 499
  download_size: 43026
  dataset_size: 99754
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
tags:
  - synthetic
  - distilabel
  - rlaif
  - datacraft

Built with Distilabel

Dataset Card for intent-classification

This dataset has been created with distilabel.

Dataset Summary

This dataset contains a pipeline.yaml which can be used to reproduce the pipeline that generated it in distilabel using the distilabel CLI:

distilabel pipeline run --config "https://huggingface.co/datasets/Dev523/intent-classification/raw/main/pipeline.yaml"

or explore the configuration:

distilabel pipeline info --config "https://huggingface.co/datasets/Dev523/intent-classification/raw/main/pipeline.yaml"

Dataset structure

The examples have the following structure per configuration:

Configuration: default
{
    "labels": [
        1,
        3
    ],
    "text": "I recently purchased a product from your company, but it didn\u0027t meet my expectations. The material was flimsy and the design was not as sleek as I thought it would be."
}

This subset can be loaded as:

from datasets import load_dataset

ds = load_dataset("Dev523/intent-classification", "default")

Or simply as it follows, since there's only one configuration and is named default:

from datasets import load_dataset

ds = load_dataset("Dev523/intent-classification")