danield12 commited on
Commit
46c80fc
·
verified ·
1 Parent(s): 74a96a9

Model save

Browse files
Files changed (2) hide show
  1. README.md +11 -14
  2. adapter_model.safetensors +1 -1
README.md CHANGED
@@ -19,13 +19,13 @@ should probably proofread and complete it, then remove this comment. -->
19
 
20
  This model is a fine-tuned version of [Vulnerability-Detection/codet5_merged](https://huggingface.co/Vulnerability-Detection/codet5_merged) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
- - Loss: 0.5425
23
- - Accuracy: 0.7416
24
- - Precision: 0.1241
25
- - Recall: 0.7838
26
- - F1 Score: 0.2143
27
- - F2 Score: 0.3799
28
- - Gmean: 0.7614
29
 
30
  ## Model description
31
 
@@ -50,18 +50,15 @@ The following hyperparameters were used during training:
50
  - seed: 42
51
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
  - lr_scheduler_type: linear
53
- - num_epochs: 6
54
 
55
  ### Training results
56
 
57
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score | F2 Score | Gmean |
58
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|:--------:|:------:|
59
- | 0.6133 | 1.0 | 197 | 0.6332 | 0.6898 | 0.1040 | 0.7748 | 0.1834 | 0.3383 | 0.7289 |
60
- | 0.5995 | 2.0 | 394 | 0.4958 | 0.7594 | 0.1267 | 0.7387 | 0.2164 | 0.3758 | 0.7495 |
61
- | 0.5626 | 3.0 | 591 | 0.5477 | 0.7473 | 0.1255 | 0.7748 | 0.2161 | 0.3809 | 0.7602 |
62
- | 0.5798 | 4.0 | 788 | 0.5719 | 0.7307 | 0.1195 | 0.7838 | 0.2074 | 0.3712 | 0.7555 |
63
- | 0.54 | 5.0 | 985 | 0.5282 | 0.7473 | 0.1255 | 0.7748 | 0.2161 | 0.3809 | 0.7602 |
64
- | 0.514 | 6.0 | 1182 | 0.5425 | 0.7416 | 0.1241 | 0.7838 | 0.2143 | 0.3799 | 0.7614 |
65
 
66
 
67
  ### Framework versions
 
19
 
20
  This model is a fine-tuned version of [Vulnerability-Detection/codet5_merged](https://huggingface.co/Vulnerability-Detection/codet5_merged) on the None dataset.
21
  It achieves the following results on the evaluation set:
22
+ - Loss: 0.5477
23
+ - Accuracy: 0.7452
24
+ - Precision: 0.1235
25
+ - Recall: 0.7658
26
+ - F1 Score: 0.2128
27
+ - F2 Score: 0.3754
28
+ - Gmean: 0.7549
29
 
30
  ## Model description
31
 
 
50
  - seed: 42
51
  - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
  - lr_scheduler_type: linear
53
+ - num_epochs: 3
54
 
55
  ### Training results
56
 
57
  | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score | F2 Score | Gmean |
58
  |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|:--------:|:------:|
59
+ | 0.4724 | 1.0 | 197 | 0.5542 | 0.7347 | 0.1212 | 0.7838 | 0.2099 | 0.3744 | 0.7577 |
60
+ | 0.4822 | 2.0 | 394 | 0.5152 | 0.7566 | 0.1265 | 0.7477 | 0.2164 | 0.3773 | 0.7524 |
61
+ | 0.4859 | 3.0 | 591 | 0.5477 | 0.7452 | 0.1235 | 0.7658 | 0.2128 | 0.3754 | 0.7549 |
 
 
 
62
 
63
 
64
  ### Framework versions
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a14b61902c6df9ca161e5b63f5ad19b5bbaefc3f728af4d788647bfccc33f514
3
  size 1201112
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:01c8f0e579aff26f3b1aa7a802fa6eb449a8ae3622a1356b01cec2d745b6e446
3
  size 1201112