Update README.md
Browse files
README.md
CHANGED
|
@@ -7,13 +7,11 @@ base_model:
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
---
|
| 9 |
|
| 10 |
-
#
|
| 11 |
|
| 12 |
-
**
|
| 13 |
It was fine-tuned on **German Bundestag debates** (sourced from [OpenDiscourse](https://doi.org/10.7910/DVN/FIKIBO)), where each training instance consists of 3-sentence segments.
|
| 14 |
|
| 15 |
-
This model was developed as part of a research project and is described in more detail in our paper: [Paper on SI-BERT (forthcoming)](https://example.com/si-bert-paper).
|
| 16 |
-
|
| 17 |
---
|
| 18 |
|
| 19 |
## Model Description
|
|
@@ -52,10 +50,9 @@ You can load the model with the Hugging Face `transformers` library:
|
|
| 52 |
```python
|
| 53 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 54 |
|
| 55 |
-
tokenizer = AutoTokenizer.from_pretrained("miriamex/
|
| 56 |
-
model = AutoModelForSequenceClassification.from_pretrained("miriamex/
|
| 57 |
|
| 58 |
inputs = tokenizer("Hier ein Beispieltext über soziale Ungleichheit.", return_tensors="pt")
|
| 59 |
outputs = model(**inputs)
|
| 60 |
-
```
|
| 61 |
-
|
|
|
|
| 7 |
pipeline_tag: text-classification
|
| 8 |
---
|
| 9 |
|
| 10 |
+
# SIP-BERT
|
| 11 |
|
| 12 |
+
**SIP-BERT** is a transformer-based model designed to detect **social inequality** in German texts.
|
| 13 |
It was fine-tuned on **German Bundestag debates** (sourced from [OpenDiscourse](https://doi.org/10.7910/DVN/FIKIBO)), where each training instance consists of 3-sentence segments.
|
| 14 |
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
## Model Description
|
|
|
|
| 50 |
```python
|
| 51 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
| 52 |
|
| 53 |
+
tokenizer = AutoTokenizer.from_pretrained("miriamex/SIP-BERT")
|
| 54 |
+
model = AutoModelForSequenceClassification.from_pretrained("miriamex/SIP-BERT")
|
| 55 |
|
| 56 |
inputs = tokenizer("Hier ein Beispieltext über soziale Ungleichheit.", return_tensors="pt")
|
| 57 |
outputs = model(**inputs)
|
| 58 |
+
```
|
|
|