augustocsc commited on
Commit
bcb4878
·
verified ·
1 Parent(s): 19409e6

Training in progress, epoch 1

Browse files
README.md CHANGED
@@ -5,18 +5,18 @@ base_model: gpt2
5
  tags:
6
  - generated_from_trainer
7
  model-index:
8
- - name: Se124M10KInfPrompt
9
  results: []
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
- # Se124M10KInfPrompt
16
 
17
  This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
- - Loss: 0.4227
20
 
21
  ## Model description
22
 
@@ -35,46 +35,68 @@ More information needed
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
- - learning_rate: 5e-05
39
- - train_batch_size: 32
40
- - eval_batch_size: 32
41
  - seed: 42
 
 
42
  - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
- - lr_scheduler_type: linear
 
44
  - num_epochs: 50
45
  - mixed_precision_training: Native AMP
 
46
 
47
  ### Training results
48
 
49
- | Training Loss | Epoch | Step | Validation Loss |
50
- |:-------------:|:-----:|:----:|:---------------:|
51
- | 0.5306 | 1.0 | 169 | 0.9535 |
52
- | 0.2161 | 2.0 | 338 | 0.6077 |
53
- | 0.1624 | 3.0 | 507 | 0.5296 |
54
- | 0.1515 | 4.0 | 676 | 0.4989 |
55
- | 0.1434 | 5.0 | 845 | 0.4825 |
56
- | 0.1366 | 6.0 | 1014 | 0.4712 |
57
- | 0.1328 | 7.0 | 1183 | 0.4663 |
58
- | 0.1294 | 8.0 | 1352 | 0.4613 |
59
- | 0.1258 | 9.0 | 1521 | 0.4544 |
60
- | 0.1259 | 10.0 | 1690 | 0.4544 |
61
- | 0.1238 | 11.0 | 1859 | 0.4471 |
62
- | 0.1216 | 12.0 | 2028 | 0.4424 |
63
- | 0.1214 | 13.0 | 2197 | 0.4420 |
64
- | 0.1194 | 14.0 | 2366 | 0.4382 |
65
- | 0.1191 | 15.0 | 2535 | 0.4363 |
66
- | 0.1183 | 16.0 | 2704 | 0.4350 |
67
- | 0.1181 | 17.0 | 2873 | 0.4336 |
68
- | 0.1168 | 18.0 | 3042 | 0.4298 |
69
- | 0.1165 | 19.0 | 3211 | 0.4292 |
70
- | 0.1158 | 20.0 | 3380 | 0.4277 |
71
- | 0.1157 | 21.0 | 3549 | 0.4296 |
72
- | 0.1144 | 22.0 | 3718 | 0.4256 |
73
- | 0.113 | 23.0 | 3887 | 0.4253 |
74
- | 0.1136 | 24.0 | 4056 | 0.4239 |
75
- | 0.1143 | 25.0 | 4225 | 0.4227 |
76
- | 0.1143 | 26.0 | 4394 | 0.4235 |
77
- | 0.1126 | 27.0 | 4563 | 0.4232 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
 
79
 
80
  ### Framework versions
 
5
  tags:
6
  - generated_from_trainer
7
  model-index:
8
+ - name: Se124M10KInfPrompt_endtoken_ls
9
  results: []
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
  should probably proofread and complete it, then remove this comment. -->
14
 
15
+ # Se124M10KInfPrompt_endtoken_ls
16
 
17
  This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
18
  It achieves the following results on the evaluation set:
19
+ - Loss: 2.0494
20
 
21
  ## Model description
22
 
 
35
  ### Training hyperparameters
36
 
37
  The following hyperparameters were used during training:
38
+ - learning_rate: 0.0005
39
+ - train_batch_size: 4
40
+ - eval_batch_size: 8
41
  - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 32
44
  - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_steps: 200
47
  - num_epochs: 50
48
  - mixed_precision_training: Native AMP
49
+ - label_smoothing_factor: 0.1
50
 
51
  ### Training results
52
 
53
+ | Training Loss | Epoch | Step | Validation Loss |
54
+ |:-------------:|:-----:|:-----:|:---------------:|
55
+ | 19.0863 | 1.0 | 267 | 2.1942 |
56
+ | 17.6413 | 2.0 | 534 | 2.1318 |
57
+ | 17.3454 | 3.0 | 801 | 2.1143 |
58
+ | 17.2455 | 4.0 | 1068 | 2.0979 |
59
+ | 17.112 | 5.0 | 1335 | 2.0918 |
60
+ | 17.0311 | 6.0 | 1602 | 2.0852 |
61
+ | 16.9714 | 7.0 | 1869 | 2.0805 |
62
+ | 16.8883 | 8.0 | 2136 | 2.0760 |
63
+ | 16.8675 | 9.0 | 2403 | 2.0727 |
64
+ | 16.8491 | 10.0 | 2670 | 2.0699 |
65
+ | 16.8653 | 11.0 | 2937 | 2.0698 |
66
+ | 16.7795 | 12.0 | 3204 | 2.0718 |
67
+ | 16.8033 | 13.0 | 3471 | 2.0635 |
68
+ | 16.7715 | 14.0 | 3738 | 2.0644 |
69
+ | 16.7677 | 15.0 | 4005 | 2.0632 |
70
+ | 16.7682 | 16.0 | 4272 | 2.0615 |
71
+ | 16.7473 | 17.0 | 4539 | 2.0598 |
72
+ | 16.7306 | 18.0 | 4806 | 2.0615 |
73
+ | 16.6896 | 19.0 | 5073 | 2.0586 |
74
+ | 16.7027 | 20.0 | 5340 | 2.0589 |
75
+ | 16.6991 | 21.0 | 5607 | 2.0581 |
76
+ | 16.6864 | 22.0 | 5874 | 2.0573 |
77
+ | 16.6749 | 23.0 | 6141 | 2.0562 |
78
+ | 16.6714 | 24.0 | 6408 | 2.0551 |
79
+ | 16.6603 | 25.0 | 6675 | 2.0546 |
80
+ | 16.6801 | 26.0 | 6942 | 2.0542 |
81
+ | 16.6263 | 27.0 | 7209 | 2.0541 |
82
+ | 16.6436 | 28.0 | 7476 | 2.0531 |
83
+ | 16.6471 | 29.0 | 7743 | 2.0523 |
84
+ | 16.6412 | 30.0 | 8010 | 2.0549 |
85
+ | 16.6017 | 31.0 | 8277 | 2.0529 |
86
+ | 16.6352 | 32.0 | 8544 | 2.0510 |
87
+ | 16.5937 | 33.0 | 8811 | 2.0522 |
88
+ | 16.6165 | 34.0 | 9078 | 2.0511 |
89
+ | 16.5961 | 35.0 | 9345 | 2.0518 |
90
+ | 16.5675 | 36.0 | 9612 | 2.0514 |
91
+ | 16.5565 | 37.0 | 9879 | 2.0499 |
92
+ | 16.6215 | 38.0 | 10146 | 2.0504 |
93
+ | 16.6133 | 39.0 | 10413 | 2.0505 |
94
+ | 16.5901 | 40.0 | 10680 | 2.0492 |
95
+ | 16.5841 | 41.0 | 10947 | 2.0500 |
96
+ | 16.5856 | 42.0 | 11214 | 2.0493 |
97
+ | 16.5775 | 43.0 | 11481 | 2.0494 |
98
+ | 16.5873 | 44.0 | 11748 | 2.0497 |
99
+ | 16.5285 | 45.0 | 12015 | 2.0494 |
100
 
101
 
102
  ### Framework versions
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe15433e25d5d1a4330d286e7867a8fd46a167aab6e8090f78279ae921a633e0
3
- size 309974336
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98d3be695217498ed522e545a6d2957d39588226441e55cf9056262af2b903e6
3
+ size 309980480
added_tokens.json CHANGED
@@ -1,4 +1,5 @@
1
  {
2
- "<|endofex|>": 50258,
3
- "<|startofex|>": 50257
 
4
  }
 
1
  {
2
+ "<endofex>": 50259,
3
+ "<pad>": 50257,
4
+ "<startofex>": 50258
5
  }
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
- "epoch": 27.0,
3
- "eval_loss": 0.4226756989955902,
4
- "eval_runtime": 11.3061,
5
- "eval_samples_per_second": 103.484,
6
- "eval_steps_per_second": 3.273,
7
- "perplexity": 1.5260393196260091,
8
- "total_flos": 9564196506697728.0,
9
- "train_loss": 0.13943315686140828,
10
- "train_runtime": 711.1376,
11
- "train_samples_per_second": 379.955,
12
- "train_steps_per_second": 11.882
13
  }
 
1
  {
2
+ "epoch": 45.0,
3
+ "eval_loss": 2.0493669509887695,
4
+ "eval_runtime": 3.2905,
5
+ "eval_samples_per_second": 555.532,
6
+ "eval_steps_per_second": 69.594,
7
+ "perplexity": 7.7629852003609585,
8
+ "total_flos": 1.975920863064883e+16,
9
+ "train_loss": 16.87015275197182,
10
+ "train_runtime": 3210.0048,
11
+ "train_samples_per_second": 132.835,
12
+ "train_steps_per_second": 4.143
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 27.0,
3
- "eval_loss": 0.4226756989955902,
4
- "eval_runtime": 11.3061,
5
- "eval_samples_per_second": 103.484,
6
- "eval_steps_per_second": 3.273,
7
- "perplexity": 1.5260393196260091
8
  }
 
1
  {
2
+ "epoch": 45.0,
3
+ "eval_loss": 2.0493669509887695,
4
+ "eval_runtime": 3.2905,
5
+ "eval_samples_per_second": 555.532,
6
+ "eval_steps_per_second": 69.594,
7
+ "perplexity": 7.7629852003609585
8
  }
special_tokens_map.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
  "additional_special_tokens": [
3
  {
4
- "content": "<|startofex|>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false
9
  },
10
  {
11
- "content": "<|endofex|>",
12
  "lstrip": false,
13
  "normalized": false,
14
  "rstrip": false,
@@ -17,12 +17,6 @@
17
  ],
18
  "bos_token": "<|endoftext|>",
19
  "eos_token": "<|endoftext|>",
20
- "pad_token": {
21
- "content": "<|endoftext|>",
22
- "lstrip": false,
23
- "normalized": false,
24
- "rstrip": false,
25
- "single_word": false
26
- },
27
  "unk_token": "<|endoftext|>"
28
  }
 
1
  {
2
  "additional_special_tokens": [
3
  {
4
+ "content": "<startofex>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
8
  "single_word": false
9
  },
10
  {
11
+ "content": "<endofex>",
12
  "lstrip": false,
13
  "normalized": false,
14
  "rstrip": false,
 
17
  ],
18
  "bos_token": "<|endoftext|>",
19
  "eos_token": "<|endoftext|>",
20
+ "pad_token": "<pad>",
 
 
 
 
 
 
21
  "unk_token": "<|endoftext|>"
22
  }
tokenizer.json CHANGED
@@ -14,12 +14,12 @@
14
  "single_word": false,
15
  "lstrip": false,
16
  "rstrip": false,
17
- "normalized": false,
18
  "special": true
19
  },
20
  {
21
  "id": 50257,
22
- "content": "<|startofex|>",
23
  "single_word": false,
24
  "lstrip": false,
25
  "rstrip": false,
@@ -28,7 +28,16 @@
28
  },
29
  {
30
  "id": 50258,
31
- "content": "<|endofex|>",
 
 
 
 
 
 
 
 
 
32
  "single_word": false,
33
  "lstrip": false,
34
  "rstrip": false,
 
14
  "single_word": false,
15
  "lstrip": false,
16
  "rstrip": false,
17
+ "normalized": true,
18
  "special": true
19
  },
20
  {
21
  "id": 50257,
22
+ "content": "<pad>",
23
  "single_word": false,
24
  "lstrip": false,
25
  "rstrip": false,
 
28
  },
29
  {
30
  "id": 50258,
31
+ "content": "<startofex>",
32
+ "single_word": false,
33
+ "lstrip": false,
34
+ "rstrip": false,
35
+ "normalized": false,
36
+ "special": true
37
+ },
38
+ {
39
+ "id": 50259,
40
+ "content": "<endofex>",
41
  "single_word": false,
42
  "lstrip": false,
43
  "rstrip": false,
tokenizer_config.json CHANGED
@@ -4,13 +4,13 @@
4
  "50256": {
5
  "content": "<|endoftext|>",
6
  "lstrip": false,
7
- "normalized": false,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
  "50257": {
13
- "content": "<|startofex|>",
14
  "lstrip": false,
15
  "normalized": false,
16
  "rstrip": false,
@@ -18,7 +18,15 @@
18
  "special": true
19
  },
20
  "50258": {
21
- "content": "<|endofex|>",
 
 
 
 
 
 
 
 
22
  "lstrip": false,
23
  "normalized": false,
24
  "rstrip": false,
@@ -27,15 +35,15 @@
27
  }
28
  },
29
  "additional_special_tokens": [
30
- "<|startofex|>",
31
- "<|endofex|>"
32
  ],
33
  "bos_token": "<|endoftext|>",
34
  "clean_up_tokenization_spaces": false,
35
  "eos_token": "<|endoftext|>",
36
  "extra_special_tokens": {},
37
  "model_max_length": 1024,
38
- "pad_token": "<|endoftext|>",
39
  "tokenizer_class": "GPT2Tokenizer",
40
  "unk_token": "<|endoftext|>"
41
  }
 
4
  "50256": {
5
  "content": "<|endoftext|>",
6
  "lstrip": false,
7
+ "normalized": true,
8
  "rstrip": false,
9
  "single_word": false,
10
  "special": true
11
  },
12
  "50257": {
13
+ "content": "<pad>",
14
  "lstrip": false,
15
  "normalized": false,
16
  "rstrip": false,
 
18
  "special": true
19
  },
20
  "50258": {
21
+ "content": "<startofex>",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "50259": {
29
+ "content": "<endofex>",
30
  "lstrip": false,
31
  "normalized": false,
32
  "rstrip": false,
 
35
  }
36
  },
37
  "additional_special_tokens": [
38
+ "<startofex>",
39
+ "<endofex>"
40
  ],
41
  "bos_token": "<|endoftext|>",
42
  "clean_up_tokenization_spaces": false,
43
  "eos_token": "<|endoftext|>",
44
  "extra_special_tokens": {},
45
  "model_max_length": 1024,
46
+ "pad_token": "<pad>",
47
  "tokenizer_class": "GPT2Tokenizer",
48
  "unk_token": "<|endoftext|>"
49
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 27.0,
3
- "total_flos": 9564196506697728.0,
4
- "train_loss": 0.13943315686140828,
5
- "train_runtime": 711.1376,
6
- "train_samples_per_second": 379.955,
7
- "train_steps_per_second": 11.882
8
  }
 
1
  {
2
+ "epoch": 45.0,
3
+ "total_flos": 1.975920863064883e+16,
4
+ "train_loss": 16.87015275197182,
5
+ "train_runtime": 3210.0048,
6
+ "train_samples_per_second": 132.835,
7
+ "train_steps_per_second": 4.143
8
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3f2d25c850399c646c236c39f3ec487e3c380f1174232e2fcbece86f800d0f6
3
  size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41324b928c15047f3014d419675156ca38c76cb52eec239a84bc17d7df167284
3
  size 5432