Downloads · 30 days
13
12% of all-time downloads
TrustHLT/ModernBERT-large-madon-arg-detection
ModernBERT-large-madon-arg-detection is a text classification model from TrustHLT. Use it when you need a label for a piece of text. It is set up for transformers.
This model is a fine-tuned version of ModernBERT-large for Czech legal argument detection. It was introduced in the paper Mining Legal Arguments to Study Judicial Formalism.
Downloads · 30 days
13
12% of all-time downloads
All-time downloads
108
Public
Parameters
396M
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 99%
From the Hugging Face model README
This model is a fine-tuned version of ModernBERT-large for Czech legal argument detection. It was introduced in the paper Mining Legal Arguments to Study Judicial Formalism.
The model is part of the MADON project, which focuses on detecting and classifying judicial reasoning in Czech court decisions. This specific model corresponds to Task 1 in the paper: detecting whether a paragraph in a legal decision is argumentative or non-argumentative.
The model was adapted to the Czech legal domain through continued pretraining on a corpus of over 300,000 court decisions and fine-tuned on the MADON dataset. In the paper's evaluation, this model achieved a Balanced F1 score of 82.6% for argument detection.
You can use this model for presence classification of Czech legal arguments using the transformers library:
from transformers import AutoModelForSequenceClassification, AutoTokenizer, pipeline
model = AutoModelForSequenceClassification.from_pretrained("TrustHLT/ModernBERT-large-madon-arg-detection")
tokenizer = AutoTokenizer.from_pretrained("TrustHLT/ModernBERT-large-madon-arg-detection")
pipe = pipeline("text-classification", model=model, tokenizer=tokenizer)
text = "This is a legal paragraph" # Replace with Czech legal text
print(pipe(text))
If you find this model useful, please cite:
@article{madon2025,
title={Mining Legal Arguments to Study Judicial Formalism},
author={Anonymous},
journal={arXiv preprint arXiv:2512.11374},
year={2025}
}