Downloads · 30 days
11
14% of all-time downloads
miriamex/IP-BERT
IP-BERT is a text classification model from miriamex. Use it when you need a label for a piece of text. The card lists the license as cc-by-4.0.
IP-BERT is a transformer-based model designed to detect economic inequality in German texts. It was fine-tuned on German Bundestag debates (sourced from OpenDiscourse), where each training instance consists of 3-sente…
Downloads · 30 days
11
14% of all-time downloads
All-time downloads
78
Public
Parameters
110M
440 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors440 MB · 100%
From the Hugging Face model README
IP-BERT is a transformer-based model designed to detect economic inequality in German texts.
It was fine-tuned on German Bundestag debates (sourced from OpenDiscourse), where each training instance consists of 3-sentence segments.
bert-base-german-cased (from dbmdz)0 = no economic inequality1 = economic inequalityYou can load the model with the Hugging Face transformers library:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("miriamex/IP-BERT")
model = AutoModelForSequenceClassification.from_pretrained("miriamex/IP-BERT")
inputs = tokenizer("Hier ein Beispieltext über ökonomische Ungleichheit.", return_tensors="pt")
outputs = model(**inputs)