From bb86aaf7875e6011b6e9812f91a43f42aaf434f4 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Wed, 12 Mar 2025 00:19:48 -0700 Subject: [PATCH] update --- docs/_static/llama-stack-spec.html | 6 +++--- docs/_static/llama-stack-spec.yaml | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/_static/llama-stack-spec.html b/docs/_static/llama-stack-spec.html index 7e12b157f..575abb51c 100644 --- a/docs/_static/llama-stack-spec.html +++ b/docs/_static/llama-stack-spec.html @@ -9510,9 +9510,9 @@ ], "description": "The schema format of the dataset. One of - messages: The dataset contains a messages column with list of messages for post-training." }, - "data_reference": { - "$ref": "#/components/schemas/DataReference", - "description": "The data reference of the dataset. Examples: - { \"type\": \"uri\", \"uri\": \"https://mywebsite.com/mydata.jsonl\" } - { \"type\": \"uri\", \"uri\": \"lsfs://mydata.jsonl\" } - { \"type\": \"huggingface\", \"dataset_path\": \"tatsu-lab/alpaca\", \"params\": { \"split\": \"train\" } } - { \"type\": \"rows\", \"rows\": [ { \"messages\": [ {\"role\": \"user\", \"content\": \"Hello, world!\"}, {\"role\": \"assistant\", \"content\": \"Hello, world!\"}, ] } ] }" + "data_source": { + "$ref": "#/components/schemas/DataSource", + "description": "The data source of the dataset. Examples: - { \"type\": \"uri\", \"uri\": \"https://mywebsite.com/mydata.jsonl\" } - { \"type\": \"uri\", \"uri\": \"lsfs://mydata.jsonl\" } - { \"type\": \"huggingface\", \"dataset_path\": \"tatsu-lab/alpaca\", \"params\": { \"split\": \"train\" } } - { \"type\": \"rows\", \"rows\": [ { \"messages\": [ {\"role\": \"user\", \"content\": \"Hello, world!\"}, {\"role\": \"assistant\", \"content\": \"Hello, world!\"}, ] } ] }" }, "metadata": { "type": "object", diff --git a/docs/_static/llama-stack-spec.yaml b/docs/_static/llama-stack-spec.yaml index 01637f59c..3936a0726 100644 --- a/docs/_static/llama-stack-spec.yaml +++ b/docs/_static/llama-stack-spec.yaml @@ -6479,12 +6479,12 @@ components: data_source: $ref: '#/components/schemas/DataSource' description: >- - The data reference of the dataset. Examples: - { "type": "uri", "uri": - "https://mywebsite.com/mydata.jsonl" } - { "type": "uri", "uri": "lsfs://mydata.jsonl" - } - { "type": "huggingface", "dataset_path": "tatsu-lab/alpaca", "params": - { "split": "train" } } - { "type": "rows", "rows": [ { "messages": [ {"role": - "user", "content": "Hello, world!"}, {"role": "assistant", "content": - "Hello, world!"}, ] } ] } + The data source of the dataset. Examples: - { "type": "uri", "uri": "https://mywebsite.com/mydata.jsonl" + } - { "type": "uri", "uri": "lsfs://mydata.jsonl" } - { "type": "huggingface", + "dataset_path": "tatsu-lab/alpaca", "params": { "split": "train" } } - + { "type": "rows", "rows": [ { "messages": [ {"role": "user", "content": + "Hello, world!"}, {"role": "assistant", "content": "Hello, world!"}, ] + } ] } metadata: type: object additionalProperties: