File size: 1,979 Bytes
ed1479a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d7a43be
ed1479a
76a6351
ed1479a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6c00940
ed1479a
d7a43be
 
 
 
76a6351
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d7a43be
 
ed1479a
 
d7a43be
 
 
 
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
---
license: mit
base_model: gpt2
tags:
- generated_from_trainer
model-index:
- name: gpt2-finetuned
  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-finetuned

This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
It achieves the following results on the evaluation set:
- Loss: 0.4615

## 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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 3

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 1.0016        | 0.2   | 500  | 0.5535          |
| 0.5665        | 0.4   | 1000 | 0.5245          |
| 0.545         | 0.6   | 1500 | 0.5085          |
| 0.528         | 0.8   | 2000 | 0.4968          |
| 0.5181        | 1.0   | 2500 | 0.4889          |
| 0.4931        | 1.2   | 3000 | 0.4844          |
| 0.4961        | 1.39  | 3500 | 0.4779          |
| 0.4886        | 1.59  | 4000 | 0.4754          |
| 0.4815        | 1.79  | 4500 | 0.4704          |
| 0.4794        | 1.99  | 5000 | 0.4687          |
| 0.4672        | 2.19  | 5500 | 0.4665          |
| 0.4642        | 2.39  | 6000 | 0.4650          |
| 0.4628        | 2.59  | 6500 | 0.4637          |
| 0.462         | 2.79  | 7000 | 0.4625          |
| 0.4595        | 2.99  | 7500 | 0.4615          |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.1+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0