Downloads · 30 days
5
4% of all-time downloads
abullard1/germeval2025-vio-moderngbert-cw
germeval2025-vio-moderngbert-cw is a text classification model from abullard1. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as openrail.
<br <br <div style="text-align: center;" <img src="https://i.ibb.co/RkR4QLpL/Shared-Task-Logo-Final-11zon.png" style="max-width: 30%; display: block; margin: 0 auto;" </div
Downloads · 30 days
5
4% of all-time downloads
All-time downloads
117
Public
Parameters
135M
539 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors539 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of LSX-UniWue/ModernGBERT_134M, specifically designed for Violence Detection (VIO) in German social media content. It was developed as part of the GermEval 2025 Shared Task on Harmful Content Detection.
False (no violence), True (violence-related content detected)from transformers import AutoProcessor, AutoModelForSequenceClassification
# Load model and processor
model_id = "abullard1/germeval2025-vio-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 = "Diese Situation macht mich wütend!"
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.