abullard1/germeval-2025-harmful-content-detection-training-dataset
Viewer • Updated • 22.1k • 35
How to use abullard1/germeval2025-c2a-moderngbert-cw with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="abullard1/germeval2025-c2a-moderngbert-cw") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("abullard1/germeval2025-c2a-moderngbert-cw")
model = AutoModelForSequenceClassification.from_pretrained("abullard1/germeval2025-c2a-moderngbert-cw", device_map="auto")
abullardUR@GermEval Shared Task 2025 Submission
This model is a fine-tuned version of LSX-UniWue/ModernGBERT_134M, specifically designed for Call to Action (C2A) Detection in German social media content. It was developed as part of the GermEval 2025 Shared Task on Harmful Content Detection.
False (no call to action), True (call to action detected)from transformers import AutoProcessor, AutoModelForSequenceClassification
# Load model and processor
model_id = "abullard1/germeval2025-c2a-moderngbert-cw"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForSequenceClassification.from_pretrained(model_id, trust_remote_code=True).eval()
# Run inference
text = "Kommt alle zur Demo am Samstag!"
inputs = processor(text, return_tensors="pt", truncation=True)
probs = model(**inputs).logits.softmax(-1).detach().cpu().numpy()
print(f"Predictions: {probs}")
@inproceedings{bullard2025germeval,
title = {abullardUR@GermEval Shared Task 2025: Fine-tuning ModernGBERT on Highly Imbalanced German Social Media for Harmful Content Detection},
author = {Bullard, Samuel},
year = {2025},
booktitle = {Proceedings of KONVENS 2025 Workshops}
}
This model inherits the Research-only RAIL-M license from ModernGBERT. See license details.
Base model
LSX-UniWue/ModernGBERT_134M