Multi-task DistilBERT classifier that predicts
severity
(P0/P1/P2/P3) and
category
(networking, database, deploy, capacity, auth, other) for SRE incident postmortems. Non-generative baseline for the
SentinelOps
flagship project, benchmarked against a fine-tuned Mistral-7B generation model.
Intended use
Given an incident summary, returns
{severity, category}
predictions for routing, prioritization, or retrieval filtering inside the SentinelOps agent.
Not intended for
: standalone production incident triage, compliance decisions, or any use case where a miscategorization has safety or financial impact.
Training data
Corpus
: 2,000+ public postmortems scraped from
danluu/post-mortems
, Cloudflare blog, GitHub status (Atom feed), and AWS post-event summaries.
Labeled subset
: ~270 manually labeled for severity (4 classes) and category (6 classes). Remaining examples weakly labeled via regex + keyword rules.
Preprocessing
: HTML→text; MinHash dedup (threshold 0.85, 5-word shingles, 128 permutations); PII scrub (regex for emails/IPs/tokens + Presidio for names/phones).
This is a
small held-out set
— per-class F1 numbers have high variance and a single misclassification moves a 9-example class F1 by
0.1. Treat these numbers as directional indicators, not population estimates. The limit reflects the labeled-data budget (
270 manually labeled examples, standard 80/10/10 split) which is the realistic ceiling for a solo 5-week project.
Headline metrics
Head
Accuracy
Macro-F1
Weighted-F1
Severity
0.48
0.36
0.52
Category
0.30
0.36
0.24
Full per-class precision/recall/F1 is in
eval_report.json
. Confusion matrices:
assets/confusion_matrix_severity.png
,
assets/confusion_matrix_category.png
.
Limitations
Tiny test set (27)
— confidence intervals on per-class F1 are wide. Do not use these numbers to claim SOTA anything.
Class imbalance
— some classes (e.g.,
auth
) had fewer than 10 training examples; the model underperforms there.
Weak labels
— the majority of training data uses regex/keyword rules, so the model partially learns those rules rather than semantic features. Performance on incidents whose vocabulary doesn't match the rules is likely worse.
Domain drift
— trained on public postmortems from hyperscalers and open-source infra. Generalization to internal enterprise incidents without further fine-tuning is unverified.
English only
— all training data is English.
Bias considerations
Overrepresentation of hyperscaler incidents (AWS, GitHub, Cloudflare) vs. small-org or on-prem incidents.
"Severity" labels reflect the reporting org's conventions, which differ across companies — the model learns an average that may not match your org's definitions.
Weak labels encode my prior about what keywords indicate each category, which may bias category boundaries.
Files
model.pt
— PyTorch state dict (~253 MB)
tokenizer/
— HF tokenizer files
config.json
— model hyperparameters
label_mappings.json
—
severity
and
category
label lists
sentinelops-classifier huggingface.co is an AI model on huggingface.co that provides sentinelops-classifier's model effect (), which can be used instantly with this ayushgupta7777 sentinelops-classifier model. huggingface.co supports a free trial of the sentinelops-classifier model, and also provides paid use of the sentinelops-classifier. Support call sentinelops-classifier model through api, including Node.js, Python, http.
sentinelops-classifier huggingface.co is an online trial and call api platform, which integrates sentinelops-classifier's modeling effects, including api services, and provides a free online trial of sentinelops-classifier, you can try sentinelops-classifier online for free by clicking the link below.
ayushgupta7777 sentinelops-classifier online free url in huggingface.co:
sentinelops-classifier is an open source model from GitHub that offers a free installation service, and any user can find sentinelops-classifier on GitHub to install. At the same time, huggingface.co provides the effect of sentinelops-classifier install, users can directly use sentinelops-classifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
sentinelops-classifier install url in huggingface.co: