mcanoglu commited on
Commit
6ceee85
1 Parent(s): f0663a5

End of training

Browse files
Files changed (2) hide show
  1. README.md +70 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: microsoft/codebert-base
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - precision
8
+ - recall
9
+ model-index:
10
+ - name: microsoft-codebert-base-finetuned-defect-cwe-group-detection
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # microsoft-codebert-base-finetuned-defect-cwe-group-detection
18
+
19
+ This model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.6195
22
+ - Accuracy: 0.7490
23
+ - Precision: 0.5725
24
+ - Recall: 0.5159
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 8
46
+ - seed: 4711
47
+ - gradient_accumulation_steps: 4
48
+ - total_train_batch_size: 32
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 5
52
+ - mixed_precision_training: Native AMP
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall |
57
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:---------:|:------:|
58
+ | No log | 1.0 | 462 | 0.6077 | 0.7288 | 0.6350 | 0.4460 |
59
+ | 0.7284 | 2.0 | 925 | 0.5435 | 0.7485 | 0.6418 | 0.4633 |
60
+ | 0.5295 | 3.0 | 1387 | 0.5937 | 0.7209 | 0.5285 | 0.5098 |
61
+ | 0.4242 | 4.0 | 1850 | 0.6071 | 0.7400 | 0.5543 | 0.5354 |
62
+ | 0.3509 | 4.99 | 2310 | 0.6195 | 0.7490 | 0.5725 | 0.5159 |
63
+
64
+
65
+ ### Framework versions
66
+
67
+ - Transformers 4.38.1
68
+ - Pytorch 2.2.1+cu121
69
+ - Datasets 2.17.1
70
+ - Tokenizers 0.15.2
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c58f2ec9d32884569e216e5415e6602316d05b39de5e6aeb4252cb54dd7fe0f4
3
  size 498622052
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4acc6b83f0a54ed83998846d9cf68ad47e2d3367b7b1fa7ca6a8528c9c89e3d
3
  size 498622052