Emil7018 commited on
Commit
db6e66e
·
verified ·
1 Parent(s): 7d7fe17

End of training

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - f1
10
+ model-index:
11
+ - name: modernbert-agnews-classifier
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # modernbert-agnews-classifier
19
+
20
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.2681
23
+ - Accuracy: 0.9246
24
+ - F1: 0.9247
25
+
26
+ ## Model description
27
+
28
+ More information needed
29
+
30
+ ## Intended uses & limitations
31
+
32
+ More information needed
33
+
34
+ ## Training and evaluation data
35
+
36
+ More information needed
37
+
38
+ ## Training procedure
39
+
40
+ ### Training hyperparameters
41
+
42
+ The following hyperparameters were used during training:
43
+ - learning_rate: 2e-05
44
+ - train_batch_size: 16
45
+ - eval_batch_size: 16
46
+ - seed: 42
47
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: linear
49
+ - num_epochs: 2
50
+ - mixed_precision_training: Native AMP
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
56
+ | 0.3673 | 1.0 | 625 | 0.2434 | 0.9195 | 0.9193 |
57
+ | 0.1916 | 2.0 | 1250 | 0.2681 | 0.9246 | 0.9247 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.56.2
63
+ - Pytorch 2.8.0+cu126
64
+ - Datasets 4.0.0
65
+ - Tokenizers 0.22.0
runs/Oct02_11-44-25_7c8498141716/events.out.tfevents.1759406146.7c8498141716.1353.1 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e0229b23f129c8556fe21ddb705983d4fc7588316eca8624c0cba43929aae88
3
- size 6567
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a665c1ca631d310baff243bc0cf972376d84ce2960baf08c0cc6848e59bf891
3
+ size 7290