Confusion regarding the label of the test dataset

#4
by abdullahalzubaer - opened

Hi,

I was looking into this dataset and I saw that the test data has label "-1". But according to the dataset description, "label: Sentiment of the opinion, either "negative" (0) or positive (1)."

I feel I am missing something that is obvious... I also checked all the label for the test data, and it seems for all of them the label is -1.

from datasets import load_dataset
dataset = load_dataset("sst2")
dataset['test'][4]

Output:
{'idx': 4,
'sentence': 'lathan and diggs have considerable personal charm , and their screen rapport makes the old story seem new .',
'label': -1}

Thank you in advance!

Thank you for the reply and the pointer! I understood now.

abdullahalzubaer changed discussion status to closed

We now show a specific message (no label):

Capture d’écran 2023-05-17 à 15.55.40.png

Sign up or log in to comment