0
stars
3
commits
1
linked in READMEs
Mar 31, 2026
updated
Vulnerability severity scorer (0-10) based on ModernBERT-base. Predicts CVSS-compatible severity scores from vulnerability descriptions, with Monte Carlo dropout confidence estimation.
Score vulnerability severity from text descriptions when authoritative CVSS scores are unavailable. Part of the CyberScale multi-phase cyber severity assessment system.
Input format: <description> [SEP] cwe: <CWE-ID> (CWE optional)
| Metric | Value | Target |
|---|---|---|
| MAE | N/A | < 1.0 |
| RMSE | N/A | - |
| Pearson r | N/A | - |
| Band Accuracy | N/A | > 0.75 |
| Band | Range |
|---|---|
| Critical | 9.0 - 10.0 |
| High | 7.0 - 8.9 |
| Medium | 4.0 - 6.9 |
| Low | 0.0 - 3.9 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model = AutoModelForSequenceClassification.from_pretrained("eromang/cyberscale-scorer-v1", num_labels=1)
tokenizer = AutoTokenizer.from_pretrained("eromang/cyberscale-scorer-v1")
text = "Buffer overflow in libpng allows remote code execution via crafted PNG file [SEP] cwe: CWE-119"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=192)
with torch.no_grad():
score = torch.sigmoid(model(**inputs).logits).item() * 10.0
print(f"Severity: {score:.1f}/10")
Part of the CyberScale project — multi-phase cyber severity assessment MCP server.
3 commits
0
stars
3
commits
1
linked in READMEs
Mar 31, 2026
updated
Vulnerability severity scorer (0-10) based on ModernBERT-base. Predicts CVSS-compatible severity scores from vulnerability descriptions, with Monte Carlo dropout confidence estimation.
Score vulnerability severity from text descriptions when authoritative CVSS scores are unavailable. Part of the CyberScale multi-phase cyber severity assessment system.
Input format: <description> [SEP] cwe: <CWE-ID> (CWE optional)
| Metric | Value | Target |
|---|---|---|
| MAE | N/A | < 1.0 |
| RMSE | N/A | - |
| Pearson r | N/A | - |
| Band Accuracy | N/A | > 0.75 |
| Band | Range |
|---|---|
| Critical | 9.0 - 10.0 |
| High | 7.0 - 8.9 |
| Medium | 4.0 - 6.9 |
| Low | 0.0 - 3.9 |
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
model = AutoModelForSequenceClassification.from_pretrained("eromang/cyberscale-scorer-v1", num_labels=1)
tokenizer = AutoTokenizer.from_pretrained("eromang/cyberscale-scorer-v1")
text = "Buffer overflow in libpng allows remote code execution via crafted PNG file [SEP] cwe: CWE-119"
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=192)
with torch.no_grad():
score = torch.sigmoid(model(**inputs).logits).item() * 10.0
print(f"Severity: {score:.1f}/10")
Part of the CyberScale project — multi-phase cyber severity assessment MCP server.
3 commits