license:apache-2.0 region:us
"""
_HOMEPAGE = ""
_LICENSE = "Creative Commons Attribution-NonCommercial 4.0 International Public License"

# The HuggingFace dataset library don't host the datasets but only point to the original files
# This can be an arbitrary nested dict/list of URLs (see below in `_split_generators` method)
_URLs = {"default": "https://www.dropbox.com/s/041prrjylv0tf0h/ethics.zip?dl=1"}


class Imppres(datasets.GeneratorBasedBuilder):

    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):
---
license: apache-2.0
---
