File size: 6,427 Bytes
b868a7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
{
  "$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json",
  "bomFormat": "CycloneDX",
  "specVersion": "1.7",
  "serialNumber": "urn:uuid:d8f4ff2a-040b-40c4-9486-8cd6b4d783e8",
  "version": 1,
  "metadata": {
    "timestamp": "2026-11-19T11:07:44+00:00",
    "tools": {
      "components": [
        {
          "type": "application",
          "name": "VulnTrain",
          "version": "3.5.0"
        }
      ]
    },
    "component": {
      "type": "machine-learning-model",
      "name": "CIRCL/vulnerability-severity-classification-roberta-base",
      "licenses": [
        {
          "license": {
            "id": "CC-BY-4.0"
          }
        }
      ],
      "pedigree": {
        "ancestors": [
          {
            "type": "machine-learning-model",
            "name": "roberta-base",
            "purl": "pkg:huggingface/roberta-base",
            "externalReferences": [
              {
                "type": "model-card",
                "url": "https://huggingface.co/roberta-base"
              }
            ]
          }
        ]
      },
      "bom-ref": "pkg:huggingface/CIRCL/vulnerability-severity-classification-roberta-base",
      "purl": "pkg:huggingface/CIRCL/vulnerability-severity-classification-roberta-base",
      "externalReferences": [
        {
          "type": "model-card",
          "url": "https://huggingface.co/CIRCL/vulnerability-severity-classification-roberta-base"
        }
      ],
      "modelCard": {
        "modelParameters": {
          "approach": {
            "type": "supervised"
          },
          "task": "text-classification",
          "datasets": [
            {
              "ref": "pkg:huggingface/CIRCL/vulnerability-scores@58b483351be74f81ece78ff255a329027a6a8863"
            }
          ]
        },
        "quantitativeAnalysis": {
          "performanceMetrics": [
            {
              "type": "accuracy",
              "value": "0.7418604651162791"
            },
            {
              "type": "f1 (macro)",
              "value": "0.6496194318818087"
            },
            {
              "type": "precision",
              "value": "0.5947334617854849",
              "slice": "Low"
            },
            {
              "type": "recall",
              "value": "0.3562908811081185",
              "slice": "Low"
            },
            {
              "type": "f1",
              "value": "0.4456207892204042",
              "slice": "Low"
            },
            {
              "type": "precision",
              "value": "0.7789519906323185",
              "slice": "Medium"
            },
            {
              "type": "recall",
              "value": "0.8161769216612478",
              "slice": "Medium"
            },
            {
              "type": "f1",
              "value": "0.7971301039513495",
              "slice": "Medium"
            },
            {
              "type": "precision",
              "value": "0.7262334954829743",
              "slice": "High"
            },
            {
              "type": "recall",
              "value": "0.7409337445496118",
              "slice": "High"
            },
            {
              "type": "f1",
              "value": "0.7335099756093281",
              "slice": "High"
            },
            {
              "type": "precision",
              "value": "0.6658917732145163",
              "slice": "Critical"
            },
            {
              "type": "recall",
              "value": "0.5839184597961495",
              "slice": "Critical"
            },
            {
              "type": "f1",
              "value": "0.6222168587461534",
              "slice": "Critical"
            }
          ]
        },
        "properties": [
          {
            "name": "cdx:ai-ml:model:hyperparameter:learning_rate",
            "value": "3e-05"
          },
          {
            "name": "cdx:ai-ml:model:hyperparameter:warmup_steps",
            "value": "0"
          },
          {
            "name": "cdx:ai-ml:model:hyperparameter:batch_size",
            "value": "32"
          },
          {
            "name": "cdx:ai-ml:model:hyperparameter:num_epochs",
            "value": "5"
          },
          {
            "name": "cdx:ai-ml:model:hyperparameter:weight_decay",
            "value": "0.01"
          },
          {
            "name": "cdx:ai-ml:model:hyperparameter:max_length",
            "value": "512"
          },
          {
            "name": "vulntrain:training:score_strategy",
            "value": "first"
          },
          {
            "name": "vulntrain:evaluation:test_samples",
            "value": "72240"
          }
        ],
        "considerations": {
          "environmentalConsiderations": {
            "energyConsumptions": [
              {
                "activity": "fine-tuning",
                "energyProviders": [
                  {
                    "description": "Electricity at the location of the training run, as reported by CodeCarbon.",
                    "organization": {
                      "address": {
                        "country": "Luxembourg",
                        "region": "luxembourg"
                      }
                    },
                    "energySource": "unknown",
                    "energyProvided": {
                      "value": 4.7389288966304415,
                      "unit": "kWh"
                    }
                  }
                ],
                "activityEnergyCost": {
                  "value": 4.7389288966304415,
                  "unit": "kWh"
                },
                "co2CostEquivalent": {
                  "value": 0.0004988338724460101,
                  "unit": "tCO2eq"
                }
              }
            ]
          }
        }
      }
    }
  },
  "components": [
    {
      "type": "data",
      "name": "CIRCL/vulnerability-scores",
      "version": "58b483351be74f81ece78ff255a329027a6a8863",
      "bom-ref": "pkg:huggingface/CIRCL/vulnerability-scores@58b483351be74f81ece78ff255a329027a6a8863",
      "purl": "pkg:huggingface/CIRCL/vulnerability-scores@58b483351be74f81ece78ff255a329027a6a8863",
      "externalReferences": [
        {
          "type": "distribution",
          "url": "https://huggingface.co/datasets/CIRCL/vulnerability-scores/tree/58b483351be74f81ece78ff255a329027a6a8863"
        }
      ]
    }
  ]
}