azherali commited on
Commit
90e883d
·
verified ·
1 Parent(s): 5cf9c83

Model save

Browse files
Files changed (1) hide show
  1. README.md +72 -0
README.md ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: microsoft/codebert-base
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ - precision
10
+ - recall
11
+ model-index:
12
+ - name: CodeDetect-CodeBERT-T2
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # CodeDetect-CodeBERT-T2
20
+
21
+ This model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on the None dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 1.3390
24
+ - Accuracy: 0.6333
25
+ - F1: 0.5902
26
+ - Precision: 0.5843
27
+ - Recall: 0.6010
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: 2e-05
47
+ - train_batch_size: 64
48
+ - eval_batch_size: 64
49
+ - seed: 42
50
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 0.1
53
+ - num_epochs: 5
54
+ - mixed_precision_training: Native AMP
55
+
56
+ ### Training results
57
+
58
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
59
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|:---------:|:------:|
60
+ | 1.0683 | 1.0 | 13235 | 1.1079 | 0.5997 | 0.5594 | 0.5602 | 0.6005 |
61
+ | 0.8459 | 2.0 | 26470 | 1.1190 | 0.6200 | 0.5819 | 0.5765 | 0.6089 |
62
+ | 0.6554 | 3.0 | 39705 | 1.1410 | 0.6327 | 0.5882 | 0.5834 | 0.6053 |
63
+ | 0.5130 | 4.0 | 52940 | 1.2600 | 0.6312 | 0.5878 | 0.5812 | 0.6018 |
64
+ | 0.4146 | 5.0 | 66175 | 1.3390 | 0.6333 | 0.5902 | 0.5843 | 0.6010 |
65
+
66
+
67
+ ### Framework versions
68
+
69
+ - Transformers 5.13.1
70
+ - Pytorch 2.11.0+cu130
71
+ - Datasets 4.0.0
72
+ - Tokenizers 0.22.2