Alice_2 / my_dataset.py
brathief's picture
Update my_dataset.py
6081deb
raw
history blame
782 Bytes
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/a",
citation=_CITATION,
)