Downloads · 30 days
1.3K
3% of all-time downloads
alexandrainst/da-sentiment-base
da-sentiment-base is a text classification model from alexandrainst. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Danish BERT Tone for sentiment polarity detection
Downloads · 30 days
1.3K
3% of all-time downloads
All-time downloads
37.8K
Public
Parameters
111M
1.3 GB on disk
Likes
4
Public
Click a slice to open those files.
.h5443 MB · 33%
How the weights are stored.
F32111M · 100%
From the Hugging Face model README
Danish BERT Tone for sentiment polarity detection
The BERT Tone model detects sentiment polarity (positive, neutral or negative) in Danish texts. It has been finetuned on the pretrained Danish BERT model by BotXO.
This model can be used for text classification
More information needed.
The model should not be used to intentionally create hostile or alienating environments for people.
Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)). Predictions generated by the model may include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
The data used for training come from the Twitter Sentiment and EuroParl sentiment 2 datasets.
It has been finetuned on the pretrained Danish BERT model by BotXO.
More information needed.
More information needed.
F1
More information needed.
More information needed.
Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
More information needed.
More information needed.
More information needed.
More information needed.
BibTeX:
More information needed.
APA:
More information needed.
More information needed.
More information needed.
DaNLP in collaboration with Ezi Ozoani and the Hugging Face team
More information needed.
Use the code below to get started with the model.
<details> <summary> Click to expand </summary>from transformers import BertTokenizer, BertForSequenceClassification
model = BertForSequenceClassification.from_pretrained("alexandrainst/da-sentiment-base")
tokenizer = BertTokenizer.from_pretrained("alexandrainst/da-sentiment-base")
</details>