joy-pegasi commited on
Commit
c839b2d
·
verified ·
1 Parent(s): ab336a4

Model save

Browse files
Files changed (1) hide show
  1. README.md +84 -0
README.md ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ - precision
10
+ - recall
11
+ - f1
12
+ model-index:
13
+ - name: fred-guard-base
14
+ results: []
15
+ ---
16
+
17
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
18
+ should probably proofread and complete it, then remove this comment. -->
19
+
20
+ # fred-guard-base
21
+
22
+ This model is a fine-tuned version of [answerdotai/ModernBERT-base](https://huggingface.co/answerdotai/ModernBERT-base) on the None dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.0508
25
+ - Accuracy: 0.9806
26
+ - Precision: 1.0
27
+ - Recall: 0.9611
28
+ - F1: 0.9802
29
+
30
+ ## Model description
31
+
32
+ More information needed
33
+
34
+ ## Intended uses & limitations
35
+
36
+ More information needed
37
+
38
+ ## Training and evaluation data
39
+
40
+ More information needed
41
+
42
+ ## Training procedure
43
+
44
+ ### Training hyperparameters
45
+
46
+ The following hyperparameters were used during training:
47
+ - learning_rate: 5e-05
48
+ - train_batch_size: 64
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 2
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
58
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
59
+ | 0.9662 | 0.1111 | 5 | 0.7300 | 0.5194 | 0.5099 | 1.0 | 0.6754 |
60
+ | 0.6438 | 0.2222 | 10 | 0.5574 | 0.6778 | 0.6553 | 0.75 | 0.6995 |
61
+ | 0.6016 | 0.3333 | 15 | 0.4892 | 0.7667 | 0.8038 | 0.7056 | 0.7515 |
62
+ | 0.4617 | 0.4444 | 20 | 0.4301 | 0.7972 | 0.7512 | 0.8889 | 0.8142 |
63
+ | 0.3779 | 0.5556 | 25 | 0.3152 | 0.8528 | 0.8588 | 0.8444 | 0.8515 |
64
+ | 0.3712 | 0.6667 | 30 | 0.2228 | 0.8944 | 0.9437 | 0.8389 | 0.8882 |
65
+ | 0.2169 | 0.7778 | 35 | 0.2674 | 0.8806 | 0.9928 | 0.7667 | 0.8652 |
66
+ | 0.2445 | 0.8889 | 40 | 0.1471 | 0.9306 | 0.9189 | 0.9444 | 0.9315 |
67
+ | 0.1838 | 1.0 | 45 | 0.2446 | 0.8833 | 0.9929 | 0.7722 | 0.8688 |
68
+ | 0.1249 | 1.1111 | 50 | 0.1212 | 0.9472 | 0.9215 | 0.9778 | 0.9488 |
69
+ | 0.0775 | 1.2222 | 55 | 0.1005 | 0.9556 | 0.9940 | 0.9167 | 0.9538 |
70
+ | 0.0776 | 1.3333 | 60 | 0.0783 | 0.9722 | 0.9775 | 0.9667 | 0.9721 |
71
+ | 0.0577 | 1.4444 | 65 | 0.0924 | 0.9722 | 0.9942 | 0.95 | 0.9716 |
72
+ | 0.0753 | 1.5556 | 70 | 0.0763 | 0.9722 | 0.9942 | 0.95 | 0.9716 |
73
+ | 0.0733 | 1.6667 | 75 | 0.0453 | 0.975 | 0.9831 | 0.9667 | 0.9748 |
74
+ | 0.0866 | 1.7778 | 80 | 0.0576 | 0.9778 | 1.0 | 0.9556 | 0.9773 |
75
+ | 0.041 | 1.8889 | 85 | 0.0583 | 0.9778 | 1.0 | 0.9556 | 0.9773 |
76
+ | 0.0579 | 2.0 | 90 | 0.0508 | 0.9806 | 1.0 | 0.9611 | 0.9802 |
77
+
78
+
79
+ ### Framework versions
80
+
81
+ - Transformers 4.55.4
82
+ - Pytorch 2.8.0+cu126
83
+ - Datasets 4.0.0
84
+ - Tokenizers 0.21.4