Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:

Use Sequence for labels features

#1
by laiking - opened

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.
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment