Downloads · 30 days
9
23% of all-time downloads
abhishes/modernbert-bug-severity
modernbert-bug-severity is a text classification model from abhishes. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fully fine-tuned version of answerdotai/ModernBERT-base for classifying short bug descriptions into six severity levels:
Downloads · 30 days
9
23% of all-time downloads
All-time downloads
39
Public
Parameters
150M
598 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors598 MB · 99%
From the Hugging Face model README
This model is a fully fine-tuned version of
answerdotai/ModernBERT-base for classifying short bug descriptions
into six severity levels:
This model is an educational demonstration of automated bug-severity classification.
It should not be used as the sole authority for production severity decisions. High-impact predictions should be reviewed by a human.
The model was trained using:
AliArshad/Bugzilla_Eclipse_Bug_Reports_Dataset
Only the Short Description field was used as the model input. The
Severity Label field was used as the target label.
answerdotai/ModernBERT-base
This model was trained using full fine-tuning. It is not a LoRA or adapter-only model.
Training included:
Performance should also be examined separately for each severity using the classification report and confusion matrix.
The ModernBERT base model uses the Apache 2.0 license. The training dataset's Hugging Face page does not currently declare a dataset license. Confirm the applicable dataset and source-data terms before making this fine-tuned model public.
Install the required library:
pip install transformers torch
Run inference:
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="abhishes/modernbert-bug-severity",
revision="v1.0.0"
)
bug_reports = [
"Application crashes immediately and all data is lost.",
"There is a spelling mistake in the documentation."
]
results = classifier(bug_reports)
print(results)