elselse commited on
Commit
f6b3a02
·
verified ·
1 Parent(s): d46c3a4

CIRCL/cwe-parent-vulnerability-classification-roberta-base

Browse files
Files changed (5) hide show
  1. README.md +35 -12
  2. config.json +52 -52
  3. emissions.csv +1 -1
  4. metrics.json +7 -10
  5. model.safetensors +1 -1
README.md CHANGED
@@ -18,12 +18,9 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 4.1425
22
- - Accuracy: 0.0112
23
- - F1 Macro: 0.0018
24
- - Top2 Acc: 0.0112
25
- - Top3 Acc: 0.0449
26
- - Top5 Acc: 0.0562
27
 
28
  ## Model description
29
 
@@ -52,12 +49,38 @@ The following hyperparameters were used during training:
52
 
53
  ### Training results
54
 
55
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | Top2 Acc | Top3 Acc | Top5 Acc |
56
- |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|:--------:|:--------:|:--------:|
57
- | 2.9029 | 1.0 | 25 | 4.1425 | 0.0112 | 0.0018 | 0.0112 | 0.0449 | 0.0562 |
58
- | 2.9321 | 2.0 | 50 | 4.2946 | 0.0112 | 0.0030 | 0.0562 | 0.0562 | 0.1011 |
59
- | 3.0394 | 3.0 | 75 | 4.4905 | 0.0337 | 0.0060 | 0.0562 | 0.1011 | 0.1236 |
60
- | 2.8752 | 4.0 | 100 | 4.5061 | 0.0225 | 0.0054 | 0.0449 | 0.0674 | 0.1011 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
 
62
 
63
  ### Framework versions
 
18
 
19
  This model is a fine-tuned version of [roberta-base](https://huggingface.co/roberta-base) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 2.4210
22
+ - Accuracy: 0.5393
23
+ - F1 Macro: 0.2289
 
 
 
24
 
25
  ## Model description
26
 
 
49
 
50
  ### Training results
51
 
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | 3.2216 | 1.0 | 25 | 3.1710 | 0.2921 | 0.0396 |
55
+ | 3.1942 | 2.0 | 50 | 3.0741 | 0.0337 | 0.0041 |
56
+ | 3.1191 | 3.0 | 75 | 3.0549 | 0.0337 | 0.0126 |
57
+ | 3.0134 | 4.0 | 100 | 3.0421 | 0.0225 | 0.0030 |
58
+ | 2.9421 | 5.0 | 125 | 3.0235 | 0.1685 | 0.0372 |
59
+ | 2.9003 | 6.0 | 150 | 3.0508 | 0.0337 | 0.0192 |
60
+ | 2.8848 | 7.0 | 175 | 3.0571 | 0.0337 | 0.0046 |
61
+ | 2.7802 | 8.0 | 200 | 3.0904 | 0.1011 | 0.0441 |
62
+ | 2.7221 | 9.0 | 225 | 3.0587 | 0.1011 | 0.0297 |
63
+ | 2.6257 | 10.0 | 250 | 3.0672 | 0.4045 | 0.0974 |
64
+ | 2.6718 | 11.0 | 275 | 2.9936 | 0.1910 | 0.0680 |
65
+ | 2.4743 | 12.0 | 300 | 2.9018 | 0.3483 | 0.0942 |
66
+ | 2.3287 | 13.0 | 325 | 2.9504 | 0.2472 | 0.0624 |
67
+ | 2.2387 | 14.0 | 350 | 2.8915 | 0.3483 | 0.0974 |
68
+ | 2.2311 | 15.0 | 375 | 2.7952 | 0.2921 | 0.0958 |
69
+ | 2.0399 | 16.0 | 400 | 2.7364 | 0.3371 | 0.1322 |
70
+ | 1.9886 | 17.0 | 425 | 2.8209 | 0.3596 | 0.0969 |
71
+ | 1.9451 | 18.0 | 450 | 2.7339 | 0.3596 | 0.1238 |
72
+ | 1.7988 | 19.0 | 475 | 2.7224 | 0.4045 | 0.1037 |
73
+ | 1.7638 | 20.0 | 500 | 2.6566 | 0.3596 | 0.1215 |
74
+ | 1.7109 | 21.0 | 525 | 2.5994 | 0.4494 | 0.1917 |
75
+ | 1.6364 | 22.0 | 550 | 2.5708 | 0.4382 | 0.1878 |
76
+ | 1.5985 | 23.0 | 575 | 2.5225 | 0.4944 | 0.2005 |
77
+ | 1.5154 | 24.0 | 600 | 2.4922 | 0.4831 | 0.2198 |
78
+ | 1.4841 | 25.0 | 625 | 2.4594 | 0.4944 | 0.2236 |
79
+ | 1.4782 | 26.0 | 650 | 2.4578 | 0.4944 | 0.1985 |
80
+ | 1.4064 | 27.0 | 675 | 2.4545 | 0.5393 | 0.2282 |
81
+ | 1.3746 | 28.0 | 700 | 2.4423 | 0.5169 | 0.2197 |
82
+ | 1.3514 | 29.0 | 725 | 2.4210 | 0.5393 | 0.2289 |
83
+ | 1.34 | 30.0 | 750 | 2.4356 | 0.5281 | 0.2237 |
84
 
85
 
86
  ### Framework versions
config.json CHANGED
@@ -10,62 +10,62 @@
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3",
17
- "4": "LABEL_4",
18
- "5": "LABEL_5",
19
- "6": "LABEL_6",
20
- "7": "LABEL_7",
21
- "8": "LABEL_8",
22
- "9": "LABEL_9",
23
- "10": "LABEL_10",
24
- "11": "LABEL_11",
25
- "12": "LABEL_12",
26
- "13": "LABEL_13",
27
- "14": "LABEL_14",
28
- "15": "LABEL_15",
29
- "16": "LABEL_16",
30
- "17": "LABEL_17",
31
- "18": "LABEL_18",
32
- "19": "LABEL_19",
33
- "20": "LABEL_20",
34
- "21": "LABEL_21",
35
- "22": "LABEL_22",
36
- "23": "LABEL_23",
37
- "24": "LABEL_24",
38
- "25": "LABEL_25"
39
  },
40
  "initializer_range": 0.02,
41
  "intermediate_size": 3072,
42
  "label2id": {
43
- "LABEL_0": 0,
44
- "LABEL_1": 1,
45
- "LABEL_10": 10,
46
- "LABEL_11": 11,
47
- "LABEL_12": 12,
48
- "LABEL_13": 13,
49
- "LABEL_14": 14,
50
- "LABEL_15": 15,
51
- "LABEL_16": 16,
52
- "LABEL_17": 17,
53
- "LABEL_18": 18,
54
- "LABEL_19": 19,
55
- "LABEL_2": 2,
56
- "LABEL_20": 20,
57
- "LABEL_21": 21,
58
- "LABEL_22": 22,
59
- "LABEL_23": 23,
60
- "LABEL_24": 24,
61
- "LABEL_25": 25,
62
- "LABEL_3": 3,
63
- "LABEL_4": 4,
64
- "LABEL_5": 5,
65
- "LABEL_6": 6,
66
- "LABEL_7": 7,
67
- "LABEL_8": 8,
68
- "LABEL_9": 9
69
  },
70
  "layer_norm_eps": 1e-05,
71
  "max_position_embeddings": 514,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "1025",
14
+ "1": "1071",
15
+ "2": "131",
16
+ "3": "138",
17
+ "4": "284",
18
+ "5": "285",
19
+ "6": "435",
20
+ "7": "436",
21
+ "8": "595",
22
+ "9": "657",
23
+ "10": "664",
24
+ "11": "682",
25
+ "12": "684",
26
+ "13": "691",
27
+ "14": "693",
28
+ "15": "697",
29
+ "16": "703",
30
+ "17": "706",
31
+ "18": "707",
32
+ "19": "710",
33
+ "20": "74",
34
+ "21": "754",
35
+ "22": "829",
36
+ "23": "862",
37
+ "24": "913",
38
+ "25": "94"
39
  },
40
  "initializer_range": 0.02,
41
  "intermediate_size": 3072,
42
  "label2id": {
43
+ "1025": 0,
44
+ "1071": 1,
45
+ "131": 2,
46
+ "138": 3,
47
+ "284": 4,
48
+ "285": 5,
49
+ "435": 6,
50
+ "436": 7,
51
+ "595": 8,
52
+ "657": 9,
53
+ "664": 10,
54
+ "682": 11,
55
+ "684": 12,
56
+ "691": 13,
57
+ "693": 14,
58
+ "697": 15,
59
+ "703": 16,
60
+ "706": 17,
61
+ "707": 18,
62
+ "710": 19,
63
+ "74": 20,
64
+ "754": 21,
65
+ "829": 22,
66
+ "862": 23,
67
+ "913": 24,
68
+ "94": 25
69
  },
70
  "layer_norm_eps": 1e-05,
71
  "max_position_embeddings": 514,
emissions.csv CHANGED
@@ -1,2 +1,2 @@
1
  timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2
- 2025-09-02T08:34:59,codecarbon,4300f665-5d3d-460c-bd73-601d1d03e5d3,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,34.12328125699423,0.0005746714895095483,1.684103838612408e-05,42.5,369.6914459781543,94.34468507766725,0.00040215994350890265,0.004164867220779911,0.0008923601751329034,0.005459387339421717,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-71-generic-x86_64-with-glibc2.39,3.12.3,2.8.4,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.5858268737793,machine,N,1.0
 
1
  timestamp,project_name,run_id,experiment_id,duration,emissions,emissions_rate,cpu_power,gpu_power,ram_power,cpu_energy,gpu_energy,ram_energy,energy_consumed,country_name,country_iso_code,region,cloud_provider,cloud_region,os,python_version,codecarbon_version,cpu_count,cpu_model,gpu_count,gpu_model,longitude,latitude,ram_total_size,tracking_mode,on_cloud,pue
2
+ 2025-09-02T08:50:21,codecarbon,2664b472-8e38-43b8-ae2d-497b80d15f92,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,371.1448491369374,0.0064907567902602005,1.748847331534803e-05,42.5,479.247001834791,94.34468507766725,0.004378942286911964,0.04756333749507746,0.009720002218905472,0.0616622820008949,Luxembourg,LUX,luxembourg,,,Linux-6.8.0-71-generic-x86_64-with-glibc2.39,3.12.3,2.8.4,64,AMD EPYC 9124 16-Core Processor,2,2 x NVIDIA L40S,6.1294,49.6113,251.5858268737793,machine,N,1.0
metrics.json CHANGED
@@ -1,12 +1,9 @@
1
  {
2
- "eval_loss": 4.142518043518066,
3
- "eval_accuracy": 0.011235955056179775,
4
- "eval_f1_macro": 0.0017683465959328027,
5
- "eval_top2_acc": 0.011235955056179775,
6
- "eval_top3_acc": 0.0449438202247191,
7
- "eval_top5_acc": 0.056179775280898875,
8
- "eval_runtime": 0.3071,
9
- "eval_samples_per_second": 289.777,
10
- "eval_steps_per_second": 9.768,
11
- "epoch": 4.0
12
  }
 
1
  {
2
+ "eval_loss": 2.421022653579712,
3
+ "eval_accuracy": 0.5393258426966292,
4
+ "eval_f1_macro": 0.22885547452822638,
5
+ "eval_runtime": 0.5079,
6
+ "eval_samples_per_second": 175.234,
7
+ "eval_steps_per_second": 5.907,
8
+ "epoch": 30.0
 
 
 
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d3401c30b04c1a6cfc5f57994c8e5f4ba5b05d76ac306ddb6ff2bc346375b2f7
3
  size 498686648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c17890e8e68887e66226a4cf0dbfad64c48d8f968d19d61d628e66d14679b440
3
  size 498686648