Commit
•
8d5d65f
1
Parent(s):
7a3ba19
Update line length text areas
Browse files
src/distilabel_dataset_generator/apps/sft.py
CHANGED
@@ -175,9 +175,10 @@ with gr.Blocks(
|
|
175 |
|
176 |
gr.Markdown("## Iterate on a sample dataset")
|
177 |
with gr.Column() as main_ui:
|
178 |
-
dataset_description = gr.
|
179 |
label="Give a precise description of the assistant or tool. Don't describe the dataset",
|
180 |
value=DEFAULT_DATASET_DESCRIPTIONS[0],
|
|
|
181 |
)
|
182 |
examples = gr.Examples(
|
183 |
elem_id="system_prompt_examples",
|
@@ -189,9 +190,10 @@ with gr.Blocks(
|
|
189 |
btn_generate_system_prompt = gr.Button(value="Generate sample")
|
190 |
gr.Column(scale=1)
|
191 |
|
192 |
-
system_prompt = gr.
|
193 |
label="System prompt for dataset generation. You can tune it and regenerate the sample",
|
194 |
value=DEFAULT_SYSTEM_PROMPTS[0],
|
|
|
195 |
)
|
196 |
|
197 |
with gr.Row():
|
|
|
175 |
|
176 |
gr.Markdown("## Iterate on a sample dataset")
|
177 |
with gr.Column() as main_ui:
|
178 |
+
dataset_description = gr.TextArea(
|
179 |
label="Give a precise description of the assistant or tool. Don't describe the dataset",
|
180 |
value=DEFAULT_DATASET_DESCRIPTIONS[0],
|
181 |
+
lines=2,
|
182 |
)
|
183 |
examples = gr.Examples(
|
184 |
elem_id="system_prompt_examples",
|
|
|
190 |
btn_generate_system_prompt = gr.Button(value="Generate sample")
|
191 |
gr.Column(scale=1)
|
192 |
|
193 |
+
system_prompt = gr.TextArea(
|
194 |
label="System prompt for dataset generation. You can tune it and regenerate the sample",
|
195 |
value=DEFAULT_SYSTEM_PROMPTS[0],
|
196 |
+
lines=5,
|
197 |
)
|
198 |
|
199 |
with gr.Row():
|