advy's picture
End of training
f4a1293 verified
---
base_model: microsoft/phi-2
library_name: peft
license: mit
tags:
- base_model:adapter:microsoft/phi-2
- lora
- transformers
model-index:
- name: phi-2-hate-classifier
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. -->
# phi-2-hate-classifier
This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.5518
## 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.0002
- train_batch_size: 4
- eval_batch_size: 4
- 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
- num_epochs: 5
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 0.5294 | 1.0 | 450 | 0.4561 |
| 0.3573 | 2.0 | 900 | 0.4084 |
| 0.0945 | 3.0 | 1350 | 0.5058 |
| 0.0021 | 4.0 | 1800 | 0.5769 |
| 0.2353 | 5.0 | 2250 | 0.5518 |
### Framework versions
- PEFT 0.17.1
- Transformers 4.46.3
- Pytorch 2.8.0+cu128
- Datasets 2.17.0
- Tokenizers 0.20.0