petraka's picture
Upload README.md with huggingface_hub
12b5193 verified
metadata
size_categories: n<1K
dataset_info:
  features:
    - name: text
      dtype: string
    - name: label
      dtype:
        class_label:
          names:
            '0': property-law
            '1': civil litigation
            '2': dispute-resolution
            '3': contract-review
            '4': contract-law
  splits:
    - name: train
      num_bytes: 1454
      num_examples: 10
  download_size: 2748
  dataset_size: 1454
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
tags:
  - synthetic
  - distilabel
  - rlaif
  - datacraft

Built with Distilabel

Dataset Card for my-distiset-39d73470

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/petraka/my-distiset-39d73470/raw/main/pipeline.yaml"

or explore the configuration:

distilabel pipeline info --config "https://huggingface.co/datasets/petraka/my-distiset-39d73470/raw/main/pipeline.yaml"

Dataset structure

The examples have the following structure per configuration:

Configuration: default
{
    "label": 1,
    "text": "I was in an accident while riding my bike and I think the other driver was at fault. Can I sue him for damages?"
}

This subset can be loaded as:

from datasets import load_dataset

ds = load_dataset("petraka/my-distiset-39d73470", "default")

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

from datasets import load_dataset

ds = load_dataset("petraka/my-distiset-39d73470")