Instructions to use nicoberk/GermanNewsCrime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nicoberk/GermanNewsCrime with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nicoberk/GermanNewsCrime")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nicoberk/GermanNewsCrime") model = AutoModelForSequenceClassification.from_pretrained("nicoberk/GermanNewsCrime") - Notebooks
- Google Colab
- Kaggle
BERT model to detect crime coverage in German migration news. Might or might not work to detect crime coverage in general 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
- 1
Model tree for nicoberk/GermanNewsCrime
Base model
google-bert/bert-base-multilingual-cased