File size: 4,287 Bytes
2cc247b
 
66dd3e6
2cc247b
 
 
 
 
 
 
 
 
 
 
 
66dd3e6
2cc247b
6bc970b
2cc247b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6bc970b
2cc247b
 
 
 
 
67759e6
2cc247b
 
 
 
 
6bc970b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2cc247b
 
 
 
 
 
 
 
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
license: mit
base_model: openai-community/gpt2
tags:
- generated_from_trainer
model-index:
- name: gpt2-wikitext2
  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-wikitext2

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

## 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: 1e-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
- num_epochs: 60

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| No log        | 1.0   | 55   | 9.1458          |
| No log        | 2.0   | 110  | 8.3471          |
| No log        | 3.0   | 165  | 7.7884          |
| No log        | 4.0   | 220  | 7.3751          |
| No log        | 5.0   | 275  | 7.0487          |
| No log        | 6.0   | 330  | 6.7857          |
| No log        | 7.0   | 385  | 6.5840          |
| No log        | 8.0   | 440  | 6.4196          |
| No log        | 9.0   | 495  | 6.2584          |
| 7.3272        | 10.0  | 550  | 6.1628          |
| 7.3272        | 11.0  | 605  | 6.0521          |
| 7.3272        | 12.0  | 660  | 5.9861          |
| 7.3272        | 13.0  | 715  | 5.9223          |
| 7.3272        | 14.0  | 770  | 5.8760          |
| 7.3272        | 15.0  | 825  | 5.8246          |
| 7.3272        | 16.0  | 880  | 5.7813          |
| 7.3272        | 17.0  | 935  | 5.7663          |
| 7.3272        | 18.0  | 990  | 5.7275          |
| 5.2638        | 19.0  | 1045 | 5.7022          |
| 5.2638        | 20.0  | 1100 | 5.6905          |
| 5.2638        | 21.0  | 1155 | 5.6803          |
| 5.2638        | 22.0  | 1210 | 5.6740          |
| 5.2638        | 23.0  | 1265 | 5.6631          |
| 5.2638        | 24.0  | 1320 | 5.6461          |
| 5.2638        | 25.0  | 1375 | 5.6326          |
| 5.2638        | 26.0  | 1430 | 5.6280          |
| 5.2638        | 27.0  | 1485 | 5.6408          |
| 4.5099        | 28.0  | 1540 | 5.6194          |
| 4.5099        | 29.0  | 1595 | 5.6255          |
| 4.5099        | 30.0  | 1650 | 5.6218          |
| 4.5099        | 31.0  | 1705 | 5.6127          |
| 4.5099        | 32.0  | 1760 | 5.6140          |
| 4.5099        | 33.0  | 1815 | 5.6281          |
| 4.5099        | 34.0  | 1870 | 5.6305          |
| 4.5099        | 35.0  | 1925 | 5.6139          |
| 4.5099        | 36.0  | 1980 | 5.6331          |
| 4.0571        | 37.0  | 2035 | 5.6323          |
| 4.0571        | 38.0  | 2090 | 5.6137          |
| 4.0571        | 39.0  | 2145 | 5.6258          |
| 4.0571        | 40.0  | 2200 | 5.6322          |
| 4.0571        | 41.0  | 2255 | 5.6392          |
| 4.0571        | 42.0  | 2310 | 5.6308          |
| 4.0571        | 43.0  | 2365 | 5.6329          |
| 4.0571        | 44.0  | 2420 | 5.6373          |
| 4.0571        | 45.0  | 2475 | 5.6407          |
| 3.7638        | 46.0  | 2530 | 5.6489          |
| 3.7638        | 47.0  | 2585 | 5.6489          |
| 3.7638        | 48.0  | 2640 | 5.6445          |
| 3.7638        | 49.0  | 2695 | 5.6428          |
| 3.7638        | 50.0  | 2750 | 5.6425          |
| 3.7638        | 51.0  | 2805 | 5.6450          |
| 3.7638        | 52.0  | 2860 | 5.6566          |
| 3.7638        | 53.0  | 2915 | 5.6504          |
| 3.7638        | 54.0  | 2970 | 5.6494          |
| 3.5759        | 55.0  | 3025 | 5.6538          |
| 3.5759        | 56.0  | 3080 | 5.6555          |
| 3.5759        | 57.0  | 3135 | 5.6529          |
| 3.5759        | 58.0  | 3190 | 5.6567          |
| 3.5759        | 59.0  | 3245 | 5.6551          |
| 3.5759        | 60.0  | 3300 | 5.6547          |


### Framework versions

- Transformers 4.40.0
- Pytorch 2.2.1
- Datasets 2.19.0
- Tokenizers 0.19.1