fpadovani commited on
Commit
56aaba4
1 Parent(s): 97942d4

Training in progress, step 18000, checkpoint

Browse files
checkpoint-18000/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 5,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 4,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 128,
15
+ "n_embd": 128,
16
+ "n_head": 8,
17
+ "n_inner": null,
18
+ "n_layer": 8,
19
+ "n_positions": 128,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.2",
37
+ "use_cache": true,
38
+ "vocab_size": 16384
39
+ }
checkpoint-18000/generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 5,
4
+ "eos_token_id": 4,
5
+ "transformers_version": "4.45.2"
6
+ }
checkpoint-18000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f1be0cb2654fd9cc92dac30862086329e950504091740164237ccedf2431c05
3
+ size 14809584
checkpoint-18000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40ab8f65cf9785307119bcca29d1605c027f3c1f03e8777bb6752f52e51b9bb4
3
+ size 29680378
checkpoint-18000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1ca11525b9790ac3622cb9de2d8c12da4c57868a5ad0e46c67faa3056c256f3
3
+ size 13990
checkpoint-18000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:935d815435426794210ff176b8a57241d9254a5cd68f7dfd13eeffc7bf33508e
3
+ size 1192
checkpoint-18000/special_tokens_map.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[BOS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "[EOS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "[EOS]"
17
+ }
checkpoint-18000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-18000/tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[UNK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[PAD]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[EOS]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "[BOS]",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ }
51
+ },
52
+ "bos_token": "[BOS]",
53
+ "clean_up_tokenization_spaces": false,
54
+ "eos_token": "[EOS]",
55
+ "model_max_length": 1000000000000000019884624838656,
56
+ "pad_token": "[EOS]",
57
+ "tokenizer_class": "PreTrainedTokenizerFast"
58
+ }
checkpoint-18000/trainer_state.json ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.1552029848098755,
3
+ "best_model_checkpoint": "/Users/frapadovani/Desktop/babyLM_controlled/models_trained/convergence_french/random_sentence_french/checkpoint-18000",
4
+ "epoch": 0.032551376923243856,
5
+ "eval_steps": 2000,
6
+ "global_step": 18000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.003616819658138206,
13
+ "grad_norm": 0.14744240045547485,
14
+ "learning_rate": 0.0001,
15
+ "loss": 0.7697,
16
+ "step": 2000
17
+ },
18
+ {
19
+ "epoch": 0.003616819658138206,
20
+ "eval_loss": 0.19154727458953857,
21
+ "eval_runtime": 91.812,
22
+ "eval_samples_per_second": 397.933,
23
+ "eval_steps_per_second": 24.877,
24
+ "step": 2000
25
+ },
26
+ {
27
+ "epoch": 0.007233639316276412,
28
+ "grad_norm": 0.1623348593711853,
29
+ "learning_rate": 0.0001,
30
+ "loss": 0.1884,
31
+ "step": 4000
32
+ },
33
+ {
34
+ "epoch": 0.007233639316276412,
35
+ "eval_loss": 0.17771275341510773,
36
+ "eval_runtime": 99.0721,
37
+ "eval_samples_per_second": 368.772,
38
+ "eval_steps_per_second": 23.054,
39
+ "step": 4000
40
+ },
41
+ {
42
+ "epoch": 0.010850458974414617,
43
+ "grad_norm": 0.13657265901565552,
44
+ "learning_rate": 0.0001,
45
+ "loss": 0.178,
46
+ "step": 6000
47
+ },
48
+ {
49
+ "epoch": 0.010850458974414617,
50
+ "eval_loss": 0.16984443366527557,
51
+ "eval_runtime": 90.3285,
52
+ "eval_samples_per_second": 404.468,
53
+ "eval_steps_per_second": 25.285,
54
+ "step": 6000
55
+ },
56
+ {
57
+ "epoch": 0.014467278632552824,
58
+ "grad_norm": 0.15028506517410278,
59
+ "learning_rate": 0.0001,
60
+ "loss": 0.1714,
61
+ "step": 8000
62
+ },
63
+ {
64
+ "epoch": 0.014467278632552824,
65
+ "eval_loss": 0.16548627614974976,
66
+ "eval_runtime": 90.9787,
67
+ "eval_samples_per_second": 401.578,
68
+ "eval_steps_per_second": 25.105,
69
+ "step": 8000
70
+ },
71
+ {
72
+ "epoch": 0.01808409829069103,
73
+ "grad_norm": 0.17982865869998932,
74
+ "learning_rate": 0.0001,
75
+ "loss": 0.1669,
76
+ "step": 10000
77
+ },
78
+ {
79
+ "epoch": 0.01808409829069103,
80
+ "eval_loss": 0.16203773021697998,
81
+ "eval_runtime": 87.7097,
82
+ "eval_samples_per_second": 416.544,
83
+ "eval_steps_per_second": 26.04,
84
+ "step": 10000
85
+ },
86
+ {
87
+ "epoch": 0.021700917948829234,
88
+ "grad_norm": 0.14700624346733093,
89
+ "learning_rate": 0.0001,
90
+ "loss": 0.1647,
91
+ "step": 12000
92
+ },
93
+ {
94
+ "epoch": 0.021700917948829234,
95
+ "eval_loss": 0.1595447063446045,
96
+ "eval_runtime": 87.4086,
97
+ "eval_samples_per_second": 417.979,
98
+ "eval_steps_per_second": 26.13,
99
+ "step": 12000
100
+ },
101
+ {
102
+ "epoch": 0.02531773760696744,
103
+ "grad_norm": 0.1563248634338379,
104
+ "learning_rate": 0.0001,
105
+ "loss": 0.1608,
106
+ "step": 14000
107
+ },
108
+ {
109
+ "epoch": 0.02531773760696744,
110
+ "eval_loss": 0.1577664017677307,
111
+ "eval_runtime": 87.7156,
112
+ "eval_samples_per_second": 416.517,
113
+ "eval_steps_per_second": 26.039,
114
+ "step": 14000
115
+ },
116
+ {
117
+ "epoch": 0.02893455726510565,
118
+ "grad_norm": 0.1511106789112091,
119
+ "learning_rate": 0.0001,
120
+ "loss": 0.1601,
121
+ "step": 16000
122
+ },
123
+ {
124
+ "epoch": 0.02893455726510565,
125
+ "eval_loss": 0.15645398199558258,
126
+ "eval_runtime": 90.1398,
127
+ "eval_samples_per_second": 405.315,
128
+ "eval_steps_per_second": 25.338,
129
+ "step": 16000
130
+ },
131
+ {
132
+ "epoch": 0.032551376923243856,
133
+ "grad_norm": 0.16017386317253113,
134
+ "learning_rate": 0.0001,
135
+ "loss": 0.1607,
136
+ "step": 18000
137
+ },
138
+ {
139
+ "epoch": 0.032551376923243856,
140
+ "eval_loss": 0.1552029848098755,
141
+ "eval_runtime": 87.911,
142
+ "eval_samples_per_second": 415.591,
143
+ "eval_steps_per_second": 25.981,
144
+ "step": 18000
145
+ }
146
+ ],
147
+ "logging_steps": 2000,
148
+ "max_steps": 552972,
149
+ "num_input_tokens_seen": 0,
150
+ "num_train_epochs": 1,
151
+ "save_steps": 2000,
152
+ "stateful_callbacks": {
153
+ "EarlyStoppingCallback": {
154
+ "args": {
155
+ "early_stopping_patience": 3,
156
+ "early_stopping_threshold": 0.001
157
+ },
158
+ "attributes": {
159
+ "early_stopping_patience_counter": 0
160
+ }
161
+ },
162
+ "TrainerControl": {
163
+ "args": {
164
+ "should_epoch_stop": false,
165
+ "should_evaluate": false,
166
+ "should_log": false,
167
+ "should_save": true,
168
+ "should_training_stop": false
169
+ },
170
+ "attributes": {}
171
+ }
172
+ },
173
+ "total_flos": 350893375488000.0,
174
+ "train_batch_size": 16,
175
+ "trial_name": null,
176
+ "trial_params": null
177
+ }
checkpoint-18000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5e294196a968439ae6368c7b1ef6eb6e2124702ff760349c5ba2ea15623271d
3
+ size 5496