Text Classification
Transformers
PyTorch
German
distilbert
fearspeech
classification
social science
communication
hatespeech
text-embeddings-inference
Instructions to use PatrickSchwabl/distilbert_fearspeech_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PatrickSchwabl/distilbert_fearspeech_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="PatrickSchwabl/distilbert_fearspeech_classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("PatrickSchwabl/distilbert_fearspeech_classifier") model = AutoModelForSequenceClassification.from_pretrained("PatrickSchwabl/distilbert_fearspeech_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.f41c613
-
Update README.md
Verified signature56f7096 -
Update README.md
Verified signature6066522 -
Update README.md
Verified signaturec7ae47a -
Update README.md
Verified signatureb9265ac -
Update README.md
Verified signature9e2e15f -
Update README.md
Verified signature4f5af5d -
Update README.md
Verified signaturedbe7e50 -
Update README.md
Verified signature597d8e5 -
Update README.md
Verified signaturee9b1bfd -
Create README.md
Verified signatureModel Details Model Name: distilbert_fearspeech_classifier Model Version: 1.0 Paper: "You are doomed!" Crisis-specific and Dynamic Use of Fear Speech in Protest and Extremist Radical Social Movements Authors: Simon Greipl, Julian Hohner, Heidi Schulze, Patrick Schwabl, Diana Rieger Institution: Ludwig-Maximilians-University of Munich, Germany Contact: simon.greipl@ifkw.lmu.de Date: 2024-04-26 Overview This model is a DistilBERT-based classifier trained to detect fear speech (FS) in German language Telegram posts. The classifier was developed to study the prevalence and dynamics of FS in the communication of radical and extremist actors on Telegram. Intended Use Primary Use Case: Detection and analysis of fear speech in social media posts, particularly those from radical and extremist groups. Primary Users: Researchers in social media analysis, hate speech detection, and radicalization studies. Languages: German Domains: Social media, Telegram, radical and extremist communic…8179fc0 -
Upload 6 files
Verified signature3b047b1
-
Upload 7 files
Verified signatured464339
-
initial commit
Patrick Schwabla589e56