Koleshjr commited on
Commit
84e80ef
·
verified ·
1 Parent(s): 2d305c5

End of training

Browse files
Files changed (1) hide show
  1. README.md +68 -0
README.md ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_Swahili_News_Classification
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_Swahili_News_Classification
19
+
20
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the None dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 0.6722
23
+ - Accuracy: 0.8670
24
+ - F1: 0.8739
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: 5e-05
44
+ - train_batch_size: 8
45
+ - eval_batch_size: 4
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
+ - lr_scheduler_warmup_steps: 100
50
+ - num_epochs: 5
51
+
52
+ ### Training results
53
+
54
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
55
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
56
+ | 0.812 | 1.0 | 515 | 0.5333 | 0.7874 | 0.7784 |
57
+ | 0.4801 | 2.0 | 1030 | 0.4012 | 0.8544 | 0.8570 |
58
+ | 0.3646 | 3.0 | 1545 | 0.5835 | 0.8282 | 0.8250 |
59
+ | 0.272 | 4.0 | 2060 | 0.5662 | 0.8641 | 0.8682 |
60
+ | 0.165 | 5.0 | 2575 | 0.6722 | 0.8670 | 0.8739 |
61
+
62
+
63
+ ### Framework versions
64
+
65
+ - Transformers 4.52.3
66
+ - Pytorch 2.6.0+cu124
67
+ - Datasets 3.6.0
68
+ - Tokenizers 0.21.1