mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-31 07:20:00 +00:00
rebase onto new dataset schema
This commit is contained in:
parent
dd75008a44
commit
a550f17128
2 changed files with 9 additions and 19 deletions
|
|
@ -206,15 +206,10 @@ def get_distribution_template() -> DistributionTemplate:
|
|||
DatasetInput(
|
||||
dataset_id="docvqa",
|
||||
provider_id="huggingface",
|
||||
url=URL(uri="https://huggingface.co/datasets/llamastack/docvqa"),
|
||||
metadata={
|
||||
"path": "llamastack/docvqa",
|
||||
"split": "val",
|
||||
},
|
||||
dataset_schema={
|
||||
"chat_completion_input": {"type": "string"},
|
||||
"expected_answer": {"type": "string"},
|
||||
},
|
||||
purpose=DatasetPurpose.eval_messages_answer,
|
||||
source=URIDataSource(
|
||||
uri="huggingface://datasets/llamastack/docvqa?split=val",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue