Datasets:
Tasks:
Text Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
multi-class-classification
Languages:
English
Size:
100K - 1M
Tags:
emotion-classification
License:
Update data files
#4
by
albertvillanova
HF staff
- opened
Update data files.
The authors have provided a new source data file, with more examples and no split.
We update the dataset loading script with 2 possible configurations:
- split: with the original dataset containing a total of 20_000 examples, split into train (16_000 examples), validation (2_000 examples) and test (2_000 examples)
- unsplit: with the new data files without split and containing 416_809 examples
Close #3.
albertvillanova
changed pull request status to
open
albertvillanova
changed pull request status to
merged
@albertvillanova Great new! But how am I supposed to load the data now? Neither load_data("emotion") nor load_data("SetFit/emotion") works anymore! :D
- After this fix, "emotion" should work. Maybe you have to force the redownload to update your cache:
load_dataset("emotion", download_mode="force_redownload")
- In relation with "SetFit/emotion", we haven't made any change on that. It should work as it used to work since 9 months ago (date of the last modification to that dataset).
Thank you for you reply! That was a weird bug on my side! After reinstalling the dataset package it is now working flawless!
Yes, if you have a quite old version of datasets
, you need to update it:
pip install -U datasets