update doc

This commit is contained in:
Xi Yan 2025-03-12 23:32:54 -07:00
parent b4d118fc5c
commit 0df33049e3
3 changed files with 3 additions and 20 deletions

View file

@ -9444,7 +9444,7 @@
"post-training/messages",
"eval/messages-answer"
],
"description": "The purpose of the dataset. One of - \"post-training/messages\": The dataset contains a messages column with list of messages for post-training. - Example data rows: { \"messages\": [ {\"role\": \"user\", \"content\": \"Hello, world!\"}, {\"role\": \"assistant\", \"content\": \"Hello, world!\"}, ] } - \"eval/messages-answer\": The dataset contains a messages column with list of messages and an answer column. - Example data rows: { \"messages\": [ {\"role\": \"user\", \"content\": \"What is the capital of France?\"}, ], \"answer\": \"Paris\" }"
"description": "The purpose of the dataset. One of - \"post-training/messages\": The dataset contains a messages column with list of messages for post-training. - \"eval/messages-answer\": The dataset contains a messages column with list of messages and an answer column."
},
"source": {
"$ref": "#/components/schemas/DataSource",

View file

@ -6398,11 +6398,8 @@ components:
description: >-
The purpose of the dataset. One of - "post-training/messages": The dataset
contains a messages column with list of messages for post-training. -
Example data rows: { "messages": [ {"role": "user", "content": "Hello,
world!"}, {"role": "assistant", "content": "Hello, world!"}, ] } - "eval/messages-answer":
The dataset contains a messages column with list of messages and an answer
column. - Example data rows: { "messages": [ {"role": "user", "content":
"What is the capital of France?"}, ], "answer": "Paris" }
"eval/messages-answer": The dataset contains a messages column with list
of messages and an answer column.
source:
$ref: '#/components/schemas/DataSource'
description: >-

View file

@ -153,21 +153,7 @@ class Datasets(Protocol):
:param purpose: The purpose of the dataset. One of
- "post-training/messages": The dataset contains a messages column with list of messages for post-training.
- Example data rows:
{
"messages": [
{"role": "user", "content": "Hello, world!"},
{"role": "assistant", "content": "Hello, world!"},
]
}
- "eval/messages-answer": The dataset contains a messages column with list of messages and an answer column.
- Example data rows:
{
"messages": [
{"role": "user", "content": "What is the capital of France?"},
],
"answer": "Paris"
}
:param source: The data source of the dataset. Examples:
- {
"type": "uri",