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

@ -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",