End of training
Browse files- README.md +78 -0
- model.safetensors +1 -1
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
base_model: answerdotai/ModernBERT-large
|
| 5 |
+
tags:
|
| 6 |
+
- generated_from_trainer
|
| 7 |
+
metrics:
|
| 8 |
+
- accuracy
|
| 9 |
+
- precision
|
| 10 |
+
- recall
|
| 11 |
+
- f1
|
| 12 |
+
model-index:
|
| 13 |
+
- name: ModernBERT-large-hate-mr
|
| 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 |
+
# ModernBERT-large-hate-mr
|
| 21 |
+
|
| 22 |
+
This model is a fine-tuned version of [answerdotai/ModernBERT-large](https://huggingface.co/answerdotai/ModernBERT-large) on the None dataset.
|
| 23 |
+
It achieves the following results on the evaluation set:
|
| 24 |
+
- Loss: 0.0005
|
| 25 |
+
- Accuracy: 1.0
|
| 26 |
+
- Precision: 1.0
|
| 27 |
+
- Recall: 1.0
|
| 28 |
+
- F1: 1.0
|
| 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: 32
|
| 49 |
+
- eval_batch_size: 128
|
| 50 |
+
- seed: 42
|
| 51 |
+
- gradient_accumulation_steps: 2
|
| 52 |
+
- total_train_batch_size: 64
|
| 53 |
+
- optimizer: Use adamw_hf with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 54 |
+
- lr_scheduler_type: linear
|
| 55 |
+
- num_epochs: 10
|
| 56 |
+
|
| 57 |
+
### Training results
|
| 58 |
+
|
| 59 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|
| 60 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
|
| 61 |
+
| 1.2742 | 1.0 | 31 | 0.6678 | 0.6 | 0.6349 | 0.5994 | 0.5715 |
|
| 62 |
+
| 1.1108 | 2.0 | 62 | 0.7303 | 0.5590 | 0.6745 | 0.5581 | 0.4701 |
|
| 63 |
+
| 1.024 | 3.0 | 93 | 0.6116 | 0.6795 | 0.7223 | 0.6800 | 0.6637 |
|
| 64 |
+
| 0.7994 | 4.0 | 124 | 0.6951 | 0.6506 | 0.7108 | 0.6500 | 0.6232 |
|
| 65 |
+
| 0.4984 | 5.0 | 155 | 0.8937 | 0.7012 | 0.7209 | 0.7008 | 0.6942 |
|
| 66 |
+
| 0.1153 | 6.0 | 186 | 1.4426 | 0.6940 | 0.7011 | 0.6942 | 0.6914 |
|
| 67 |
+
| 0.0718 | 7.0 | 217 | 1.2927 | 0.6988 | 0.6994 | 0.6989 | 0.6986 |
|
| 68 |
+
| 0.006 | 8.0 | 248 | 1.6155 | 0.7229 | 0.7262 | 0.7227 | 0.7218 |
|
| 69 |
+
| 0.0004 | 9.0 | 279 | 1.4752 | 0.7157 | 0.7173 | 0.7158 | 0.7152 |
|
| 70 |
+
| 0.0002 | 9.6885 | 300 | 1.4857 | 0.7205 | 0.7215 | 0.7206 | 0.7202 |
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
### Framework versions
|
| 74 |
+
|
| 75 |
+
- Transformers 4.48.2
|
| 76 |
+
- Pytorch 2.5.1+cu121
|
| 77 |
+
- Datasets 3.2.0
|
| 78 |
+
- Tokenizers 0.21.0
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1583351632
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7620c96c200effbf8c76cbb32f476e6004b7067a791fca03014c09ba0c5975a
|
| 3 |
size 1583351632
|