mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-17 23:17:17 +00:00
mmlu loose
This commit is contained in:
parent
6ee02ca23b
commit
edeb6dcf04
4 changed files with 46 additions and 59 deletions
|
@ -5,17 +5,17 @@
|
|||
# the root directory of this source tree.
|
||||
|
||||
from llama_models.llama3.api.datatypes import URL
|
||||
from llama_stack.apis.common.type_system import CompletionInputType, StringType
|
||||
from llama_stack.apis.common.type_system import ChatCompletionInputType, StringType
|
||||
from llama_stack.apis.datasetio import DatasetDef
|
||||
|
||||
|
||||
llamastack_mmlu = DatasetDef(
|
||||
identifier="llamastack_mmlu",
|
||||
llamastack_mmlu_loose = DatasetDef(
|
||||
identifier="llamastack_mmlu_loose",
|
||||
url=URL(uri="https://huggingface.co/datasets/yanxi0830/ls-mmlu"),
|
||||
dataset_schema={
|
||||
"expected_answer": StringType(),
|
||||
"input_query": StringType(),
|
||||
"chat_completion_input": CompletionInputType(),
|
||||
"expected_answer": StringType(),
|
||||
"chat_completion_input": ChatCompletionInputType(),
|
||||
},
|
||||
metadata={"path": "yanxi0830/ls-mmlu", "split": "train"},
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue