Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:

Use Sequence for labels features

#1

Hi !
I noticed that the labels features were not wrapped in a datasets.Sequence object, but directly in a python list, is there a specific reason for that ? as I used the run_classification.py HuggingFace example script I ran into the error when testing : raw_datasets["train"].features["label"].dtype == "list" for multi label classification that's what made me notice this.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment