neuralmind-ai / portuguese-bert

Portuguese pre-trained BERT models
Other
792 stars 122 forks source link

Sentiment analysis classification: output #48

Open Malgorzatta opened 1 month ago

Malgorzatta commented 1 month ago

Hello, I'm trying to build product sentiment analysis regarding to review comments in Portuguese. I tried using library with sentiment analysis pipeline to classify comment review positive/neutral/negative but output I get is LABEL_0 or LABEL_1. How can I get results with classification with positive/neutral/negative output? I used AutoModelForTokenClassification and AutoModel.