# Danish BERT fine-tuned for Sentiment Analysis (Polarity)
This model detects polarity ('positive', 'neutral', 'negative') of danish texts.

It is trained and tested on Tweets annotated by [Alexandra Institute](https://github.com/alexandrainst).

Here is an example on how to load the model in PyTorch using the [🤗Transformers](https://github.com/huggingface/transformers) library:

```python
from transformers import AutoTokenizer, AutoModelForSequenceClassification, pipeline
tokenizer = AutoTokenizer.from_pretrained("larskjeldgaard/senda")
model = AutoModelForSequenceClassification.from_pretrained("larskjeldgaard/senda")

# create 'senda' sentiment analysis pipeline 
senda_pipeline = pipeline('sentiment-analysis', model=model, tokenizer=tokenizer)

senda_pipeline("Sikke en dejlig dag det er i dag")
```

{"language": "da", "license": "cc-by-4.0", "tags": ["danish", "bert", "sentiment", "polarity"], "widget": [{"text": "Sikke en dejlig dag det er i dag"}]}
transformers pytorch jax bert text-classification danish sentiment polarity da license:cc-by-4.0 autotrain_compatible endpoints_compatible region:us
TAGS
#transformers #pytorch #jax #bert #text-classification #danish #sentiment #polarity #da #license-cc-by-4.0 #autotrain_compatible #endpoints_compatible #region-us 

# Danish BERT fine-tuned for Sentiment Analysis (Polarity)
This model detects polarity ('positive', 'neutral', 'negative') of danish texts.

It is trained and tested on Tweets annotated by Alexandra Institute.

Here is an example on how to load the model in PyTorch using the Transformers library:



# Danish BERT fine-tuned for Sentiment Analysis (Polarity)
This model detects polarity ('positive', 'neutral', 'negative') of danish texts.

It is trained and tested on Tweets annotated by Alexandra Institute.

Here is an example on how to load the model in PyTorch using the Transformers library:
TAGS
#transformers #pytorch #jax #bert #text-classification #danish #sentiment #polarity #da #license-cc-by-4.0 #autotrain_compatible #endpoints_compatible #region-us 
 # Danish BERT fine-tuned for Sentiment Analysis (Polarity)
This model detects polarity ('positive', 'neutral', 'negative') of danish texts.

It is trained and tested on Tweets annotated by Alexandra Institute.

Here is an example on how to load the model in PyTorch using the Transformers library:
passage: TAGS
#transformers #pytorch #jax #bert #text-classification #danish #sentiment #polarity #da #license-cc-by-4.0 #autotrain_compatible #endpoints_compatible #region-us 
# Danish BERT fine-tuned for Sentiment Analysis (Polarity)
This model detects polarity ('positive', 'neutral', 'negative') of danish texts.

It is trained and tested on Tweets annotated by Alexandra Institute.

Here is an example on how to load the model in PyTorch using the Transformers library: