size_categories:n<1K format:parquet modality:text library:datasets library:pandas library:mlcroissant library:polars library:distilabel region:us synthetic distilabel rlaif
---
size_categories: n<1K
dataset_info:
  features:
  - name: anchor
    dtype: string
  - name: positive
    dtype: string
  - name: negative
    dtype: string
  - name: generation
    dtype: string
  splits:
  - name: train
    num_bytes: 43110
    num_examples: 50
  download_size: 24354
  dataset_size: 43110
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
tags:
- synthetic
- distilabel
- rlaif
---

<p align="left">
  <a href="https://github.com/argilla-io/distilabel">
    <img src="https://raw.githubusercontent.com/argilla-io/distilabel/main/docs/assets/distilabel-badge-light.png" alt="Built with Distilabel" width="200" height="32"/>
  </a>
</p>

# Dataset Card for similarity-dataset-test-sql

This dataset has been created with [distilabel](https://distilabel.argilla.io/).

## 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:

```console
distilabel pipeline run --config "https://huggingface.co/datasets/davanstrien/similarity-dataset-test-sql/raw/main/pipeline.yaml"
```

or explore the configuration:

```console
distilabel pipeline info --config "https://huggingface.co/datasets/davanstrien/similarity-dataset-test-sql/raw/main/pipeline.yaml"
```

## Dataset structure

The examples have the following structure per configuration:


<details><summary> Configuration: default </summary><hr>

```json
{
    "anchor": "What is the total volume of timber sold by each salesperson, sorted by salesperson?",
    "generation": "{\n  \"bad\": [\n    \"What is the average volume of timber sold by each salesperson, sorted by salesperson?\",\n    \"What is the total volume of timber sold by each salesperson, sorted by volume?\",\n    \"What is the total volume of timber sold by each salesperson, without sorting?\"\n  ],\n  \"good\": [\n    \"What is the total quantity of timber sold by each salesperson, ordered by salesperson?\",\n    \"List the total amount of timber sold by each salesperson, sorted by salesperson.\",\n    \"Provide the total volume of timber sold by each salesperson, arranged by salesperson.\"\n  ]\n}",
    "negative": "What is the average volume of timber sold by each salesperson, sorted by salesperson?",
    "positive": "What is the total quantity of timber sold by each salesperson, ordered by salesperson?"
}
```

This subset can be loaded as:

```python
from datasets import load_dataset

ds = load_dataset("davanstrien/similarity-dataset-test-sql", "default")
```

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

```python
from datasets import load_dataset

ds = load_dataset("davanstrien/similarity-dataset-test-sql")
```


</details>
