xiulinyang commited on
Commit
4e2d458
·
1 Parent(s): 22741a0

Adding model checkpoints and config files

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. checkpoint-0/config.json +38 -0
  2. checkpoint-0/pytorch_model.bin +3 -0
  3. checkpoint-0/special_tokens_map.json +1 -0
  4. checkpoint-0/tokenizer_config.json +1 -0
  5. checkpoint-0/training_args.bin +3 -0
  6. checkpoint-100/config.json +38 -0
  7. checkpoint-100/optimizer.pt +3 -0
  8. checkpoint-100/pytorch_model.bin +3 -0
  9. checkpoint-100/rng_state.pth +3 -0
  10. checkpoint-100/scaler.pt +3 -0
  11. checkpoint-100/scheduler.pt +3 -0
  12. checkpoint-100/special_tokens_map.json +1 -0
  13. checkpoint-100/tokenizer_config.json +1 -0
  14. checkpoint-100/trainer_state.json +34 -0
  15. checkpoint-100/training_args.bin +3 -0
  16. checkpoint-1000/config.json +38 -0
  17. checkpoint-1000/optimizer.pt +3 -0
  18. checkpoint-1000/pytorch_model.bin +3 -0
  19. checkpoint-1000/rng_state.pth +3 -0
  20. checkpoint-1000/scaler.pt +3 -0
  21. checkpoint-1000/scheduler.pt +3 -0
  22. checkpoint-1000/special_tokens_map.json +1 -0
  23. checkpoint-1000/tokenizer_config.json +1 -0
  24. checkpoint-1000/trainer_state.json +158 -0
  25. checkpoint-1000/training_args.bin +3 -0
  26. checkpoint-1100/config.json +38 -0
  27. checkpoint-1100/optimizer.pt +3 -0
  28. checkpoint-1100/pytorch_model.bin +3 -0
  29. checkpoint-1100/rng_state.pth +3 -0
  30. checkpoint-1100/scaler.pt +3 -0
  31. checkpoint-1100/scheduler.pt +3 -0
  32. checkpoint-1100/special_tokens_map.json +1 -0
  33. checkpoint-1100/tokenizer_config.json +1 -0
  34. checkpoint-1100/trainer_state.json +170 -0
  35. checkpoint-1100/training_args.bin +3 -0
  36. checkpoint-1200/config.json +38 -0
  37. checkpoint-1200/optimizer.pt +3 -0
  38. checkpoint-1200/pytorch_model.bin +3 -0
  39. checkpoint-1200/rng_state.pth +3 -0
  40. checkpoint-1200/scaler.pt +3 -0
  41. checkpoint-1200/scheduler.pt +3 -0
  42. checkpoint-1200/special_tokens_map.json +1 -0
  43. checkpoint-1200/tokenizer_config.json +1 -0
  44. checkpoint-1200/trainer_state.json +182 -0
  45. checkpoint-1200/training_args.bin +3 -0
  46. checkpoint-200/config.json +38 -0
  47. checkpoint-200/optimizer.pt +3 -0
  48. checkpoint-200/pytorch_model.bin +3 -0
  49. checkpoint-200/rng_state.pth +3 -0
  50. checkpoint-200/scaler.pt +3 -0
checkpoint-0/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": true,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": true,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.2,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 1024
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.18.0",
36
+ "use_cache": false,
37
+ "vocab_size": 64000
38
+ }
checkpoint-0/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6d9938f9842ab67a4ffdb8192f0ef1a92afea4592e39c9cede29e616f6bb617f
3
+ size 552615017
checkpoint-0/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
checkpoint-0/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tokenizer_class": "PassthroughTokenizer"}
checkpoint-0/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d79e71e7ebfe0ba7cddd2411de1a7a9f9c5324fb83fad0b27f11cc2ecf78f4d
3
+ size 3183
checkpoint-100/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": true,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": true,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.2,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 1024
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.18.0",
36
+ "use_cache": false,
37
+ "vocab_size": 64000
38
+ }
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95b0831d31438738fbe580bac666622ed94429f60377340f211ce731fb41d811
3
+ size 1080040817
checkpoint-100/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c295b0b5608077d93439f9d63bfa6356eeb9a295dd3b0f7e6661446de5a1b8c1
3
+ size 552615017
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:44d38398143180e2c7b4595e45e727dd4b9db3fc072bc738ddff7e23b9076743
3
+ size 14567
checkpoint-100/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13a3423b2fe42f204bc8fe2c666ff379f9fd753a0f13613064a5e71e86b519e8
3
+ size 559
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75e9b9d31d11c624d89b0c04ad496adf4b5addd3e703848d2583972c703e8da6
3
+ size 623
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tokenizer_class": "PassthroughTokenizer"}
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0183333333333335,
5
+ "global_step": 100,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.0,
12
+ "learning_rate": 4.9999999999999996e-06,
13
+ "loss": 11.1254,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.9373,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.02,
24
+ "learning_rate": 0.0005,
25
+ "loss": 7.7501,
26
+ "step": 100
27
+ }
28
+ ],
29
+ "max_steps": 1200,
30
+ "num_train_epochs": 9223372036854775807,
31
+ "total_flos": 2.7248578265088e+16,
32
+ "trial_name": null,
33
+ "trial_params": null
34
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d79e71e7ebfe0ba7cddd2411de1a7a9f9c5324fb83fad0b27f11cc2ecf78f4d
3
+ size 3183
checkpoint-1000/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": true,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": true,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.2,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 1024
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.18.0",
36
+ "use_cache": false,
37
+ "vocab_size": 64000
38
+ }
checkpoint-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ebd8522964f26e55df2f10364d223745289424439cc94085bdb82979f944b41
3
+ size 1080041009
checkpoint-1000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247855c31423bd5c7a45dbf6bd016cdb4a638825dbfffc6cf8fafc1b2332c581
3
+ size 552615017
checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ccde6059ea50589bf1b44294c33973f3c892a3984e386a78745b7e95c795cfc
3
+ size 14567
checkpoint-1000/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f810fc7b695697c440d8985f6042b4ba23a9e1027604c265718b518ca29f1b2b
3
+ size 559
checkpoint-1000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0691206f4bd9ca409d6e7104087a4e0eb05df8f8f555a400f6ecc532edba52d8
3
+ size 623
checkpoint-1000/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
checkpoint-1000/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tokenizer_class": "PassthroughTokenizer"}
checkpoint-1000/trainer_state.json ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 38.01,
5
+ "global_step": 1000,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.0,
12
+ "learning_rate": 4.9999999999999996e-06,
13
+ "loss": 11.1254,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.9373,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.02,
24
+ "learning_rate": 0.0005,
25
+ "loss": 7.7501,
26
+ "step": 100
27
+ },
28
+ {
29
+ "epoch": 5.02,
30
+ "learning_rate": 0.0005833333333333333,
31
+ "loss": 7.5554,
32
+ "step": 150
33
+ },
34
+ {
35
+ "epoch": 7.01,
36
+ "learning_rate": 0.0005555555555555556,
37
+ "loss": 7.3707,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 9.01,
42
+ "learning_rate": 0.0005277777777777777,
43
+ "loss": 7.1995,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 11.01,
48
+ "learning_rate": 0.0005,
49
+ "loss": 7.0101,
50
+ "step": 300
51
+ },
52
+ {
53
+ "epoch": 13.01,
54
+ "learning_rate": 0.00047222222222222224,
55
+ "loss": 6.7643,
56
+ "step": 350
57
+ },
58
+ {
59
+ "epoch": 15.01,
60
+ "learning_rate": 0.00044444444444444436,
61
+ "loss": 6.5143,
62
+ "step": 400
63
+ },
64
+ {
65
+ "epoch": 17.01,
66
+ "learning_rate": 0.00041666666666666664,
67
+ "loss": 6.2988,
68
+ "step": 450
69
+ },
70
+ {
71
+ "epoch": 19.0,
72
+ "learning_rate": 0.00038888888888888887,
73
+ "loss": 6.0872,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 21.0,
78
+ "learning_rate": 0.0003611111111111111,
79
+ "loss": 5.8851,
80
+ "step": 550
81
+ },
82
+ {
83
+ "epoch": 23.0,
84
+ "learning_rate": 0.0003333333333333333,
85
+ "loss": 5.7103,
86
+ "step": 600
87
+ },
88
+ {
89
+ "epoch": 24.02,
90
+ "learning_rate": 0.00030555555555555555,
91
+ "loss": 5.4879,
92
+ "step": 650
93
+ },
94
+ {
95
+ "epoch": 26.02,
96
+ "learning_rate": 0.0002777777777777778,
97
+ "loss": 5.4167,
98
+ "step": 700
99
+ },
100
+ {
101
+ "epoch": 28.02,
102
+ "learning_rate": 0.00025,
103
+ "loss": 5.289,
104
+ "step": 750
105
+ },
106
+ {
107
+ "epoch": 30.02,
108
+ "learning_rate": 0.00022222222222222218,
109
+ "loss": 5.1692,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 32.02,
114
+ "learning_rate": 0.00019444444444444443,
115
+ "loss": 5.0667,
116
+ "step": 850
117
+ },
118
+ {
119
+ "epoch": 34.01,
120
+ "learning_rate": 0.00016666666666666666,
121
+ "loss": 4.974,
122
+ "step": 900
123
+ },
124
+ {
125
+ "epoch": 36.01,
126
+ "learning_rate": 0.0001388888888888889,
127
+ "loss": 4.8927,
128
+ "step": 950
129
+ },
130
+ {
131
+ "epoch": 38.01,
132
+ "learning_rate": 0.00011111111111111109,
133
+ "loss": 4.8232,
134
+ "step": 1000
135
+ },
136
+ {
137
+ "epoch": 38.01,
138
+ "eval_loss": 6.224096298217773,
139
+ "eval_runtime": 1.093,
140
+ "eval_samples_per_second": 78.684,
141
+ "eval_steps_per_second": 5.49,
142
+ "step": 1000
143
+ },
144
+ {
145
+ "epoch": 38.01,
146
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_loss": 6.224096298217773,
147
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_ppl": 504.7666777328044,
148
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_runtime": 1.093,
149
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_samples_per_second": 78.684,
150
+ "step": 1000
151
+ }
152
+ ],
153
+ "max_steps": 1200,
154
+ "num_train_epochs": 9223372036854775807,
155
+ "total_flos": 2.73798513819648e+17,
156
+ "trial_name": null,
157
+ "trial_params": null
158
+ }
checkpoint-1000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d79e71e7ebfe0ba7cddd2411de1a7a9f9c5324fb83fad0b27f11cc2ecf78f4d
3
+ size 3183
checkpoint-1100/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": true,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": true,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.2,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 1024
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.18.0",
36
+ "use_cache": false,
37
+ "vocab_size": 64000
38
+ }
checkpoint-1100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a04ea1e7285a3d96ad8857603387d722fcead89015ad3f5b6651127929b23cc7
3
+ size 1080041009
checkpoint-1100/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ca8f39022cf81ff35f8652d2c1e4ef22c0d2a21bd981e6d7435f13d5d4137dd
3
+ size 552615017
checkpoint-1100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:168dbcc62126ec9f97e2483b9b89af15cedf2a44d8188827c66505215429e35d
3
+ size 14567
checkpoint-1100/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9fb16c30b686aa43e110b0d33f9d46bf3127b7124542ca8dc34831233d4675a0
3
+ size 559
checkpoint-1100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f1b7713e4bb40428f29080b7d08d4a52f779ac863737861e4724292b2cf6c59
3
+ size 623
checkpoint-1100/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
checkpoint-1100/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tokenizer_class": "PassthroughTokenizer"}
checkpoint-1100/trainer_state.json ADDED
@@ -0,0 +1,170 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 42.00666666666667,
5
+ "global_step": 1100,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.0,
12
+ "learning_rate": 4.9999999999999996e-06,
13
+ "loss": 11.1254,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.9373,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.02,
24
+ "learning_rate": 0.0005,
25
+ "loss": 7.7501,
26
+ "step": 100
27
+ },
28
+ {
29
+ "epoch": 5.02,
30
+ "learning_rate": 0.0005833333333333333,
31
+ "loss": 7.5554,
32
+ "step": 150
33
+ },
34
+ {
35
+ "epoch": 7.01,
36
+ "learning_rate": 0.0005555555555555556,
37
+ "loss": 7.3707,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 9.01,
42
+ "learning_rate": 0.0005277777777777777,
43
+ "loss": 7.1995,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 11.01,
48
+ "learning_rate": 0.0005,
49
+ "loss": 7.0101,
50
+ "step": 300
51
+ },
52
+ {
53
+ "epoch": 13.01,
54
+ "learning_rate": 0.00047222222222222224,
55
+ "loss": 6.7643,
56
+ "step": 350
57
+ },
58
+ {
59
+ "epoch": 15.01,
60
+ "learning_rate": 0.00044444444444444436,
61
+ "loss": 6.5143,
62
+ "step": 400
63
+ },
64
+ {
65
+ "epoch": 17.01,
66
+ "learning_rate": 0.00041666666666666664,
67
+ "loss": 6.2988,
68
+ "step": 450
69
+ },
70
+ {
71
+ "epoch": 19.0,
72
+ "learning_rate": 0.00038888888888888887,
73
+ "loss": 6.0872,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 21.0,
78
+ "learning_rate": 0.0003611111111111111,
79
+ "loss": 5.8851,
80
+ "step": 550
81
+ },
82
+ {
83
+ "epoch": 23.0,
84
+ "learning_rate": 0.0003333333333333333,
85
+ "loss": 5.7103,
86
+ "step": 600
87
+ },
88
+ {
89
+ "epoch": 24.02,
90
+ "learning_rate": 0.00030555555555555555,
91
+ "loss": 5.4879,
92
+ "step": 650
93
+ },
94
+ {
95
+ "epoch": 26.02,
96
+ "learning_rate": 0.0002777777777777778,
97
+ "loss": 5.4167,
98
+ "step": 700
99
+ },
100
+ {
101
+ "epoch": 28.02,
102
+ "learning_rate": 0.00025,
103
+ "loss": 5.289,
104
+ "step": 750
105
+ },
106
+ {
107
+ "epoch": 30.02,
108
+ "learning_rate": 0.00022222222222222218,
109
+ "loss": 5.1692,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 32.02,
114
+ "learning_rate": 0.00019444444444444443,
115
+ "loss": 5.0667,
116
+ "step": 850
117
+ },
118
+ {
119
+ "epoch": 34.01,
120
+ "learning_rate": 0.00016666666666666666,
121
+ "loss": 4.974,
122
+ "step": 900
123
+ },
124
+ {
125
+ "epoch": 36.01,
126
+ "learning_rate": 0.0001388888888888889,
127
+ "loss": 4.8927,
128
+ "step": 950
129
+ },
130
+ {
131
+ "epoch": 38.01,
132
+ "learning_rate": 0.00011111111111111109,
133
+ "loss": 4.8232,
134
+ "step": 1000
135
+ },
136
+ {
137
+ "epoch": 38.01,
138
+ "eval_loss": 6.224096298217773,
139
+ "eval_runtime": 1.093,
140
+ "eval_samples_per_second": 78.684,
141
+ "eval_steps_per_second": 5.49,
142
+ "step": 1000
143
+ },
144
+ {
145
+ "epoch": 38.01,
146
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_loss": 6.224096298217773,
147
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_ppl": 504.7666777328044,
148
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_runtime": 1.093,
149
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_samples_per_second": 78.684,
150
+ "step": 1000
151
+ },
152
+ {
153
+ "epoch": 40.01,
154
+ "learning_rate": 8.333333333333333e-05,
155
+ "loss": 4.764,
156
+ "step": 1050
157
+ },
158
+ {
159
+ "epoch": 42.01,
160
+ "learning_rate": 5.5555555555555545e-05,
161
+ "loss": 4.7157,
162
+ "step": 1100
163
+ }
164
+ ],
165
+ "max_steps": 1200,
166
+ "num_train_epochs": 9223372036854775807,
167
+ "total_flos": 3.01211183480832e+17,
168
+ "trial_name": null,
169
+ "trial_params": null
170
+ }
checkpoint-1100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d79e71e7ebfe0ba7cddd2411de1a7a9f9c5324fb83fad0b27f11cc2ecf78f4d
3
+ size 3183
checkpoint-1200/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": true,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": true,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.2,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 1024
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.18.0",
36
+ "use_cache": false,
37
+ "vocab_size": 64000
38
+ }
checkpoint-1200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9640e33417d9757387b0afef1981f30feb565588adb154bb8a6ab9cf67c287d
3
+ size 1080041009
checkpoint-1200/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:872925222354b943fb237b58df7a40e18c7f6948b9f6f4f842f04322113fef07
3
+ size 552615017
checkpoint-1200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7d6ca2370cb2b45eeeb60c22b23142120cf7ccfd8972f95f3b77ee44b9a42876
3
+ size 14567
checkpoint-1200/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19c7277eaca0850ae3e9b6790b3d002d820169cce0671185e672c28c8ae8e056
3
+ size 559
checkpoint-1200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:935a8fb09a6e9698d9894853b05e181b3f56098deaaecddde08e55f06bf000c4
3
+ size 623
checkpoint-1200/special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
checkpoint-1200/tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"tokenizer_class": "PassthroughTokenizer"}
checkpoint-1200/trainer_state.json ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 46.00333333333333,
5
+ "global_step": 1200,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.0,
12
+ "learning_rate": 4.9999999999999996e-06,
13
+ "loss": 11.1254,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.9373,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.02,
24
+ "learning_rate": 0.0005,
25
+ "loss": 7.7501,
26
+ "step": 100
27
+ },
28
+ {
29
+ "epoch": 5.02,
30
+ "learning_rate": 0.0005833333333333333,
31
+ "loss": 7.5554,
32
+ "step": 150
33
+ },
34
+ {
35
+ "epoch": 7.01,
36
+ "learning_rate": 0.0005555555555555556,
37
+ "loss": 7.3707,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 9.01,
42
+ "learning_rate": 0.0005277777777777777,
43
+ "loss": 7.1995,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 11.01,
48
+ "learning_rate": 0.0005,
49
+ "loss": 7.0101,
50
+ "step": 300
51
+ },
52
+ {
53
+ "epoch": 13.01,
54
+ "learning_rate": 0.00047222222222222224,
55
+ "loss": 6.7643,
56
+ "step": 350
57
+ },
58
+ {
59
+ "epoch": 15.01,
60
+ "learning_rate": 0.00044444444444444436,
61
+ "loss": 6.5143,
62
+ "step": 400
63
+ },
64
+ {
65
+ "epoch": 17.01,
66
+ "learning_rate": 0.00041666666666666664,
67
+ "loss": 6.2988,
68
+ "step": 450
69
+ },
70
+ {
71
+ "epoch": 19.0,
72
+ "learning_rate": 0.00038888888888888887,
73
+ "loss": 6.0872,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 21.0,
78
+ "learning_rate": 0.0003611111111111111,
79
+ "loss": 5.8851,
80
+ "step": 550
81
+ },
82
+ {
83
+ "epoch": 23.0,
84
+ "learning_rate": 0.0003333333333333333,
85
+ "loss": 5.7103,
86
+ "step": 600
87
+ },
88
+ {
89
+ "epoch": 24.02,
90
+ "learning_rate": 0.00030555555555555555,
91
+ "loss": 5.4879,
92
+ "step": 650
93
+ },
94
+ {
95
+ "epoch": 26.02,
96
+ "learning_rate": 0.0002777777777777778,
97
+ "loss": 5.4167,
98
+ "step": 700
99
+ },
100
+ {
101
+ "epoch": 28.02,
102
+ "learning_rate": 0.00025,
103
+ "loss": 5.289,
104
+ "step": 750
105
+ },
106
+ {
107
+ "epoch": 30.02,
108
+ "learning_rate": 0.00022222222222222218,
109
+ "loss": 5.1692,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 32.02,
114
+ "learning_rate": 0.00019444444444444443,
115
+ "loss": 5.0667,
116
+ "step": 850
117
+ },
118
+ {
119
+ "epoch": 34.01,
120
+ "learning_rate": 0.00016666666666666666,
121
+ "loss": 4.974,
122
+ "step": 900
123
+ },
124
+ {
125
+ "epoch": 36.01,
126
+ "learning_rate": 0.0001388888888888889,
127
+ "loss": 4.8927,
128
+ "step": 950
129
+ },
130
+ {
131
+ "epoch": 38.01,
132
+ "learning_rate": 0.00011111111111111109,
133
+ "loss": 4.8232,
134
+ "step": 1000
135
+ },
136
+ {
137
+ "epoch": 38.01,
138
+ "eval_loss": 6.224096298217773,
139
+ "eval_runtime": 1.093,
140
+ "eval_samples_per_second": 78.684,
141
+ "eval_steps_per_second": 5.49,
142
+ "step": 1000
143
+ },
144
+ {
145
+ "epoch": 38.01,
146
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_loss": 6.224096298217773,
147
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_ppl": 504.7666777328044,
148
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_runtime": 1.093,
149
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_samples_per_second": 78.684,
150
+ "step": 1000
151
+ },
152
+ {
153
+ "epoch": 40.01,
154
+ "learning_rate": 8.333333333333333e-05,
155
+ "loss": 4.764,
156
+ "step": 1050
157
+ },
158
+ {
159
+ "epoch": 42.01,
160
+ "learning_rate": 5.5555555555555545e-05,
161
+ "loss": 4.7157,
162
+ "step": 1100
163
+ },
164
+ {
165
+ "epoch": 44.01,
166
+ "learning_rate": 2.7777777777777772e-05,
167
+ "loss": 4.6788,
168
+ "step": 1150
169
+ },
170
+ {
171
+ "epoch": 46.0,
172
+ "learning_rate": 0.0,
173
+ "loss": 4.6542,
174
+ "step": 1200
175
+ }
176
+ ],
177
+ "max_steps": 1200,
178
+ "num_train_epochs": 9223372036854775807,
179
+ "total_flos": 3.28623853142016e+17,
180
+ "trial_name": null,
181
+ "trial_params": null
182
+ }
checkpoint-1200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d79e71e7ebfe0ba7cddd2411de1a7a9f9c5324fb83fad0b27f11cc2ecf78f4d
3
+ size 3183
checkpoint-200/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_function": "gelu_new",
3
+ "architectures": [
4
+ "GPT2LMHeadModel"
5
+ ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 0,
10
+ "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 1024,
14
+ "n_embd": 768,
15
+ "n_head": 12,
16
+ "n_inner": null,
17
+ "n_layer": 12,
18
+ "n_positions": 1024,
19
+ "reorder_and_upcast_attn": true,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": true,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.2,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
+ "task_specific_params": {
29
+ "text-generation": {
30
+ "do_sample": true,
31
+ "max_length": 1024
32
+ }
33
+ },
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.18.0",
36
+ "use_cache": false,
37
+ "vocab_size": 64000
38
+ }
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:46c38d293e19e8ea507f115c746c6b98dbbc03ede3e54880188b4e0307ef02b7
3
+ size 1080040817
checkpoint-200/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72d6e589131f0fcf474c69bcf7b853cf037859cd3c1cb4308a25b14e3200264f
3
+ size 552615017
checkpoint-200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30ffd0e797e91de51a2142a6db329c7d60f8dbdcd8fe416ade5d73eac8dc1936
3
+ size 14567
checkpoint-200/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb6982c29cd162f49aeb531674acf574eccd46a8f556bec596040d7c3b95200a
3
+ size 559