VLAI for Severity
Collection
A collection of papers, models, and datasets supporting the AI and NLP components of the Vulnerability-Lookup project. β’ 9 items β’ Updated β’ 2
How to use CIRCL/vulnerability-severity-classification-roberta-base with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="CIRCL/vulnerability-severity-classification-roberta-base") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("CIRCL/vulnerability-severity-classification-roberta-base")
model = AutoModelForSequenceClassification.from_pretrained("CIRCL/vulnerability-severity-classification-roberta-base", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("CIRCL/vulnerability-severity-classification-roberta-base")
model = AutoModelForSequenceClassification.from_pretrained("CIRCL/vulnerability-severity-classification-roberta-base", device_map="auto")This model is a fine-tuned version of roberta-base on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Low Precision | Low Recall | Low F1 | Medium Precision | Medium Recall | Medium F1 | High Precision | High Recall | High F1 | Critical Precision | Critical Recall | Critical F1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.3598 | 1.0 | 19363 | 2.6454 | 0.7298 | 0.6067 | 0.6491 | 0.1836 | 0.2862 | 0.7618 | 0.8161 | 0.7880 | 0.7188 | 0.7317 | 0.7252 | 0.6449 | 0.6110 | 0.6275 |
| 2.3058 | 2.0 | 38726 | 2.3857 | 0.7570 | 0.6550 | 0.6429 | 0.2886 | 0.3984 | 0.7937 | 0.8234 | 0.8083 | 0.7285 | 0.7860 | 0.7562 | 0.7298 | 0.5979 | 0.6573 |
| 2.0088 | 3.0 | 58089 | 2.2418 | 0.7775 | 0.6871 | 0.6675 | 0.3581 | 0.4661 | 0.8082 | 0.8369 | 0.8223 | 0.7501 | 0.8133 | 0.7804 | 0.7771 | 0.6041 | 0.6798 |
| 1.5341 | 4.0 | 77452 | 2.1168 | 0.8009 | 0.7309 | 0.6294 | 0.4803 | 0.5448 | 0.8208 | 0.8561 | 0.8381 | 0.7964 | 0.8080 | 0.8021 | 0.7860 | 0.6963 | 0.7384 |
| 1.4963 | 5.0 | 96815 | 2.0906 | 0.8109 | 0.7383 | 0.6926 | 0.4428 | 0.5402 | 0.8274 | 0.8662 | 0.8464 | 0.8130 | 0.8124 | 0.8127 | 0.7677 | 0.7406 | 0.7539 |
Base model
FacebookAI/roberta-base
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="CIRCL/vulnerability-severity-classification-roberta-base")