This commit is contained in:
Xi Yan 2025-03-13 16:34:29 -07:00
parent fb07642549
commit 7801d9cdf2
2 changed files with 6 additions and 5 deletions

View file

@ -13,7 +13,8 @@ from llama_stack.apis.resource import Resource, ResourceType
from llama_stack.schema_utils import json_schema_type, register_schema, webmethod from llama_stack.schema_utils import json_schema_type, register_schema, webmethod
class DatasetPurpose(Enum): @json_schema_type
class DatasetPurpose(str, Enum):
""" """
Purpose of the dataset. Each purpose has a required input data schema. Purpose of the dataset. Each purpose has a required input data schema.

View file

@ -158,28 +158,28 @@ shields:
- shield_id: meta-llama/Llama-Guard-3-8B - shield_id: meta-llama/Llama-Guard-3-8B
vector_dbs: [] vector_dbs: []
datasets: datasets:
- purpose: &id001 eval/messages-answer - purpose: eval/messages-answer
source: source:
type: uri type: uri
uri: huggingface://llamastack/simpleqa?split=train uri: huggingface://llamastack/simpleqa?split=train
metadata: {} metadata: {}
dataset_id: simpleqa dataset_id: simpleqa
provider_id: huggingface provider_id: huggingface
- purpose: *id001 - purpose: eval/messages-answer
source: source:
type: uri type: uri
uri: huggingface://llamastack/mmlu_cot?split=test&name=all uri: huggingface://llamastack/mmlu_cot?split=test&name=all
metadata: {} metadata: {}
dataset_id: mmlu_cot dataset_id: mmlu_cot
provider_id: huggingface provider_id: huggingface
- purpose: *id001 - purpose: eval/messages-answer
source: source:
type: uri type: uri
uri: huggingface://llamastack/gpqa_0shot_cot?split=test&name=gpqa_main uri: huggingface://llamastack/gpqa_0shot_cot?split=test&name=gpqa_main
metadata: {} metadata: {}
dataset_id: gpqa_cot dataset_id: gpqa_cot
provider_id: huggingface provider_id: huggingface
- purpose: *id001 - purpose: eval/messages-answer
source: source:
type: uri type: uri
uri: huggingface://llamastack/math_500?split=test uri: huggingface://llamastack/math_500?split=test