File size: 2,228 Bytes
b9f6c45 b67498a b9f6c45 b67498a b9f6c45 b67498a b9f6c45 b67498a b9f6c45 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 |
---
library_name: transformers
license: apache-2.0
base_model: unitary/toxic-bert
tags:
- generated_from_trainer
metrics:
- accuracy
model-index:
- name: results
results: []
---
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->
# results
This model is a fine-tuned version of [unitary/toxic-bert](https://huggingface.co/unitary/toxic-bert) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1722
- Accuracy: 71.6771
- Hamming Loss: 0.0620
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 0.001
- train_batch_size: 32
- eval_batch_size: 128
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 10
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Hamming Loss |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------------:|
| 0.1662 | 1.0 | 259 | 0.2600 | 19.9613 | 0.1367 |
| 0.1763 | 2.0 | 518 | 0.1722 | 71.6771 | 0.0620 |
| 0.1825 | 3.0 | 777 | 0.1750 | 71.6771 | 0.0620 |
| 0.1677 | 4.0 | 1036 | 0.1722 | 71.6771 | 0.0620 |
| 0.1827 | 5.0 | 1295 | 0.1696 | 71.6771 | 0.0620 |
| 0.1542 | 6.0 | 1554 | 0.1698 | 71.6771 | 0.0620 |
| 0.1803 | 7.0 | 1813 | 0.1746 | 71.6771 | 0.0620 |
| 0.1691 | 8.0 | 2072 | 0.1702 | 71.6771 | 0.0620 |
| 0.1989 | 9.0 | 2331 | 0.1702 | 71.6771 | 0.0620 |
| 0.1884 | 10.0 | 2590 | 0.1693 | 71.6771 | 0.0620 |
### Framework versions
- Transformers 4.46.3
- Pytorch 2.4.1+cu121
- Datasets 3.1.0
- Tokenizers 0.20.3
|