Downloads · 30 days
5K
6% of all-time downloads
marma/bert-base-swedish-cased-sentiment
bert-base-swedish-cased-sentiment is a text classification model from marma. Use it when you need a label for a piece of text. It is set up for transformers.
Experimental sentiment analysis based on ~20k of App Store reviews in Swedish.
Downloads · 30 days
5K
6% of all-time downloads
All-time downloads
88.2K
Public
Repo size
1.5 GB
Likes
1
Public
Click a slice to open those files.
.bin499 MB · 50%
From the Hugging Face model README
Experimental sentiment analysis based on ~20k of App Store reviews in Swedish.
from transformers import pipeline
>>> sa = pipeline('sentiment-analysis', model='marma/bert-base-swedish-cased-sentiment')
>>> sa('Det här är ju fantastiskt!')
[{'label': 'POSITIVE', 'score': 0.9974609613418579}]
>>> sa('Den här appen suger!')
[{'label': 'NEGATIVE', 'score': 0.998340368270874}]
>>> sa('Det är fruktansvärt.')
[{'label': 'NEGATIVE', 'score': 0.998340368270874}]
>>> sa('Det är fruktansvärt bra.')
[{'label': 'POSITIVE', 'score': 0.998340368270874}]