Spaces:
Runtime error
Runtime error
Commit
ยท
326c2f1
1
Parent(s):
1559fdb
add new tabbedinterface
Browse files
README.md
CHANGED
|
@@ -22,22 +22,10 @@ hf_oauth_scopes:
|
|
| 22 |
<h2 align="center">
|
| 23 |
<a href=""><img src="https://raw.githubusercontent.com/argilla-io/synthetic-data-generator/main/assets/logo.svg" alt="Synthetic Data Generator Logo" width="80%"></a>
|
| 24 |
</h2>
|
| 25 |
-
<h3 align="center">Build
|
| 26 |
|
| 27 |

|
| 28 |
|
| 29 |
-
<p align="center">
|
| 30 |
-
<a href="https://twitter.com/argilla_io">
|
| 31 |
-
<img src="https://img.shields.io/badge/twitter-black?logo=x"/>
|
| 32 |
-
</a>
|
| 33 |
-
<a href="https://www.linkedin.com/company/argilla-io">
|
| 34 |
-
<img src="https://img.shields.io/badge/linkedin-blue?logo=linkedin"/>
|
| 35 |
-
</a>
|
| 36 |
-
<a href="http://hf.co/join/discord">
|
| 37 |
-
<img src="https://img.shields.io/badge/Discord-7289DA?&logo=discord&logoColor=white"/>
|
| 38 |
-
</a>
|
| 39 |
-
</p>
|
| 40 |
-
|
| 41 |
## Introduction
|
| 42 |
|
| 43 |
Synthetic Data Generator is a tool that allows you to create high-quality datasets for training and fine-tuning language models. It leverages the power of distilabel and LLMs to generate synthetic data tailored to your specific needs.
|
|
@@ -57,6 +45,18 @@ This tool simplifies the process of creating custom datasets, enabling you to:
|
|
| 57 |
|
| 58 |
By using the Synthetic Data Generator, you can rapidly prototype and create datasets for, accelerating your AI development process.
|
| 59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
## Installation
|
| 61 |
|
| 62 |
You can simply install the package with:
|
|
|
|
| 22 |
<h2 align="center">
|
| 23 |
<a href=""><img src="https://raw.githubusercontent.com/argilla-io/synthetic-data-generator/main/assets/logo.svg" alt="Synthetic Data Generator Logo" width="80%"></a>
|
| 24 |
</h2>
|
| 25 |
+
<h3 align="center">Build datasets using natural language</h3>
|
| 26 |
|
| 27 |

|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
## Introduction
|
| 30 |
|
| 31 |
Synthetic Data Generator is a tool that allows you to create high-quality datasets for training and fine-tuning language models. It leverages the power of distilabel and LLMs to generate synthetic data tailored to your specific needs.
|
|
|
|
| 45 |
|
| 46 |
By using the Synthetic Data Generator, you can rapidly prototype and create datasets for, accelerating your AI development process.
|
| 47 |
|
| 48 |
+
<p align="center">
|
| 49 |
+
<a href="https://twitter.com/argilla_io">
|
| 50 |
+
<img src="https://img.shields.io/badge/twitter-black?logo=x"/>
|
| 51 |
+
</a>
|
| 52 |
+
<a href="https://www.linkedin.com/company/argilla-io">
|
| 53 |
+
<img src="https://img.shields.io/badge/linkedin-blue?logo=linkedin"/>
|
| 54 |
+
</a>
|
| 55 |
+
<a href="http://hf.co/join/discord">
|
| 56 |
+
<img src="https://img.shields.io/badge/Discord-7289DA?&logo=discord&logoColor=white"/>
|
| 57 |
+
</a>
|
| 58 |
+
</p>
|
| 59 |
+
|
| 60 |
## Installation
|
| 61 |
|
| 62 |
You can simply install the package with:
|
src/synthetic_dataset_generator/_tabbedinterface.py
CHANGED
|
@@ -48,7 +48,7 @@ class TabbedInterface(Blocks):
|
|
| 48 |
a Gradio Tabbed Interface for the given interfaces
|
| 49 |
"""
|
| 50 |
super().__init__(
|
| 51 |
-
title=
|
| 52 |
theme=theme,
|
| 53 |
analytics_enabled=analytics_enabled,
|
| 54 |
mode="tabbed_interface",
|
|
@@ -59,7 +59,7 @@ class TabbedInterface(Blocks):
|
|
| 59 |
if tab_names is None:
|
| 60 |
tab_names = [f"Tab {i}" for i in range(len(interface_list))]
|
| 61 |
with self:
|
| 62 |
-
h3 = "<div style='text-align: center;'><
|
| 63 |
if title:
|
| 64 |
gr.HTML(value=title + h3)
|
| 65 |
gr.LoginButton(value="Sign in", variant="primary", scale=2)
|
|
|
|
| 48 |
a Gradio Tabbed Interface for the given interfaces
|
| 49 |
"""
|
| 50 |
super().__init__(
|
| 51 |
+
title="Synthetic Data Generator",
|
| 52 |
theme=theme,
|
| 53 |
analytics_enabled=analytics_enabled,
|
| 54 |
mode="tabbed_interface",
|
|
|
|
| 59 |
if tab_names is None:
|
| 60 |
tab_names = [f"Tab {i}" for i in range(len(interface_list))]
|
| 61 |
with self:
|
| 62 |
+
h3 = "<div style='text-align: center;'><h2>Build datasets using natural language</h2></div>"
|
| 63 |
if title:
|
| 64 |
gr.HTML(value=title + h3)
|
| 65 |
gr.LoginButton(value="Sign in", variant="primary", scale=2)
|
src/synthetic_dataset_generator/app.py
CHANGED
|
@@ -10,7 +10,7 @@ css = """
|
|
| 10 |
.main_ui_logged_out{opacity: 0.3; pointer-events: none}
|
| 11 |
"""
|
| 12 |
|
| 13 |
-
image = """<br><img src="https://raw.githubusercontent.com/argilla-io/synthetic-data-generator/main/assets/logo.svg" alt="Synthetic Data Generator Logo" style="display: block; margin-left: auto; margin-right: auto; width:
|
| 14 |
|
| 15 |
demo = TabbedInterface(
|
| 16 |
[textcat_app, sft_app, eval_app, faq_app],
|
|
|
|
| 10 |
.main_ui_logged_out{opacity: 0.3; pointer-events: none}
|
| 11 |
"""
|
| 12 |
|
| 13 |
+
image = """<br><img src="https://raw.githubusercontent.com/argilla-io/synthetic-data-generator/main/assets/logo.svg" alt="Synthetic Data Generator Logo" style="display: block; margin-left: auto; margin-right: auto; width: 50%;"/>"""
|
| 14 |
|
| 15 |
demo = TabbedInterface(
|
| 16 |
[textcat_app, sft_app, eval_app, faq_app],
|