Skip to content

Add info attribute to datasets #239

@mariosasko

Description

@mariosasko

As discussed via Slack, it's a good idea to add some metadata to our datasets. This idea is partially inspired by HF datasets.

To do so, we will define a new DatasetInfo dataclass like this:

@dataclass
class DatasetInfo:
    """..."""
    citation: str
    description: str
    homepage: Optional[str] = None

Each dataset will have a new class-level info (or metadata) attribute to store this data. In DatasetABC, this attribute will be set to None.

Feel free to comment (e.g. if you think we should include some other metadata).
cc @mttk @ivansmokovic @FilipBolt

Metadata

Metadata

Assignees

Labels

datasetIssues or pull requests related to datasetsfeatureNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions