Spaces:
Build error
Build error
Commit
·
b6ae406
1
Parent(s):
fc100c2
feat: Add better title
Browse files
src/distilabel_dataset_generator/apps/sft.py
CHANGED
|
@@ -263,12 +263,15 @@ def push_to_argilla(
|
|
| 263 |
settings = rg.Settings(
|
| 264 |
fields=[
|
| 265 |
rg.ChatField(
|
| 266 |
-
name="messages",
|
|
|
|
|
|
|
| 267 |
),
|
| 268 |
],
|
| 269 |
questions=[
|
| 270 |
rg.RatingQuestion(
|
| 271 |
name="rating",
|
|
|
|
| 272 |
description="The rating of the conversation",
|
| 273 |
values=list(range(1, 6)),
|
| 274 |
),
|
|
@@ -309,21 +312,25 @@ def push_to_argilla(
|
|
| 309 |
fields=[
|
| 310 |
rg.TextField(
|
| 311 |
name="system_prompt",
|
|
|
|
| 312 |
description="The system prompt used for the conversation",
|
| 313 |
required=False,
|
| 314 |
),
|
| 315 |
rg.TextField(
|
| 316 |
name="prompt",
|
|
|
|
| 317 |
description="The prompt used for the conversation",
|
| 318 |
),
|
| 319 |
rg.TextField(
|
| 320 |
name="completion",
|
|
|
|
| 321 |
description="The completion from the assistant",
|
| 322 |
),
|
| 323 |
],
|
| 324 |
questions=[
|
| 325 |
rg.RatingQuestion(
|
| 326 |
name="rating",
|
|
|
|
| 327 |
description="The rating of the conversation",
|
| 328 |
values=list(range(1, 6)),
|
| 329 |
),
|
|
|
|
| 263 |
settings = rg.Settings(
|
| 264 |
fields=[
|
| 265 |
rg.ChatField(
|
| 266 |
+
name="messages",
|
| 267 |
+
description="The messages in the conversation",
|
| 268 |
+
title="Messages",
|
| 269 |
),
|
| 270 |
],
|
| 271 |
questions=[
|
| 272 |
rg.RatingQuestion(
|
| 273 |
name="rating",
|
| 274 |
+
title="Rating",
|
| 275 |
description="The rating of the conversation",
|
| 276 |
values=list(range(1, 6)),
|
| 277 |
),
|
|
|
|
| 312 |
fields=[
|
| 313 |
rg.TextField(
|
| 314 |
name="system_prompt",
|
| 315 |
+
title="System Prompt",
|
| 316 |
description="The system prompt used for the conversation",
|
| 317 |
required=False,
|
| 318 |
),
|
| 319 |
rg.TextField(
|
| 320 |
name="prompt",
|
| 321 |
+
title="Prompt",
|
| 322 |
description="The prompt used for the conversation",
|
| 323 |
),
|
| 324 |
rg.TextField(
|
| 325 |
name="completion",
|
| 326 |
+
title="Completion",
|
| 327 |
description="The completion from the assistant",
|
| 328 |
),
|
| 329 |
],
|
| 330 |
questions=[
|
| 331 |
rg.RatingQuestion(
|
| 332 |
name="rating",
|
| 333 |
+
title="Rating",
|
| 334 |
description="The rating of the conversation",
|
| 335 |
values=list(range(1, 6)),
|
| 336 |
),
|