Datasets: [Feature] Keep the list of labels of a dataset as metadata

Created on 15 Apr 2020  路  6Comments  路  Source: huggingface/datasets

It would be useful to keep the list of the labels of a dataset as metadata. Either directly in the DatasetInfo or in the Arrow metadata.

Most helpful comment

Yes we are working on the doc right now, should be in the next release quite soon.

All 6 comments

Yes! I see mostly two options for this:

I would have a preference for the second bullet point.

This should be accessible now as a feature in dataset.info.features (and even have the mapping methods).

Perfect! Well done!!

Hi,
I hope we could get a better documentation.
It took me more than 1 hour to found this way to get the label information.

Yes we are working on the doc right now, should be in the next release quite soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

donggyukimc picture donggyukimc  路  5Comments

HanGuo97 picture HanGuo97  路  4Comments

astariul picture astariul  路  3Comments

astariul picture astariul  路  6Comments

ratthachat picture ratthachat  路  6Comments