WilliamHH commited on
Commit
ea6f4a9
·
verified ·
1 Parent(s): 65973c9

End of training

Browse files
Files changed (2) hide show
  1. README.md +98 -0
  2. model.safetensors +1 -1
README.md ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: answerdotai/ModernBERT-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: Assignment4-modernbert-optuna-tuned
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
+ # Assignment4-modernbert-optuna-tuned
18
+
19
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4052
22
+ - Accuracy: 0.9739
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 6e-05
42
+ - train_batch_size: 32
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: cosine
47
+ - num_epochs: 8
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:------:|:----:|:---------------:|:--------:|
53
+ | 12.0069 | 0.2096 | 100 | 5.0978 | 0.7661 |
54
+ | 3.4684 | 0.4193 | 200 | 2.0509 | 0.9206 |
55
+ | 1.8229 | 0.6289 | 300 | 1.5597 | 0.9452 |
56
+ | 1.4306 | 0.8386 | 400 | 1.2236 | 0.9535 |
57
+ | 1.1 | 1.0482 | 500 | 1.0535 | 0.9613 |
58
+ | 0.8086 | 1.2579 | 600 | 0.8738 | 0.9665 |
59
+ | 0.7382 | 1.4675 | 700 | 0.8479 | 0.9597 |
60
+ | 0.6412 | 1.6771 | 800 | 0.7502 | 0.9677 |
61
+ | 0.6152 | 1.8868 | 900 | 0.7203 | 0.9687 |
62
+ | 0.5391 | 2.0964 | 1000 | 0.6897 | 0.9652 |
63
+ | 0.4475 | 2.3061 | 1100 | 0.6466 | 0.9713 |
64
+ | 0.4256 | 2.5157 | 1200 | 0.6227 | 0.9674 |
65
+ | 0.3984 | 2.7254 | 1300 | 0.5820 | 0.9719 |
66
+ | 0.3809 | 2.9350 | 1400 | 0.5644 | 0.9710 |
67
+ | 0.3424 | 3.1447 | 1500 | 0.5406 | 0.9710 |
68
+ | 0.3176 | 3.3543 | 1600 | 0.5278 | 0.9723 |
69
+ | 0.2981 | 3.5639 | 1700 | 0.5222 | 0.9719 |
70
+ | 0.2939 | 3.7736 | 1800 | 0.4962 | 0.9729 |
71
+ | 0.2858 | 3.9832 | 1900 | 0.4803 | 0.9739 |
72
+ | 0.2494 | 4.1929 | 2000 | 0.4714 | 0.9742 |
73
+ | 0.235 | 4.4025 | 2100 | 0.4656 | 0.9729 |
74
+ | 0.2318 | 4.6122 | 2200 | 0.4559 | 0.9735 |
75
+ | 0.2298 | 4.8218 | 2300 | 0.4485 | 0.9723 |
76
+ | 0.2276 | 5.0314 | 2400 | 0.4356 | 0.9752 |
77
+ | 0.1969 | 5.2411 | 2500 | 0.4308 | 0.9729 |
78
+ | 0.1937 | 5.4507 | 2600 | 0.4225 | 0.9739 |
79
+ | 0.1883 | 5.6604 | 2700 | 0.4213 | 0.9739 |
80
+ | 0.1873 | 5.8700 | 2800 | 0.4149 | 0.9748 |
81
+ | 0.181 | 6.0797 | 2900 | 0.4126 | 0.9758 |
82
+ | 0.1725 | 6.2893 | 3000 | 0.4111 | 0.9739 |
83
+ | 0.1649 | 6.4990 | 3100 | 0.4092 | 0.9752 |
84
+ | 0.1638 | 6.7086 | 3200 | 0.4071 | 0.9742 |
85
+ | 0.1614 | 6.9182 | 3300 | 0.4064 | 0.9742 |
86
+ | 0.1591 | 7.1279 | 3400 | 0.4058 | 0.9735 |
87
+ | 0.1541 | 7.3375 | 3500 | 0.4061 | 0.9735 |
88
+ | 0.157 | 7.5472 | 3600 | 0.4053 | 0.9739 |
89
+ | 0.1564 | 7.7568 | 3700 | 0.4052 | 0.9739 |
90
+ | 0.1541 | 7.9665 | 3800 | 0.4052 | 0.9739 |
91
+
92
+
93
+ ### Framework versions
94
+
95
+ - Transformers 4.57.1
96
+ - Pytorch 2.8.0+cu126
97
+ - Datasets 4.0.0
98
+ - Tokenizers 0.22.1
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:233a98793159892b43c558b87dffb14ea0d8f46eb4c89cd615f07c9d377d9814
3
  size 598898116
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d5fae8ef00d389086504dde3d25107248c26fe1abded394201590a0a536c3d9
3
  size 598898116