Trying to understand the output of bert-base-uncased for sentiment classification task

#14
by naina79000tyagi - opened

I am trying to implement bert-base-uncased for my sentiment classification task. Following are the 2 lines of code I wrote to do the same:
bert_base = pipeline('sentiment-analysis', model="bert-base-uncased")
bert_base("I am happy")

This is the output I received:

[{'label': 'LABEL_0', 'score': 0.5048592686653137}]

However, I am trying to understand what does the label key represents? Does it mean a positive or a negative sentiment ?

Sign up or log in to comment