thiomajid commited on
Commit
08b257a
·
verified ·
1 Parent(s): e5b29e7

Model save

Browse files
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: codebert-java-inconsistency
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
+ # codebert-java-inconsistency
20
+
21
+ This model is a fine-tuned version of [microsoft/codebert-base](https://huggingface.co/microsoft/codebert-base) on an unknown dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 0.3543
24
+ - Accuracy: 0.9167
25
+ - F1: 0.9183
26
+ - Precision: 0.9235
27
+ - Recall: 0.9167
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: 32
48
+ - eval_batch_size: 32
49
+ - seed: 42
50
+ - gradient_accumulation_steps: 2
51
+ - total_train_batch_size: 64
52
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
53
+ - lr_scheduler_type: cosine
54
+ - num_epochs: 30
55
+ - mixed_precision_training: Native AMP
56
+
57
+ ### Training results
58
+
59
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
60
+ |:-------------:|:-------:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
61
+ | 1.4625 | 3.1290 | 50 | 0.8954 | 0.7531 | 0.7554 | 0.7765 | 0.7531 |
62
+ | 0.5834 | 6.2581 | 100 | 0.5559 | 0.8189 | 0.8241 | 0.8483 | 0.8189 |
63
+ | 0.2858 | 9.3871 | 150 | 0.4046 | 0.8930 | 0.8945 | 0.8995 | 0.8930 |
64
+ | 0.1624 | 12.5161 | 200 | 0.4461 | 0.8642 | 0.8661 | 0.8750 | 0.8642 |
65
+ | 0.1084 | 15.6452 | 250 | 0.4012 | 0.9012 | 0.9038 | 0.9123 | 0.9012 |
66
+ | 0.074 | 18.7742 | 300 | 0.4689 | 0.8765 | 0.8817 | 0.8972 | 0.8765 |
67
+ | 0.0574 | 21.9032 | 350 | 0.4885 | 0.8807 | 0.8845 | 0.8970 | 0.8807 |
68
+ | 0.0452 | 25.0 | 400 | 0.4900 | 0.8848 | 0.8888 | 0.9011 | 0.8848 |
69
+ | 0.0396 | 28.1290 | 450 | 0.4896 | 0.8765 | 0.8805 | 0.8934 | 0.8765 |
70
+
71
+
72
+ ### Framework versions
73
+
74
+ - Transformers 4.51.3
75
+ - Pytorch 2.6.0+cu124
76
+ - Datasets 3.5.0
77
+ - Tokenizers 0.21.1
events.out.tfevents.1745366048.7121d8b24e11.581.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bbfad49b471d12f06e6da00e0bb0742dc3ac939672f945fffd19c204e9dfd4b
3
+ size 2090