mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
fix
This commit is contained in:
parent
fb07642549
commit
7801d9cdf2
2 changed files with 6 additions and 5 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue