azherali commited on
Commit
fd4eb56
·
verified ·
1 Parent(s): 6dfb4db

End of training

Browse files
Files changed (2) hide show
  1. README.md +91 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: bert-base-uncased
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ - f1
10
+ - precision
11
+ - recall
12
+ model-index:
13
+ - name: CodeGenDetect-BERT_Classifier
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # CodeGenDetect-BERT_Classifier
21
+
22
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0868
25
+ - Accuracy: 0.9761
26
+ - F1: 0.9761
27
+ - Precision: 0.9763
28
+ - Recall: 0.9761
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 2e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 16
50
+ - seed: 42
51
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 8
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Accuracy | F1 | Validation Loss | Precision | Recall |
59
+ |:-------------:|:------:|:-----:|:--------:|:------:|:---------------:|:---------:|:------:|
60
+ | 0.1206 | 0.096 | 3000 | 0.9503 | 0.9503 | 0.1452 | 0.9515 | 0.9503 |
61
+ | 0.1659 | 0.192 | 6000 | 0.9580 | 0.9581 | 0.1326 | 0.9584 | 0.9580 |
62
+ | 0.1468 | 0.288 | 9000 | 0.9631 | 0.9632 | 0.1131 | 0.9634 | 0.9631 |
63
+ | 0.072 | 0.384 | 12000 | 0.9645 | 0.9645 | 0.1199 | 0.9651 | 0.9645 |
64
+ | 0.1184 | 0.48 | 15000 | 0.9656 | 0.9656 | 0.1093 | 0.9661 | 0.9656 |
65
+ | 0.2584 | 0.576 | 18000 | 0.9681 | 0.9681 | 0.0996 | 0.9684 | 0.9681 |
66
+ | 0.1833 | 0.672 | 21000 | 0.9624 | 0.9624 | 0.1154 | 0.9624 | 0.9624 |
67
+ | 0.0551 | 0.768 | 24000 | 0.9694 | 0.9694 | 0.1059 | 0.9700 | 0.9694 |
68
+ | 0.1545 | 0.864 | 27000 | 0.9705 | 0.9705 | 0.0960 | 0.9710 | 0.9705 |
69
+ | 0.1006 | 0.96 | 30000 | 0.9733 | 0.9733 | 0.0884 | 0.9735 | 0.9733 |
70
+ | 0.0941 | 1.056 | 33000 | 0.9696 | 0.9696 | 0.1021 | 0.9704 | 0.9696 |
71
+ | 0.1786 | 1.152 | 36000 | 0.9727 | 0.9727 | 0.0988 | 0.9728 | 0.9727 |
72
+ | 0.0231 | 1.248 | 39000 | 0.9740 | 0.9740 | 0.0923 | 0.9741 | 0.9740 |
73
+ | 0.0131 | 1.3440 | 42000 | 0.9735 | 0.9735 | 0.0924 | 0.9739 | 0.9735 |
74
+ | 0.1303 | 1.44 | 45000 | 0.9742 | 0.9742 | 0.0959 | 0.9742 | 0.9742 |
75
+ | 0.0637 | 1.536 | 48000 | 0.9753 | 0.9753 | 0.0877 | 0.9754 | 0.9753 |
76
+ | 0.1373 | 1.6320 | 51000 | 0.0977 | 0.9741 | 0.9742 | 0.9745 | 0.9741 |
77
+ | 0.1152 | 1.728 | 54000 | 0.1035 | 0.9755 | 0.9755 | 0.9756 | 0.9755 |
78
+ | 0.0728 | 1.8240 | 57000 | 0.0922 | 0.9751 | 0.9752 | 0.9754 | 0.9751 |
79
+ | 0.007 | 1.92 | 60000 | 0.0814 | 0.9763 | 0.9763 | 0.9764 | 0.9763 |
80
+ | 0.0043 | 2.016 | 63000 | 0.0991 | 0.9768 | 0.9768 | 0.9769 | 0.9768 |
81
+ | 0.0429 | 2.112 | 66000 | 0.0925 | 0.9759 | 0.9759 | 0.9760 | 0.9759 |
82
+ | 0.0061 | 2.208 | 69000 | 0.0930 | 0.9765 | 0.9765 | 0.9766 | 0.9765 |
83
+ | 0.0774 | 2.304 | 72000 | 0.0868 | 0.9761 | 0.9761 | 0.9763 | 0.9761 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.45.0
89
+ - Pytorch 2.6.0+cu124
90
+ - Datasets 4.4.1
91
+ - Tokenizers 0.20.3
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a2f5c8778c1a25021112f4cea33dc662c4c47a6a9210b4e0bc3d4637dd610f96
3
  size 437958648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:494d8ce4a8aed9dbe230b13532ae0b608fcf69f7bff8601fbb95ce9b6f1542d7
3
  size 437958648