File size: 781 Bytes
ab62ec6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
def _info(self):
return datasets.DatasetInfo(
description=_DESCRIPTION,
features=datasets.Features(
{
# "id": datasets.Value("string"),
# "title": datasets.Value("string"),
# "context": datasets.Value("string"),
# "question": datasets.Value("string"),
"train": datasets.features.Sequence(
{"image_path": datasets.Value("string"), "caption": datasets.Value("string"),}
),
}
),
# No default supervised_keys (as we have to pass both question
# and context as input).
supervised_keys=None,
homepage="https://huggingface.co/datasets/brathief/Alice_2/",
citation=_CITATION,
) |