German Sentiment Analysis

This model predicts sentiment for German text.

Usage

First set up the model:

# if necessary:
# !pip install transformers
from transformers import pipeline

sentiment_model = pipeline(model="aari1995/German_Sentiment")

to use it:

sentence = ["Ich liebe die Bahn. Pünktlich wie immer ... -.-","Krasser Service"]
result = sentiment_model(sentence)
print(result)
#Output:
#[{'label': 'negative', 'score': 0.4935680031776428},{'label': 'positive', 'score': 0.5790663957595825}]

Credits / Special Thanks:

This model was fine-tuned by Aaron Chibb. It is trained on twitter dataset by tygiangz and based on gBERT-large by deepset.

Downloads last month
836
Safetensors
Model size
336M params
Tensor type
I64
·
F32
·
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Collection including aari1995/German_Sentiment