Edison
commited on
Commit
·
70387fc
1
Parent(s):
56e83bc
update model card README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: neuralsentry/starencoder-git-commits-mlm
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
metrics:
|
| 6 |
+
- accuracy
|
| 7 |
+
- precision
|
| 8 |
+
- recall
|
| 9 |
+
- f1
|
| 10 |
+
model-index:
|
| 11 |
+
- name: vulnfixClassification-StarEncoder-DCMB
|
| 12 |
+
results: []
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 16 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 17 |
+
|
| 18 |
+
# vulnfixClassification-StarEncoder-DCMB
|
| 19 |
+
|
| 20 |
+
This model is a fine-tuned version of [neuralsentry/starencoder-git-commits-mlm](https://huggingface.co/neuralsentry/starencoder-git-commits-mlm) on the None dataset.
|
| 21 |
+
It achieves the following results on the evaluation set:
|
| 22 |
+
- Loss: 0.1797
|
| 23 |
+
- Accuracy: 0.9770
|
| 24 |
+
- Precision: 0.9841
|
| 25 |
+
- Recall: 0.9714
|
| 26 |
+
- F1: 0.9777
|
| 27 |
+
- Roc Auc: 0.9772
|
| 28 |
+
|
| 29 |
+
## Model description
|
| 30 |
+
|
| 31 |
+
More information needed
|
| 32 |
+
|
| 33 |
+
## Intended uses & limitations
|
| 34 |
+
|
| 35 |
+
More information needed
|
| 36 |
+
|
| 37 |
+
## Training and evaluation data
|
| 38 |
+
|
| 39 |
+
More information needed
|
| 40 |
+
|
| 41 |
+
## Training procedure
|
| 42 |
+
|
| 43 |
+
### Training hyperparameters
|
| 44 |
+
|
| 45 |
+
The following hyperparameters were used during training:
|
| 46 |
+
- learning_rate: 0.0001
|
| 47 |
+
- train_batch_size: 128
|
| 48 |
+
- eval_batch_size: 128
|
| 49 |
+
- seed: 420
|
| 50 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
| 51 |
+
- lr_scheduler_type: linear
|
| 52 |
+
- num_epochs: 10.0
|
| 53 |
+
|
| 54 |
+
### Training results
|
| 55 |
+
|
| 56 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 | Roc Auc |
|
| 57 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|:-------:|
|
| 58 |
+
| 0.2106 | 1.0 | 219 | 0.1196 | 0.9640 | 0.9654 | 0.9654 | 0.9654 | 0.9639 |
|
| 59 |
+
| 0.086 | 2.0 | 438 | 0.0883 | 0.9736 | 0.9859 | 0.9629 | 0.9743 | 0.9740 |
|
| 60 |
+
| 0.0477 | 3.0 | 657 | 0.0944 | 0.9729 | 0.9776 | 0.9700 | 0.9738 | 0.9730 |
|
| 61 |
+
| 0.0269 | 4.0 | 876 | 0.1215 | 0.9723 | 0.9705 | 0.9764 | 0.9734 | 0.9721 |
|
| 62 |
+
| 0.0146 | 5.0 | 1095 | 0.1299 | 0.9743 | 0.9854 | 0.9648 | 0.9750 | 0.9747 |
|
| 63 |
+
| 0.0069 | 6.0 | 1314 | 0.1504 | 0.9750 | 0.9814 | 0.9703 | 0.9758 | 0.9752 |
|
| 64 |
+
| 0.0044 | 7.0 | 1533 | 0.1653 | 0.9743 | 0.9779 | 0.9725 | 0.9752 | 0.9744 |
|
| 65 |
+
| 0.0019 | 8.0 | 1752 | 0.1804 | 0.9756 | 0.9817 | 0.9711 | 0.9764 | 0.9758 |
|
| 66 |
+
| 0.0008 | 9.0 | 1971 | 0.1827 | 0.9767 | 0.9839 | 0.9711 | 0.9775 | 0.9769 |
|
| 67 |
+
| 0.0008 | 10.0 | 2190 | 0.1797 | 0.9770 | 0.9841 | 0.9714 | 0.9777 | 0.9772 |
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
### Framework versions
|
| 71 |
+
|
| 72 |
+
- Transformers 4.31.0
|
| 73 |
+
- Pytorch 2.0.1+cu118
|
| 74 |
+
- Datasets 2.14.2
|
| 75 |
+
- Tokenizers 0.13.3
|