Instructions to use nicoberk/GermanNewsMigration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nicoberk/GermanNewsMigration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nicoberk/GermanNewsMigration")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nicoberk/GermanNewsMigration") model = AutoModelForSequenceClassification.from_pretrained("nicoberk/GermanNewsMigration") - Notebooks
- Google Colab
- Kaggle
BERT model to detect migration coverage in German news.
Training procedure and performance described in Berk, Nicolai. 2024. The Impact of Media Framing in Complex Information Environments. Political Communication. Please cite the paper when using the classifier.
- Downloads last month
- 2
Model tree for nicoberk/GermanNewsMigration
Base model
google-bert/bert-base-multilingual-cased