Text Classification
Transformers
Safetensors
German
eurobert
populism
political-speech
classification
german
Bundestag
NLP
custom_code
Instructions to use przvl/PopEuroBERT-binary-210m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use przvl/PopEuroBERT-binary-210m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="przvl/PopEuroBERT-binary-210m", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("przvl/PopEuroBERT-binary-210m", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("przvl/PopEuroBERT-binary-210m", trust_remote_code=True) - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -33,11 +33,11 @@ base_model:
|
|
| 33 |
|
| 34 |
## Overview
|
| 35 |
|
| 36 |
-
This model is a fine-tuned version of [EuroBERT-210m](https://huggingface.co/EuroBERT/EuroBERT-210m) on the [PopBERT](https://huggingface.co/luerhard/PopBERT) dataset (German Bundestag speeches) for **populist rhetoric classification**. It predicts whether a given speech excerpt contains populist language.
|
| 37 |
|
| 38 |
**Key Features:**
|
| 39 |
|
| 40 |
-
- Trained on **German Bundestag speeches** annotated for populism.
|
| 41 |
- Fine-tuned using **5-fold cross-validation**.
|
| 42 |
- Optimized with **decision threshold tuning**.
|
| 43 |
|
|
|
|
| 33 |
|
| 34 |
## Overview
|
| 35 |
|
| 36 |
+
This model is a fine-tuned version of [EuroBERT-210m](https://huggingface.co/EuroBERT/EuroBERT-210m) on the [PopBERT](https://huggingface.co/luerhard/PopBERT) dataset (sentence-level annotated German Bundestag speeches) for **populist rhetoric classification**. It predicts whether a given speech excerpt contains populist language.
|
| 37 |
|
| 38 |
**Key Features:**
|
| 39 |
|
| 40 |
+
- Trained on **German Bundestag speeches** sentence-level annotated for populism.
|
| 41 |
- Fine-tuned using **5-fold cross-validation**.
|
| 42 |
- Optimized with **decision threshold tuning**.
|
| 43 |
|