AdoCleanCode's picture
Update README.md
3e2b4f3 verified
---
library_name: transformers
license: mit
base_model: gpt2
tags:
- generated_from_trainer
model-index:
- name: general_model_no_sports_v7_100_000
results: []
datasets:
- AdoCleanCode/general_train_dataset_no_sports
language:
- en
---
<!-- 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. -->
# general_model_no_sports_v7_100_000
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on a [COCO subset](https://huggingface.co/AdoCleanCode/general_train_dataset_no_sports) with labeling: Label 0: No physical activity, Label 1: Related to physical activity.
It achieves the following results on the evaluation set:
- Loss: 0.8762
## 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: 2e-05
- train_batch_size: 8
- eval_batch_size: 16
- 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: 1000
- num_epochs: 5
- mixed_precision_training: Native AMP
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:-----:|:---------------:|
| 1.1166 | 1.0 | 4431 | 1.0106 |
| 0.9943 | 2.0 | 8862 | 0.9314 |
| 0.9394 | 3.0 | 13293 | 0.8984 |
| 0.9068 | 4.0 | 17724 | 0.8823 |
| 0.8828 | 5.0 | 22155 | 0.8762 |
### Framework versions
- Transformers 4.46.3
- Pytorch 2.1.2+cu121
- Datasets 2.19.1
- Tokenizers 0.20.3