File size: 2,519 Bytes
bc3b4e5
931b664
3445828
931b664
 
63e2a80
bc3b4e5
928df45
bc3b4e5
84c9d20
bc3b4e5
1b76a92
6d8f6c2
1b76a92
13da841
 
 
 
bc3b4e5
 
d6f9651
 
 
 
 
 
 
 
 
080f560
d6f9651
 
 
 
 
 
080f560
d6f9651
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
080f560
 
d6f9651
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
title: Synthetic Data Generator
short_description: Build datasets using natural language
emoji: 🧬
colorFrom: yellow
colorTo: pink
sdk: gradio
sdk_version: 4.44.1
app_file: app.py
pinned: true
license: apache-2.0
hf_oauth: true
#header: mini
hf_oauth_scopes:
- read-repos
- write-repos
- manage-repos
- inference-api
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

<div class="header-container">
    <div class="title-container">
        <h1 style="margin: 0; font-size: 2em;">🧬 Synthetic Data Generator</h1>
        <p style="margin: 10px 0 0 0; color: #666; font-size: 1.1em;">Build datasets using natural language</p>
    </div>
</div>
<br>

This repository contains the code for the [free Synthetic Data Generator app](https://huggingface.co/spaces/argilla/synthetic-data-generator), which is hosted on the Hugging Face Hub.

## How it works?

![Synthetic Data Generator](https://huggingface.co/spaces/argilla/synthetic-data-generator/resolve/main/assets/flow.png)

Distilabel Synthetic Data Generator is a tool that allows you to easily create high-quality datasets for training and fine-tuning language models. It leverages the power of distilabel and advanced language models to generate synthetic data tailored to your specific needs.

This tool simplifies the process of creating custom datasets, enabling you to:

- Define the characteristics of your desired application
- Generate system prompts and tasks automatically
- Create sample datasets for quick iteration
- Produce full-scale datasets with customizable parameters
- Push your generated datasets directly to the Hugging Face Hub

By using Distilabel Synthetic Data Generator, you can rapidly prototype and create datasets for, accelerating your AI development process.

## Do you want to run this locally?

You can simply clone the repository and run it locally with:

```bash
pip install -r requirements.txt
python app.py
```

Note that you do need to have an `HF_TOKEN` that can make calls to the free serverless Hugging Face Inference Endpoints. You can get one [here](https://huggingface.co/settings/tokens/new?ownUserPermissions=repo.content.read&ownUserPermissions=repo.write&globalPermissions=inference.serverless.write&tokenType=fineGrained).

## Do you need more control?

Each pipeline is based on a distilabel component, so you can easily run it locally or with other LLMs.

Check out the [distilabel library](https://github.com/argilla-io/distilabel) for more information.