chkla / parlbert-german-v2

huggingface.co
Total runs: 83
24-hour runs: 0
7-day runs: 3
30-day runs: 72
Model's Last Updated: April 18 2023
fill-mask

Introduction of parlbert-german-v2

Model Details of parlbert-german-v2

⚠️ 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.

🚀 ParlBERT-v2 is a more general version of ParlBERT-v1 including texts from federal and state level in Germany. This first version was only trained on state level.

ParlBERT v2

This model is based on the German BERT (GBERT) architecture, specifically the "deepset/gbert-base" base model. It has been trained on over 30 million German political sentences from the "GerParCor" (Abrami et al. 2022) corpus for three epochs to provide a domain-adapted language model for German political texts. The German Political Texts Adapted GBERT model is designed for tasks related to German political texts. It can be used in a variety of applications.

📚 Datasset

"GerParCor is a genre-specific corpus of (predominantly historical) German-language parliamentary protocols from three centuries and four countries, including state and federal level data." (Abrami et al. 2022)

🤖 Model training

During the model training process, a masked language modeling approach was used with a token masking probability of 15%. The training was performed for three epochs, which means that the entire dataset was passed through the model three times during the training process.

👨‍💻 Model Use

from transformers import pipeline
model = pipeline('fill-mask', model='parlbert-german-v2')
model("Diese Themen gehören nicht ins [MASK].")

⚠️ Limitations

The German ParlBERT has limitations and potential biases. The GerParCor corpus only contains texts from the domain of politics, so the model may not perform well on texts from other domains. Additionally, the model may not be suitable for analyzing social media posts and many more. The model's training data is derived from contemporary German political texts, which may reflect certain biases or perspectives. For instance, the corpus includes texts from specific political parties or interest groups, which may lead to overrepresentation or underrepresentation of certain viewpoints. To address these limitations and potential biases, users are encouraged to evaluate the model's performance on their specific use case and carefully consider the training data's representativeness for their target text domain.

🐦 Twitter: @chklamm

Runs of chkla parlbert-german-v2 on huggingface.co

83
Total runs
0
24-hour runs
2
3-day runs
3
7-day runs
72
30-day runs

More Information About parlbert-german-v2 huggingface.co Model

parlbert-german-v2 huggingface.co

parlbert-german-v2 huggingface.co is an AI model on huggingface.co that provides parlbert-german-v2's model effect (), which can be used instantly with this chkla parlbert-german-v2 model. huggingface.co supports a free trial of the parlbert-german-v2 model, and also provides paid use of the parlbert-german-v2. Support call parlbert-german-v2 model through api, including Node.js, Python, http.

parlbert-german-v2 huggingface.co Url

https://huggingface.co/chkla/parlbert-german-v2

chkla parlbert-german-v2 online free

parlbert-german-v2 huggingface.co is an online trial and call api platform, which integrates parlbert-german-v2's modeling effects, including api services, and provides a free online trial of parlbert-german-v2, you can try parlbert-german-v2 online for free by clicking the link below.

chkla parlbert-german-v2 online free url in huggingface.co:

https://huggingface.co/chkla/parlbert-german-v2

parlbert-german-v2 install

parlbert-german-v2 is an open source model from GitHub that offers a free installation service, and any user can find parlbert-german-v2 on GitHub to install. At the same time, huggingface.co provides the effect of parlbert-german-v2 install, users can directly use parlbert-german-v2 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

parlbert-german-v2 install url in huggingface.co:

https://huggingface.co/chkla/parlbert-german-v2

Url of parlbert-german-v2

parlbert-german-v2 huggingface.co Url

Provider of parlbert-german-v2 huggingface.co

chkla
ORGANIZATIONS

Other API from chkla