ViralLab / TurkishBERTweet

TurkishBERTweet: Fast and Reliable Large Language Model for Social Media Analysis
MIT License
29 stars 1 forks source link

Getting probability of sentiment categories #1

Open sadettindemirel opened 1 month ago

sadettindemirel commented 1 month ago

Hi, Could you please add probability of sentiment categories or show how to get the probability scores of the categories. e.g. {'label': 'positive', 'probability': {'negative': 0.004584966693073511, 'neutral': 0.19360853731632233, 'positive': 0.8018065094947815}}

axen1 commented 2 weeks ago

File "c:/Users/bahad/OneDrive/Masaüstü/TurkishBERTweet-main/Preprocessor/preprocessor.py", line 5, in from urlextract import URLExtract ModuleNotFoundError: No module named 'urlextract'