gpt2_shuyuan_word / README.md
jiang-psy-infj's picture
update model card README.md
1b1e750
---
license: mit
base_model: gpt2
tags:
- generated_from_trainer
model-index:
- name: gpt2_shuyuan_word
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. -->
# gpt2_shuyuan_word
This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 2.3217
## 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.0005
- train_batch_size: 70
- eval_batch_size: 55
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 560
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 1000
- num_epochs: 2
### Training results
| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:-----:|:---------------:|
| 3.9002 | 0.3 | 2000 | 2.9381 |
| 2.6773 | 0.6 | 4000 | 2.6806 |
| 2.5122 | 0.9 | 6000 | 2.5378 |
| 2.3946 | 1.2 | 8000 | 2.4343 |
| 2.3129 | 1.5 | 10000 | 2.3596 |
| 2.2631 | 1.81 | 12000 | 2.3217 |
### Framework versions
- Transformers 4.31.0
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.13.3