Views
No views yet
_split_generators method)VERSION = datasets.Version("1.1.0")
def _info(self):
features = datasets.Features(
{
"better_choice": datasets.Value("string"),
"worst_choice": datasets.Value("string"),
"comparison": datasets.Value("string"),
"label": datasets.Value("int32"),
})
return datasets.DatasetInfo(
# This is the description that will appear on the datasets page.
description=_DESCRIPTION,
# This defines the different columns of the dataset and their types
features=features, # Here we define them above because they are different between the two configurations
# If there's a common (input, target) tuple from the features,
# specify them here. They'll be used if as_supervised=True in
# builder.as_dataset.
supervised_keys=None,
# Homepage of the dataset for documentation
homepage=_HOMEPAGE,
# License for the dataset if available
license=_LICENSE,
# Citation for the dataset
citation=_CITATION,
)
def _split_generators(self, dl_manager):