xiulinyang commited on
Commit
7307fa0
·
1 Parent(s): b01bbd9

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": 50257
38
+ }
checkpoint-0/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b4794ea0b9a495e87fc34e316efe1b585527d6e3d15e4d093362ab24ee74ab3f
3
+ size 510396521
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:c1246cf5e18070da7948fefcc7820aec8b0a60d030d56ab5ce5ddfdd1b0e451a
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": 50257
38
+ }
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b1dbd0db23c353965422608c28de08ce378f2cef69a5d2c8dd44a1e1950cbae5
3
+ size 995603825
checkpoint-100/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f652d4c966235fbcf326dc2df84034784094aea84ad413900782d1ae0e7bbcb3
3
+ size 510396521
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:409451256ec723db0162c3421c60776939bf008a4ee720ddafd5c2cf0797e714
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.0108333333333333,
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": 10.8955,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.1689,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.01,
24
+ "learning_rate": 0.0005,
25
+ "loss": 6.7154,
26
+ "step": 100
27
+ }
28
+ ],
29
+ "max_steps": 1200,
30
+ "num_train_epochs": 9223372036854775807,
31
+ "total_flos": 2.746963132416e+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:c1246cf5e18070da7948fefcc7820aec8b0a60d030d56ab5ce5ddfdd1b0e451a
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": 50257
38
+ }
checkpoint-1000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f332f4643aa0aded0948b19b605751e238f55a7be16ed8bb3bbda9cef8dbc5
3
+ size 995604017
checkpoint-1000/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38853167867e184456386c940191a63deeaf83e93416dbd1420621a54b8d464d
3
+ size 510396521
checkpoint-1000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20028d847d6f0ebc0564aa5b109f633042826016cd967a87e400b6096386e3d6
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": 34.01166666666666,
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": 10.8955,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.1689,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.01,
24
+ "learning_rate": 0.0005,
25
+ "loss": 6.7154,
26
+ "step": 100
27
+ },
28
+ {
29
+ "epoch": 5.0,
30
+ "learning_rate": 0.0005833333333333333,
31
+ "loss": 6.5645,
32
+ "step": 150
33
+ },
34
+ {
35
+ "epoch": 6.02,
36
+ "learning_rate": 0.0005555555555555556,
37
+ "loss": 6.3217,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 8.02,
42
+ "learning_rate": 0.0005277777777777777,
43
+ "loss": 6.2449,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 10.01,
48
+ "learning_rate": 0.0005,
49
+ "loss": 6.006,
50
+ "step": 300
51
+ },
52
+ {
53
+ "epoch": 12.0,
54
+ "learning_rate": 0.00047222222222222224,
55
+ "loss": 5.7678,
56
+ "step": 350
57
+ },
58
+ {
59
+ "epoch": 13.02,
60
+ "learning_rate": 0.00044444444444444436,
61
+ "loss": 5.2976,
62
+ "step": 400
63
+ },
64
+ {
65
+ "epoch": 15.01,
66
+ "learning_rate": 0.00041666666666666664,
67
+ "loss": 5.0428,
68
+ "step": 450
69
+ },
70
+ {
71
+ "epoch": 17.01,
72
+ "learning_rate": 0.00038888888888888887,
73
+ "loss": 4.7926,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 18.02,
78
+ "learning_rate": 0.0003611111111111111,
79
+ "loss": 4.5128,
80
+ "step": 550
81
+ },
82
+ {
83
+ "epoch": 20.02,
84
+ "learning_rate": 0.0003333333333333333,
85
+ "loss": 4.4343,
86
+ "step": 600
87
+ },
88
+ {
89
+ "epoch": 22.01,
90
+ "learning_rate": 0.00030555555555555555,
91
+ "loss": 4.2938,
92
+ "step": 650
93
+ },
94
+ {
95
+ "epoch": 24.0,
96
+ "learning_rate": 0.0002777777777777778,
97
+ "loss": 4.1808,
98
+ "step": 700
99
+ },
100
+ {
101
+ "epoch": 25.02,
102
+ "learning_rate": 0.00025,
103
+ "loss": 4.0149,
104
+ "step": 750
105
+ },
106
+ {
107
+ "epoch": 27.01,
108
+ "learning_rate": 0.00022222222222222218,
109
+ "loss": 4.0023,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 29.01,
114
+ "learning_rate": 0.00019444444444444443,
115
+ "loss": 3.9298,
116
+ "step": 850
117
+ },
118
+ {
119
+ "epoch": 31.0,
120
+ "learning_rate": 0.00016666666666666666,
121
+ "loss": 3.8642,
122
+ "step": 900
123
+ },
124
+ {
125
+ "epoch": 32.02,
126
+ "learning_rate": 0.0001388888888888889,
127
+ "loss": 3.747,
128
+ "step": 950
129
+ },
130
+ {
131
+ "epoch": 34.01,
132
+ "learning_rate": 0.00011111111111111109,
133
+ "loss": 3.7634,
134
+ "step": 1000
135
+ },
136
+ {
137
+ "epoch": 34.01,
138
+ "eval_loss": 4.5402936935424805,
139
+ "eval_runtime": 5.0343,
140
+ "eval_samples_per_second": 20.857,
141
+ "eval_steps_per_second": 1.39,
142
+ "step": 1000
143
+ },
144
+ {
145
+ "epoch": 34.01,
146
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_loss": 4.5402936935424805,
147
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_ppl": 93.7183205435465,
148
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_runtime": 5.0343,
149
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_samples_per_second": 20.857,
150
+ "step": 1000
151
+ }
152
+ ],
153
+ "max_steps": 1200,
154
+ "num_train_epochs": 9223372036854775807,
155
+ "total_flos": 2.7564741623808e+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:c1246cf5e18070da7948fefcc7820aec8b0a60d030d56ab5ce5ddfdd1b0e451a
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": 50257
38
+ }
checkpoint-1100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c492193868409d299e6d113aa630c0134099a57a8b5f1cb1640c32418d9ec08
3
+ size 995604017
checkpoint-1100/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:597872f13fd69a66d1cd70a8da4593d2438403477bf8aed64c4fa36fe2cb1988
3
+ size 510396521
checkpoint-1100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b498c3d24f764ff04eb2d7145a328566fc0f4ee260a3e57a14e3411bb5addc06
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": 37.0225,
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": 10.8955,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.1689,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.01,
24
+ "learning_rate": 0.0005,
25
+ "loss": 6.7154,
26
+ "step": 100
27
+ },
28
+ {
29
+ "epoch": 5.0,
30
+ "learning_rate": 0.0005833333333333333,
31
+ "loss": 6.5645,
32
+ "step": 150
33
+ },
34
+ {
35
+ "epoch": 6.02,
36
+ "learning_rate": 0.0005555555555555556,
37
+ "loss": 6.3217,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 8.02,
42
+ "learning_rate": 0.0005277777777777777,
43
+ "loss": 6.2449,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 10.01,
48
+ "learning_rate": 0.0005,
49
+ "loss": 6.006,
50
+ "step": 300
51
+ },
52
+ {
53
+ "epoch": 12.0,
54
+ "learning_rate": 0.00047222222222222224,
55
+ "loss": 5.7678,
56
+ "step": 350
57
+ },
58
+ {
59
+ "epoch": 13.02,
60
+ "learning_rate": 0.00044444444444444436,
61
+ "loss": 5.2976,
62
+ "step": 400
63
+ },
64
+ {
65
+ "epoch": 15.01,
66
+ "learning_rate": 0.00041666666666666664,
67
+ "loss": 5.0428,
68
+ "step": 450
69
+ },
70
+ {
71
+ "epoch": 17.01,
72
+ "learning_rate": 0.00038888888888888887,
73
+ "loss": 4.7926,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 18.02,
78
+ "learning_rate": 0.0003611111111111111,
79
+ "loss": 4.5128,
80
+ "step": 550
81
+ },
82
+ {
83
+ "epoch": 20.02,
84
+ "learning_rate": 0.0003333333333333333,
85
+ "loss": 4.4343,
86
+ "step": 600
87
+ },
88
+ {
89
+ "epoch": 22.01,
90
+ "learning_rate": 0.00030555555555555555,
91
+ "loss": 4.2938,
92
+ "step": 650
93
+ },
94
+ {
95
+ "epoch": 24.0,
96
+ "learning_rate": 0.0002777777777777778,
97
+ "loss": 4.1808,
98
+ "step": 700
99
+ },
100
+ {
101
+ "epoch": 25.02,
102
+ "learning_rate": 0.00025,
103
+ "loss": 4.0149,
104
+ "step": 750
105
+ },
106
+ {
107
+ "epoch": 27.01,
108
+ "learning_rate": 0.00022222222222222218,
109
+ "loss": 4.0023,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 29.01,
114
+ "learning_rate": 0.00019444444444444443,
115
+ "loss": 3.9298,
116
+ "step": 850
117
+ },
118
+ {
119
+ "epoch": 31.0,
120
+ "learning_rate": 0.00016666666666666666,
121
+ "loss": 3.8642,
122
+ "step": 900
123
+ },
124
+ {
125
+ "epoch": 32.02,
126
+ "learning_rate": 0.0001388888888888889,
127
+ "loss": 3.747,
128
+ "step": 950
129
+ },
130
+ {
131
+ "epoch": 34.01,
132
+ "learning_rate": 0.00011111111111111109,
133
+ "loss": 3.7634,
134
+ "step": 1000
135
+ },
136
+ {
137
+ "epoch": 34.01,
138
+ "eval_loss": 4.5402936935424805,
139
+ "eval_runtime": 5.0343,
140
+ "eval_samples_per_second": 20.857,
141
+ "eval_steps_per_second": 1.39,
142
+ "step": 1000
143
+ },
144
+ {
145
+ "epoch": 34.01,
146
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_loss": 4.5402936935424805,
147
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_ppl": 93.7183205435465,
148
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_runtime": 5.0343,
149
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_samples_per_second": 20.857,
150
+ "step": 1000
151
+ },
152
+ {
153
+ "epoch": 36.01,
154
+ "learning_rate": 8.333333333333333e-05,
155
+ "loss": 3.7216,
156
+ "step": 1050
157
+ },
158
+ {
159
+ "epoch": 37.02,
160
+ "learning_rate": 5.5555555555555545e-05,
161
+ "loss": 3.6231,
162
+ "step": 1100
163
+ }
164
+ ],
165
+ "max_steps": 1200,
166
+ "num_train_epochs": 9223372036854775807,
167
+ "total_flos": 3.0311704756224e+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:c1246cf5e18070da7948fefcc7820aec8b0a60d030d56ab5ce5ddfdd1b0e451a
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": 50257
38
+ }
checkpoint-1200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e17a9b524ff90732303b25f10c3e9007baa8c3a7aa6cae6a8ec26ab05bfc394
3
+ size 995604017
checkpoint-1200/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f28431ebc04471305544f66cbe239f2119b4bf1cd08403beea8aea8c2f1edb2
3
+ size 510396521
checkpoint-1200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b58bd534d85c6970f3f1390e4d8b03ac58be3946abc5575abb8d5ea2fffd26a
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": 41.009166666666665,
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": 10.8955,
14
+ "step": 1
15
+ },
16
+ {
17
+ "epoch": 1.02,
18
+ "learning_rate": 0.00025,
19
+ "loss": 8.1689,
20
+ "step": 50
21
+ },
22
+ {
23
+ "epoch": 3.01,
24
+ "learning_rate": 0.0005,
25
+ "loss": 6.7154,
26
+ "step": 100
27
+ },
28
+ {
29
+ "epoch": 5.0,
30
+ "learning_rate": 0.0005833333333333333,
31
+ "loss": 6.5645,
32
+ "step": 150
33
+ },
34
+ {
35
+ "epoch": 6.02,
36
+ "learning_rate": 0.0005555555555555556,
37
+ "loss": 6.3217,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 8.02,
42
+ "learning_rate": 0.0005277777777777777,
43
+ "loss": 6.2449,
44
+ "step": 250
45
+ },
46
+ {
47
+ "epoch": 10.01,
48
+ "learning_rate": 0.0005,
49
+ "loss": 6.006,
50
+ "step": 300
51
+ },
52
+ {
53
+ "epoch": 12.0,
54
+ "learning_rate": 0.00047222222222222224,
55
+ "loss": 5.7678,
56
+ "step": 350
57
+ },
58
+ {
59
+ "epoch": 13.02,
60
+ "learning_rate": 0.00044444444444444436,
61
+ "loss": 5.2976,
62
+ "step": 400
63
+ },
64
+ {
65
+ "epoch": 15.01,
66
+ "learning_rate": 0.00041666666666666664,
67
+ "loss": 5.0428,
68
+ "step": 450
69
+ },
70
+ {
71
+ "epoch": 17.01,
72
+ "learning_rate": 0.00038888888888888887,
73
+ "loss": 4.7926,
74
+ "step": 500
75
+ },
76
+ {
77
+ "epoch": 18.02,
78
+ "learning_rate": 0.0003611111111111111,
79
+ "loss": 4.5128,
80
+ "step": 550
81
+ },
82
+ {
83
+ "epoch": 20.02,
84
+ "learning_rate": 0.0003333333333333333,
85
+ "loss": 4.4343,
86
+ "step": 600
87
+ },
88
+ {
89
+ "epoch": 22.01,
90
+ "learning_rate": 0.00030555555555555555,
91
+ "loss": 4.2938,
92
+ "step": 650
93
+ },
94
+ {
95
+ "epoch": 24.0,
96
+ "learning_rate": 0.0002777777777777778,
97
+ "loss": 4.1808,
98
+ "step": 700
99
+ },
100
+ {
101
+ "epoch": 25.02,
102
+ "learning_rate": 0.00025,
103
+ "loss": 4.0149,
104
+ "step": 750
105
+ },
106
+ {
107
+ "epoch": 27.01,
108
+ "learning_rate": 0.00022222222222222218,
109
+ "loss": 4.0023,
110
+ "step": 800
111
+ },
112
+ {
113
+ "epoch": 29.01,
114
+ "learning_rate": 0.00019444444444444443,
115
+ "loss": 3.9298,
116
+ "step": 850
117
+ },
118
+ {
119
+ "epoch": 31.0,
120
+ "learning_rate": 0.00016666666666666666,
121
+ "loss": 3.8642,
122
+ "step": 900
123
+ },
124
+ {
125
+ "epoch": 32.02,
126
+ "learning_rate": 0.0001388888888888889,
127
+ "loss": 3.747,
128
+ "step": 950
129
+ },
130
+ {
131
+ "epoch": 34.01,
132
+ "learning_rate": 0.00011111111111111109,
133
+ "loss": 3.7634,
134
+ "step": 1000
135
+ },
136
+ {
137
+ "epoch": 34.01,
138
+ "eval_loss": 4.5402936935424805,
139
+ "eval_runtime": 5.0343,
140
+ "eval_samples_per_second": 20.857,
141
+ "eval_steps_per_second": 1.39,
142
+ "step": 1000
143
+ },
144
+ {
145
+ "epoch": 34.01,
146
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_loss": 4.5402936935424805,
147
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_ppl": 93.7183205435465,
148
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_runtime": 5.0343,
149
+ "eval_/scratch/ykyao/projects/multilingual-LM/training/multilingual_dataset.py_samples_per_second": 20.857,
150
+ "step": 1000
151
+ },
152
+ {
153
+ "epoch": 36.01,
154
+ "learning_rate": 8.333333333333333e-05,
155
+ "loss": 3.7216,
156
+ "step": 1050
157
+ },
158
+ {
159
+ "epoch": 37.02,
160
+ "learning_rate": 5.5555555555555545e-05,
161
+ "loss": 3.6231,
162
+ "step": 1100
163
+ },
164
+ {
165
+ "epoch": 39.02,
166
+ "learning_rate": 2.7777777777777772e-05,
167
+ "loss": 3.6623,
168
+ "step": 1150
169
+ },
170
+ {
171
+ "epoch": 41.01,
172
+ "learning_rate": 0.0,
173
+ "loss": 3.6417,
174
+ "step": 1200
175
+ }
176
+ ],
177
+ "max_steps": 1200,
178
+ "num_train_epochs": 9223372036854775807,
179
+ "total_flos": 3.3082445463552e+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:c1246cf5e18070da7948fefcc7820aec8b0a60d030d56ab5ce5ddfdd1b0e451a
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": 50257
38
+ }
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2b432c338f6a1115fe69d3a999182ab326a7f06d0d35ae86cc57c3e4a3e63489
3
+ size 995603825
checkpoint-200/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8764036a1e37c991da585d7ca792fce892eb2008cb6b83d2d09b9e7c0949eb7f
3
+ size 510396521
checkpoint-200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0659a702435c2471de444fe0ad5befa4e8e6fc9a0289d8950a5ea19abd7131f
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