cedricbonhomme commited on
Commit
2a2ae4d
·
verified ·
1 Parent(s): 30f56fa

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

Browse files
Files changed (5) hide show
  1. README.md +43 -43
  2. config.json +52 -52
  3. emissions.csv +1 -1
  4. metrics.json +6 -6
  5. model.safetensors +1 -1
README.md CHANGED
@@ -18,9 +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: 1.8213
22
- - Accuracy: 0.5673
23
- - F1 Macro: 0.3582
24
 
25
  ## Model description
26
 
@@ -51,46 +51,46 @@ The following hyperparameters were used during training:
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
- | 3.2359 | 1.0 | 237 | 3.0937 | 0.0334 | 0.0114 |
55
- | 2.3278 | 2.0 | 474 | 2.2992 | 0.4303 | 0.2323 |
56
- | 1.8161 | 3.0 | 711 | 1.9653 | 0.5089 | 0.2917 |
57
- | 1.6283 | 4.0 | 948 | 1.8788 | 0.5292 | 0.3007 |
58
- | 1.3258 | 5.0 | 1185 | 1.8253 | 0.5864 | 0.3392 |
59
- | 1.3328 | 6.0 | 1422 | 1.8213 | 0.5673 | 0.3582 |
60
- | 1.2914 | 7.0 | 1659 | 1.8573 | 0.5900 | 0.3604 |
61
- | 0.8614 | 8.0 | 1896 | 1.8345 | 0.6198 | 0.3810 |
62
- | 0.8253 | 9.0 | 2133 | 2.0121 | 0.6067 | 0.3568 |
63
- | 0.7363 | 10.0 | 2370 | 2.0059 | 0.6508 | 0.4071 |
64
- | 0.6406 | 11.0 | 2607 | 2.0866 | 0.6472 | 0.3906 |
65
- | 0.4574 | 12.0 | 2844 | 2.1904 | 0.6377 | 0.3902 |
66
- | 0.4834 | 13.0 | 3081 | 2.2417 | 0.6281 | 0.3797 |
67
- | 0.3078 | 14.0 | 3318 | 2.3233 | 0.6830 | 0.4132 |
68
- | 0.3217 | 15.0 | 3555 | 2.4203 | 0.6639 | 0.4020 |
69
- | 0.2823 | 16.0 | 3792 | 2.4227 | 0.6615 | 0.3918 |
70
- | 0.2392 | 17.0 | 4029 | 2.6133 | 0.6865 | 0.3844 |
71
- | 0.1956 | 18.0 | 4266 | 2.6611 | 0.6675 | 0.3789 |
72
- | 0.1504 | 19.0 | 4503 | 2.7612 | 0.6746 | 0.4158 |
73
- | 0.1109 | 20.0 | 4740 | 2.8752 | 0.6710 | 0.3776 |
74
- | 0.1091 | 21.0 | 4977 | 3.0530 | 0.6949 | 0.3776 |
75
- | 0.13 | 22.0 | 5214 | 3.0540 | 0.6889 | 0.3766 |
76
- | 0.0797 | 23.0 | 5451 | 3.2854 | 0.6770 | 0.4038 |
77
- | 0.145 | 24.0 | 5688 | 3.2146 | 0.6973 | 0.3877 |
78
- | 0.1004 | 25.0 | 5925 | 3.4159 | 0.6937 | 0.3850 |
79
- | 0.0486 | 26.0 | 6162 | 3.4003 | 0.6865 | 0.3767 |
80
- | 0.0544 | 27.0 | 6399 | 3.3643 | 0.6889 | 0.3822 |
81
- | 0.082 | 28.0 | 6636 | 3.4874 | 0.6913 | 0.3818 |
82
- | 0.0468 | 29.0 | 6873 | 3.5810 | 0.6877 | 0.3815 |
83
- | 0.0308 | 30.0 | 7110 | 3.7565 | 0.6949 | 0.3837 |
84
- | 0.0366 | 31.0 | 7347 | 3.6714 | 0.6961 | 0.3814 |
85
- | 0.0388 | 32.0 | 7584 | 3.8502 | 0.6973 | 0.3957 |
86
- | 0.0341 | 33.0 | 7821 | 3.8415 | 0.6973 | 0.3973 |
87
- | 0.0417 | 34.0 | 8058 | 3.9342 | 0.7056 | 0.3864 |
88
- | 0.0218 | 35.0 | 8295 | 3.9367 | 0.6996 | 0.3843 |
89
- | 0.0607 | 36.0 | 8532 | 3.9262 | 0.6996 | 0.3841 |
90
- | 0.0148 | 37.0 | 8769 | 3.9609 | 0.7020 | 0.4189 |
91
- | 0.0186 | 38.0 | 9006 | 3.9656 | 0.6985 | 0.3822 |
92
- | 0.0387 | 39.0 | 9243 | 3.9738 | 0.7044 | 0.3850 |
93
- | 0.008 | 40.0 | 9480 | 3.9906 | 0.7044 | 0.3861 |
94
 
95
 
96
  ### 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: 1.6858
22
+ - Accuracy: 0.6126
23
+ - F1 Macro: 0.3737
24
 
25
  ## Model description
26
 
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro |
53
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:--------:|
54
+ | 3.078 | 1.0 | 237 | 3.0510 | 0.1776 | 0.0529 |
55
+ | 2.4726 | 2.0 | 474 | 2.2886 | 0.4398 | 0.2407 |
56
+ | 2.2031 | 3.0 | 711 | 1.9511 | 0.5185 | 0.3141 |
57
+ | 1.7872 | 4.0 | 948 | 1.7893 | 0.5638 | 0.3511 |
58
+ | 1.4324 | 5.0 | 1185 | 1.7492 | 0.6305 | 0.3805 |
59
+ | 1.2675 | 6.0 | 1422 | 1.6858 | 0.6126 | 0.3737 |
60
+ | 1.0437 | 7.0 | 1659 | 1.7359 | 0.6675 | 0.4296 |
61
+ | 0.8699 | 8.0 | 1896 | 1.7641 | 0.6746 | 0.4246 |
62
+ | 0.8832 | 9.0 | 2133 | 1.8097 | 0.6746 | 0.4444 |
63
+ | 0.8027 | 10.0 | 2370 | 1.8753 | 0.6698 | 0.4380 |
64
+ | 0.4583 | 11.0 | 2607 | 1.8919 | 0.6830 | 0.4473 |
65
+ | 0.5493 | 12.0 | 2844 | 1.8456 | 0.7080 | 0.4915 |
66
+ | 0.4808 | 13.0 | 3081 | 1.9593 | 0.6841 | 0.4555 |
67
+ | 0.4466 | 14.0 | 3318 | 2.0736 | 0.6865 | 0.4454 |
68
+ | 0.2989 | 15.0 | 3555 | 2.1972 | 0.6961 | 0.4474 |
69
+ | 0.255 | 16.0 | 3792 | 2.2513 | 0.7008 | 0.4638 |
70
+ | 0.2474 | 17.0 | 4029 | 2.2991 | 0.7223 | 0.4609 |
71
+ | 0.1648 | 18.0 | 4266 | 2.4582 | 0.7128 | 0.4614 |
72
+ | 0.2112 | 19.0 | 4503 | 2.5944 | 0.7247 | 0.4714 |
73
+ | 0.1185 | 20.0 | 4740 | 2.5292 | 0.7128 | 0.4557 |
74
+ | 0.1453 | 21.0 | 4977 | 2.6173 | 0.7104 | 0.4466 |
75
+ | 0.1126 | 22.0 | 5214 | 2.7072 | 0.7104 | 0.4461 |
76
+ | 0.0872 | 23.0 | 5451 | 2.8997 | 0.7235 | 0.4577 |
77
+ | 0.0768 | 24.0 | 5688 | 2.8199 | 0.7294 | 0.4623 |
78
+ | 0.0643 | 25.0 | 5925 | 2.9228 | 0.7211 | 0.4587 |
79
+ | 0.0828 | 26.0 | 6162 | 3.0185 | 0.7330 | 0.4774 |
80
+ | 0.0407 | 27.0 | 6399 | 3.1037 | 0.7211 | 0.4586 |
81
+ | 0.0386 | 28.0 | 6636 | 3.1938 | 0.7235 | 0.4622 |
82
+ | 0.0321 | 29.0 | 6873 | 3.2786 | 0.7318 | 0.4612 |
83
+ | 0.0189 | 30.0 | 7110 | 3.4453 | 0.7330 | 0.4559 |
84
+ | 0.0223 | 31.0 | 7347 | 3.3558 | 0.7366 | 0.4583 |
85
+ | 0.0255 | 32.0 | 7584 | 3.3787 | 0.7354 | 0.4682 |
86
+ | 0.0123 | 33.0 | 7821 | 3.4288 | 0.7306 | 0.4633 |
87
+ | 0.0128 | 34.0 | 8058 | 3.4361 | 0.7366 | 0.4645 |
88
+ | 0.0201 | 35.0 | 8295 | 3.6213 | 0.7235 | 0.4559 |
89
+ | 0.014 | 36.0 | 8532 | 3.7080 | 0.7247 | 0.4554 |
90
+ | 0.0159 | 37.0 | 8769 | 3.6249 | 0.7330 | 0.4622 |
91
+ | 0.027 | 38.0 | 9006 | 3.6598 | 0.7294 | 0.4604 |
92
+ | 0.0086 | 39.0 | 9243 | 3.7176 | 0.7342 | 0.4637 |
93
+ | 0.0096 | 40.0 | 9480 | 3.7223 | 0.7306 | 0.4614 |
94
 
95
 
96
  ### Framework versions
config.json CHANGED
@@ -11,62 +11,62 @@
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1",
16
- "2": "LABEL_2",
17
- "3": "LABEL_3",
18
- "4": "LABEL_4",
19
- "5": "LABEL_5",
20
- "6": "LABEL_6",
21
- "7": "LABEL_7",
22
- "8": "LABEL_8",
23
- "9": "LABEL_9",
24
- "10": "LABEL_10",
25
- "11": "LABEL_11",
26
- "12": "LABEL_12",
27
- "13": "LABEL_13",
28
- "14": "LABEL_14",
29
- "15": "LABEL_15",
30
- "16": "LABEL_16",
31
- "17": "LABEL_17",
32
- "18": "LABEL_18",
33
- "19": "LABEL_19",
34
- "20": "LABEL_20",
35
- "21": "LABEL_21",
36
- "22": "LABEL_22",
37
- "23": "LABEL_23",
38
- "24": "LABEL_24",
39
- "25": "LABEL_25"
40
  },
41
  "initializer_range": 0.02,
42
  "intermediate_size": 3072,
43
  "label2id": {
44
- "LABEL_0": 0,
45
- "LABEL_1": 1,
46
- "LABEL_10": 10,
47
- "LABEL_11": 11,
48
- "LABEL_12": 12,
49
- "LABEL_13": 13,
50
- "LABEL_14": 14,
51
- "LABEL_15": 15,
52
- "LABEL_16": 16,
53
- "LABEL_17": 17,
54
- "LABEL_18": 18,
55
- "LABEL_19": 19,
56
- "LABEL_2": 2,
57
- "LABEL_20": 20,
58
- "LABEL_21": 21,
59
- "LABEL_22": 22,
60
- "LABEL_23": 23,
61
- "LABEL_24": 24,
62
- "LABEL_25": 25,
63
- "LABEL_3": 3,
64
- "LABEL_4": 4,
65
- "LABEL_5": 5,
66
- "LABEL_6": 6,
67
- "LABEL_7": 7,
68
- "LABEL_8": 8,
69
- "LABEL_9": 9
70
  },
71
  "layer_norm_eps": 1e-05,
72
  "max_position_embeddings": 514,
 
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
+ "0": "1025",
15
+ "1": "1071",
16
+ "2": "131",
17
+ "3": "138",
18
+ "4": "284",
19
+ "5": "285",
20
+ "6": "435",
21
+ "7": "436",
22
+ "8": "595",
23
+ "9": "657",
24
+ "10": "664",
25
+ "11": "682",
26
+ "12": "684",
27
+ "13": "691",
28
+ "14": "693",
29
+ "15": "697",
30
+ "16": "703",
31
+ "17": "706",
32
+ "18": "707",
33
+ "19": "710",
34
+ "20": "74",
35
+ "21": "754",
36
+ "22": "829",
37
+ "23": "862",
38
+ "24": "913",
39
+ "25": "94"
40
  },
41
  "initializer_range": 0.02,
42
  "intermediate_size": 3072,
43
  "label2id": {
44
+ "1025": 0,
45
+ "1071": 1,
46
+ "131": 2,
47
+ "138": 3,
48
+ "284": 4,
49
+ "285": 5,
50
+ "435": 6,
51
+ "436": 7,
52
+ "595": 8,
53
+ "657": 9,
54
+ "664": 10,
55
+ "682": 11,
56
+ "684": 12,
57
+ "691": 13,
58
+ "693": 14,
59
+ "697": 15,
60
+ "703": 16,
61
+ "706": 17,
62
+ "707": 18,
63
+ "710": 19,
64
+ "74": 20,
65
+ "754": 21,
66
+ "829": 22,
67
+ "862": 23,
68
+ "913": 24,
69
+ "94": 25
70
  },
71
  "layer_norm_eps": 1e-05,
72
  "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-11-21T08:46:27,codecarbon,bc463c8d-dd69-42da-9801-e35dabee8711,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,2632.649387937039,0.050220601954459286,1.9076069219309326e-05,42.5,302.47241372038087,94.34468507766725,0.031054272330529063,0.3771095669652027,0.06893259491628256,0.4770964342120145,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-11-25T09:16:23,codecarbon,67364f53-9085-4f19-8275-89bd636a2b29,5b0fa12a-3dd7-45bb-9766-cc326314d9f1,2029.9565299919923,0.08855852421617892,4.362582297096198e-05,42.5,357.51475458776764,755.7507977485657,0.02394362658245421,0.391652365821642,0.4257112496104668,0.8413072420145626,Luxembourg,LUX,,,,Linux-6.8.0-88-generic-x86_64-with-glibc2.39,3.12.3,2.8.4,224,Intel(R) Xeon(R) Platinum 8480+,2,2 x NVIDIA H100 NVL,6.1661,49.7498,2015.3354606628418,machine,N,1.0
metrics.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "eval_loss": 1.821271300315857,
3
- "eval_accuracy": 0.567342073897497,
4
- "eval_f1_macro": 0.35818372664233605,
5
- "eval_runtime": 2.5279,
6
- "eval_samples_per_second": 331.898,
7
- "eval_steps_per_second": 10.681,
8
  "epoch": 40.0
9
  }
 
1
  {
2
+ "eval_loss": 1.6857668161392212,
3
+ "eval_accuracy": 0.6126340882002383,
4
+ "eval_f1_macro": 0.37374630603711945,
5
+ "eval_runtime": 1.9694,
6
+ "eval_samples_per_second": 426.01,
7
+ "eval_steps_per_second": 13.71,
8
  "epoch": 40.0
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f934ba5754bf640b230ba8cbea7d17a2f7ea93defb1130a3f66795763a60934b
3
  size 498686648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cea14a9c4d1b33d066c9fd51f65dc832485298366f124084cd1969f7444706b
3
  size 498686648