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.

See the DaNLP documentation for more details.

Here is how to use the model:

from transformers import BertTokenizer, BertForSequenceClassification

model = BertForSequenceClassification.from_pretrained("DaNLP/da-bert-tone-sentiment-polarity")
tokenizer = BertTokenizer.from_pretrained("DaNLP/da-bert-tone-sentiment-polarity")

Training data

The data used for training come from the Twitter Sentiment and EuroParl sentiment 2 datasets.

Downloads last month
2,101
Hosted inference API
Text Classification
Examples
Examples
This model can be loaded on the Inference API on-demand.