CIRCL/cwe-parent-vulnerability-classification-roberta-base
Browse files- README.md +43 -43
- config.json +52 -52
- emissions.csv +1 -1
- metrics.json +6 -6
- 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.
|
| 22 |
-
- Accuracy: 0.
|
| 23 |
-
- F1 Macro: 0.
|
| 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.
|
| 55 |
-
| 2.
|
| 56 |
-
|
|
| 57 |
-
| 1.
|
| 58 |
-
| 1.
|
| 59 |
-
| 1.
|
| 60 |
-
| 1.
|
| 61 |
-
| 0.
|
| 62 |
-
| 0.
|
| 63 |
-
| 0.
|
| 64 |
-
| 0.
|
| 65 |
-
| 0.
|
| 66 |
-
| 0.
|
| 67 |
-
| 0.
|
| 68 |
-
| 0.
|
| 69 |
-
| 0.
|
| 70 |
-
| 0.
|
| 71 |
-
| 0.
|
| 72 |
-
| 0.
|
| 73 |
-
| 0.
|
| 74 |
-
| 0.
|
| 75 |
-
| 0.
|
| 76 |
-
| 0.
|
| 77 |
-
| 0.
|
| 78 |
-
| 0.
|
| 79 |
-
| 0.
|
| 80 |
-
| 0.
|
| 81 |
-
| 0.
|
| 82 |
-
| 0.
|
| 83 |
-
| 0.
|
| 84 |
-
| 0.
|
| 85 |
-
| 0.
|
| 86 |
-
| 0.
|
| 87 |
-
| 0.
|
| 88 |
-
| 0.
|
| 89 |
-
| 0.
|
| 90 |
-
| 0.
|
| 91 |
-
| 0.
|
| 92 |
-
| 0.
|
| 93 |
-
| 0.
|
| 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": "
|
| 15 |
-
"1": "
|
| 16 |
-
"2": "
|
| 17 |
-
"3": "
|
| 18 |
-
"4": "
|
| 19 |
-
"5": "
|
| 20 |
-
"6": "
|
| 21 |
-
"7": "
|
| 22 |
-
"8": "
|
| 23 |
-
"9": "
|
| 24 |
-
"10": "
|
| 25 |
-
"11": "
|
| 26 |
-
"12": "
|
| 27 |
-
"13": "
|
| 28 |
-
"14": "
|
| 29 |
-
"15": "
|
| 30 |
-
"16": "
|
| 31 |
-
"17": "
|
| 32 |
-
"18": "
|
| 33 |
-
"19": "
|
| 34 |
-
"20": "
|
| 35 |
-
"21": "
|
| 36 |
-
"22": "
|
| 37 |
-
"23": "
|
| 38 |
-
"24": "
|
| 39 |
-
"25": "
|
| 40 |
},
|
| 41 |
"initializer_range": 0.02,
|
| 42 |
"intermediate_size": 3072,
|
| 43 |
"label2id": {
|
| 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 |
"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-
|
|
|
|
| 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.
|
| 3 |
-
"eval_accuracy": 0.
|
| 4 |
-
"eval_f1_macro": 0.
|
| 5 |
-
"eval_runtime":
|
| 6 |
-
"eval_samples_per_second":
|
| 7 |
-
"eval_steps_per_second":
|
| 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:
|
| 3 |
size 498686648
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1cea14a9c4d1b33d066c9fd51f65dc832485298366f124084cd1969f7444706b
|
| 3 |
size 498686648
|