Upload README.md
Browse files
README.md
CHANGED
@@ -24,9 +24,9 @@ This model was trained on \~10k manually annotated political interpellations (
|
|
24 |
|
25 |
**ParlBERT-Topic** was fine-tuned on a domain adapted model for topic modeling with interpellations dataset from the Comparative Agendas Project (mlm\_probability=.15). We used the HuggingFace trainer with the following hyperparameters.
|
26 |
|
27 |
-
🤖 **
|
28 |
|
29 |
-
```
|
30 |
from transformers import pipeline
|
31 |
|
32 |
pipeline_classification_topics = pipeline("text-classification", model="chkla/parlbert-topics-german", tokenizer="bert-base-german-cased", return_all_scores=False, device=0)
|
@@ -70,7 +70,7 @@ The model was evaluated on an evaluation set (20%):
|
|
70 |
|
71 |
The model can only be a starting point to dive into the exciting field of policy topic classification in political texts. But be aware. Models are often highly topic dependent. Therefore, the model may perform less well on different topics and text types not included in the training set.
|
72 |
|
73 |
-
👥 **
|
74 |
```
|
75 |
@article{klamm2022frameast,
|
76 |
title={FrameASt: A Framework for Second-level Agenda Setting in Parliamentary Debates through the Lense of Comparative Agenda Topics},
|
|
|
24 |
|
25 |
**ParlBERT-Topic** was fine-tuned on a domain adapted model for topic modeling with interpellations dataset from the Comparative Agendas Project (mlm\_probability=.15). We used the HuggingFace trainer with the following hyperparameters.
|
26 |
|
27 |
+
🤖 **Use**
|
28 |
|
29 |
+
```python
|
30 |
from transformers import pipeline
|
31 |
|
32 |
pipeline_classification_topics = pipeline("text-classification", model="chkla/parlbert-topics-german", tokenizer="bert-base-german-cased", return_all_scores=False, device=0)
|
|
|
70 |
|
71 |
The model can only be a starting point to dive into the exciting field of policy topic classification in political texts. But be aware. Models are often highly topic dependent. Therefore, the model may perform less well on different topics and text types not included in the training set.
|
72 |
|
73 |
+
👥 **Cite**
|
74 |
```
|
75 |
@article{klamm2022frameast,
|
76 |
title={FrameASt: A Framework for Second-level Agenda Setting in Parliamentary Debates through the Lense of Comparative Agenda Topics},
|