mrm8488 commited on
Commit
5c168f9
·
verified ·
1 Parent(s): 45c2c39

End of training

Browse files
README.md ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: ModernBERT-base-ft-code-defect-detection-10e-4k
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # ModernBERT-base-ft-code-defect-detection-10e-4k
16
+
17
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 2.0516
20
+ - Accuracy Score: 0.6369
21
+ - F1 Score: 0.6091
22
+ - Precision Score: 0.6159
23
+ - Recall Score: 0.6025
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 8e-05
43
+ - train_batch_size: 64
44
+ - eval_batch_size: 64
45
+ - seed: 42
46
+ - optimizer: Use adamw_torch with betas=(0.9,0.98) and epsilon=1e-06 and optimizer_args=No additional optimizer arguments
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 10
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy Score | F1 Score | Precision Score | Recall Score |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------------:|:--------:|:---------------:|:------------:|
54
+ | 0.6768 | 1.0 | 342 | 0.6130 | 0.6358 | 0.5728 | 0.5315 | 0.6210 |
55
+ | 0.5902 | 2.0 | 684 | 0.5828 | 0.6654 | 0.5421 | 0.4311 | 0.7301 |
56
+ | 0.5346 | 3.0 | 1026 | 0.5995 | 0.6585 | 0.4744 | 0.3355 | 0.8096 |
57
+ | 0.4583 | 4.0 | 1368 | 0.6115 | 0.6812 | 0.6085 | 0.5394 | 0.6979 |
58
+ | 0.3722 | 5.0 | 1710 | 0.6749 | 0.6482 | 0.6197 | 0.6239 | 0.6156 |
59
+ | 0.2896 | 6.0 | 2052 | 0.8197 | 0.6490 | 0.6087 | 0.5944 | 0.6237 |
60
+ | 0.2234 | 7.0 | 2394 | 0.9451 | 0.6490 | 0.6019 | 0.5777 | 0.6282 |
61
+ | 0.1655 | 8.0 | 2736 | 1.1632 | 0.6354 | 0.6115 | 0.6247 | 0.5989 |
62
+ | 0.1151 | 9.0 | 3078 | 1.4168 | 0.6387 | 0.6063 | 0.6056 | 0.6070 |
63
+ | 0.0684 | 10.0 | 3420 | 2.0516 | 0.6369 | 0.6091 | 0.6159 | 0.6025 |
64
+
65
+
66
+ ### Framework versions
67
+
68
+ - Transformers 4.48.0.dev0
69
+ - Pytorch 2.5.1+cu121
70
+ - Datasets 3.2.0
71
+ - Tokenizers 0.21.0
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4d54fb665c719d90bc66d13950e0e9c5103ed6c86726c6d80f7e6482b3be4fc2
3
  size 598439784
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a46c4fbb56351241fc737e8680eea63ecfe0ec39a0026303c5a6ad6a922d7a4
3
  size 598439784
runs/Jan03_13-13-31_a8222cca6e0a/events.out.tfevents.1735910019.a8222cca6e0a.11844.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7bee5bf1864656027b68821f7cf8410553548e50df916800bd7bf967d03fe417
3
- size 12433
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9a6baf1c6d21a7988663c3a82bd463abec9ab224e4c70fd42dbdb1bf2eaa60e
3
+ size 13283