Instructions to use chkla/parlbert-german-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use chkla/parlbert-german-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="chkla/parlbert-german-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("chkla/parlbert-german-v2") model = AutoModelForMaskedLM.from_pretrained("chkla/parlbert-german-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,6 +5,9 @@ pipeline_tag: fill-mask
|
|
| 5 |
tags:
|
| 6 |
- parliamentary protocols
|
| 7 |
- political texts
|
|
|
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
⚠️ This version is only trained on around 5 million sentences (perplexity w/ adaption: 3.38 and w/o 13.38). The final version trained on around 30 million sentences will be available soon.
|
| 10 |
|
|
|
|
| 5 |
tags:
|
| 6 |
- parliamentary protocols
|
| 7 |
- political texts
|
| 8 |
+
widget:
|
| 9 |
+
- text: >-
|
| 10 |
+
Diese Themen gehören nicht ins [MASK].
|
| 11 |
---
|
| 12 |
⚠️ This version is only trained on around 5 million sentences (perplexity w/ adaption: 3.38 and w/o 13.38). The final version trained on around 30 million sentences will be available soon.
|
| 13 |
|