Model save
Browse files- README.md +16 -12
- adapter_model.safetensors +1 -1
README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
-
|
| 4 |
-
base_model: Salesforce/codet5-small
|
| 5 |
tags:
|
| 6 |
- generated_from_trainer
|
| 7 |
metrics:
|
|
@@ -18,15 +17,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 18 |
|
| 19 |
# results_v3
|
| 20 |
|
| 21 |
-
This model is a fine-tuned version of [
|
| 22 |
It achieves the following results on the evaluation set:
|
| 23 |
-
- Loss: 0.
|
| 24 |
-
- Accuracy: 0.
|
| 25 |
-
- Precision: 0.
|
| 26 |
-
- Recall: 0.
|
| 27 |
-
- F1 Score: 0.
|
| 28 |
-
- F2 Score: 0.
|
| 29 |
-
- Gmean: 0.
|
| 30 |
|
| 31 |
## Model description
|
| 32 |
|
|
@@ -51,13 +50,18 @@ The following hyperparameters were used during training:
|
|
| 51 |
- seed: 42
|
| 52 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 53 |
- lr_scheduler_type: linear
|
| 54 |
-
- num_epochs:
|
| 55 |
|
| 56 |
### Training results
|
| 57 |
|
| 58 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 Score | F2 Score | Gmean |
|
| 59 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:--------:|:--------:|:------:|
|
| 60 |
-
| 0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
|
| 62 |
|
| 63 |
### Framework versions
|
|
|
|
| 1 |
---
|
| 2 |
library_name: peft
|
| 3 |
+
base_model: Vulnerability-Detection/codet5_merged
|
|
|
|
| 4 |
tags:
|
| 5 |
- generated_from_trainer
|
| 6 |
metrics:
|
|
|
|
| 17 |
|
| 18 |
# results_v3
|
| 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 |
- 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
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1201112
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0224cf2e8fcc55b45b92ccd5dcc2b7189517b1954d77e53c69621c9c3bf761f8
|
| 3 |
size 1201112
|