jteng commited on
Commit
754a3dc
·
verified ·
1 Parent(s): 31050b3

Checkpoint at step 25000

Browse files
last-checkpoint/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "RobertaForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 2,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": 3,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B",
16
+ "1": "I",
17
+ "2": "E"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "is_decoder": false,
22
+ "label2id": {
23
+ "B": 0,
24
+ "E": 2,
25
+ "I": 1
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 1026,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "tie_word_embeddings": true,
34
+ "transformers_version": "5.17.0",
35
+ "type_vocab_size": 1,
36
+ "use_cache": false,
37
+ "vocab_size": 30000
38
+ }
last-checkpoint/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cac5d4217019ae81b5e482158368a79b09f5e9d89e31fc836f72c99bda79334
3
+ size 435572084
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:13a839ef36270ae572ba9d19b724d1c781f3bde918ffcce05bd9098f519605da
3
+ size 871265995
last-checkpoint/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f8ad71a493a60d100df65b29804488ea14c1f5f0af4380d1a76de09be0400cf
3
+ size 14709
last-checkpoint/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:142ef600f6a27fe44e3f10886ab294f68e275f034e4158887c9a6c76e8fa82e8
3
+ size 1383
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72137b86535a1628646786ffc4abf7d79743a050e45b9be93de2e62273aa78d4
3
+ size 1465
last-checkpoint/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "is_local": true,
5
+ "local_files_only": false,
6
+ "mask_token": "[MASK]",
7
+ "model_max_length": 512,
8
+ "pad_token": "[PAD]",
9
+ "sep_token": "[SEP]",
10
+ "tokenizer_class": "TokenizersBackend",
11
+ "unk_token": "[UNK]"
12
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.22434804458244342,
6
+ "eval_steps": 500,
7
+ "global_step": 25000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.008973921783297737,
14
+ "grad_norm": 0.33037039637565613,
15
+ "learning_rate": 1.9910350521384857e-05,
16
+ "loss": 0.03789434051513672,
17
+ "step": 1000
18
+ },
19
+ {
20
+ "epoch": 0.017947843566595473,
21
+ "grad_norm": 0.25853854417800903,
22
+ "learning_rate": 1.982061130355188e-05,
23
+ "loss": 0.013779818534851074,
24
+ "step": 2000
25
+ },
26
+ {
27
+ "epoch": 0.026921765349893212,
28
+ "grad_norm": 0.4516044855117798,
29
+ "learning_rate": 1.9730872085718902e-05,
30
+ "loss": 0.011658077239990234,
31
+ "step": 3000
32
+ },
33
+ {
34
+ "epoch": 0.03589568713319095,
35
+ "grad_norm": 0.27093300223350525,
36
+ "learning_rate": 1.9641132867885924e-05,
37
+ "loss": 0.011314817428588867,
38
+ "step": 4000
39
+ },
40
+ {
41
+ "epoch": 0.04486960891648868,
42
+ "grad_norm": 0.33364230394363403,
43
+ "learning_rate": 1.9551393650052947e-05,
44
+ "loss": 0.010679372787475586,
45
+ "step": 5000
46
+ },
47
+ {
48
+ "epoch": 0.053843530699786424,
49
+ "grad_norm": 0.16796977818012238,
50
+ "learning_rate": 1.946165443221997e-05,
51
+ "loss": 0.010559255599975587,
52
+ "step": 6000
53
+ },
54
+ {
55
+ "epoch": 0.06281745248308415,
56
+ "grad_norm": 0.24197548627853394,
57
+ "learning_rate": 1.9371915214386994e-05,
58
+ "loss": 0.00950316047668457,
59
+ "step": 7000
60
+ },
61
+ {
62
+ "epoch": 0.0717913742663819,
63
+ "grad_norm": 0.14993077516555786,
64
+ "learning_rate": 1.9282175996554017e-05,
65
+ "loss": 0.009408995628356934,
66
+ "step": 8000
67
+ },
68
+ {
69
+ "epoch": 0.08076529604967964,
70
+ "grad_norm": 0.11816033720970154,
71
+ "learning_rate": 1.919243677872104e-05,
72
+ "loss": 0.009027628898620606,
73
+ "step": 9000
74
+ },
75
+ {
76
+ "epoch": 0.08973921783297736,
77
+ "grad_norm": 0.1719389259815216,
78
+ "learning_rate": 1.910269756088806e-05,
79
+ "loss": 0.009426210403442383,
80
+ "step": 10000
81
+ },
82
+ {
83
+ "epoch": 0.0987131396162751,
84
+ "grad_norm": 0.1360953450202942,
85
+ "learning_rate": 1.9012958343055083e-05,
86
+ "loss": 0.009104342460632324,
87
+ "step": 11000
88
+ },
89
+ {
90
+ "epoch": 0.10768706139957285,
91
+ "grad_norm": 0.06206025555729866,
92
+ "learning_rate": 1.8923219125222106e-05,
93
+ "loss": 0.008352899551391601,
94
+ "step": 12000
95
+ },
96
+ {
97
+ "epoch": 0.11666098318287058,
98
+ "grad_norm": 0.15709532797336578,
99
+ "learning_rate": 1.8833479907389128e-05,
100
+ "loss": 0.008480835914611816,
101
+ "step": 13000
102
+ },
103
+ {
104
+ "epoch": 0.1256349049661683,
105
+ "grad_norm": 0.0469730943441391,
106
+ "learning_rate": 1.874374068955615e-05,
107
+ "loss": 0.008841578483581542,
108
+ "step": 14000
109
+ },
110
+ {
111
+ "epoch": 0.13460882674946606,
112
+ "grad_norm": 0.10798416286706924,
113
+ "learning_rate": 1.8654001471723173e-05,
114
+ "loss": 0.007802660942077637,
115
+ "step": 15000
116
+ },
117
+ {
118
+ "epoch": 0.1435827485327638,
119
+ "grad_norm": 0.2478102445602417,
120
+ "learning_rate": 1.8564262253890198e-05,
121
+ "loss": 0.008010940551757812,
122
+ "step": 16000
123
+ },
124
+ {
125
+ "epoch": 0.15255667031606152,
126
+ "grad_norm": 0.07526202499866486,
127
+ "learning_rate": 1.847452303605722e-05,
128
+ "loss": 0.007590078353881836,
129
+ "step": 17000
130
+ },
131
+ {
132
+ "epoch": 0.16153059209935927,
133
+ "grad_norm": 0.07600021362304688,
134
+ "learning_rate": 1.8384783818224243e-05,
135
+ "loss": 0.007824321746826172,
136
+ "step": 18000
137
+ },
138
+ {
139
+ "epoch": 0.170504513882657,
140
+ "grad_norm": 0.29842057824134827,
141
+ "learning_rate": 1.8295044600391265e-05,
142
+ "loss": 0.007807789802551269,
143
+ "step": 19000
144
+ },
145
+ {
146
+ "epoch": 0.17947843566595473,
147
+ "grad_norm": 0.10653794556856155,
148
+ "learning_rate": 1.8205305382558287e-05,
149
+ "loss": 0.007639691352844238,
150
+ "step": 20000
151
+ },
152
+ {
153
+ "epoch": 0.18845235744925248,
154
+ "grad_norm": 0.06910482794046402,
155
+ "learning_rate": 1.811556616472531e-05,
156
+ "loss": 0.007515210628509522,
157
+ "step": 21000
158
+ },
159
+ {
160
+ "epoch": 0.1974262792325502,
161
+ "grad_norm": 0.16985926032066345,
162
+ "learning_rate": 1.8025826946892332e-05,
163
+ "loss": 0.0072183809280395505,
164
+ "step": 22000
165
+ },
166
+ {
167
+ "epoch": 0.20640020101584794,
168
+ "grad_norm": 0.06372617185115814,
169
+ "learning_rate": 1.7936087729059354e-05,
170
+ "loss": 0.007586489200592041,
171
+ "step": 23000
172
+ },
173
+ {
174
+ "epoch": 0.2153741227991457,
175
+ "grad_norm": 0.10739276558160782,
176
+ "learning_rate": 1.7846348511226376e-05,
177
+ "loss": 0.007523987293243408,
178
+ "step": 24000
179
+ },
180
+ {
181
+ "epoch": 0.22434804458244342,
182
+ "grad_norm": 0.26272839307785034,
183
+ "learning_rate": 1.7756609293393402e-05,
184
+ "loss": 0.007269514083862305,
185
+ "step": 25000
186
+ }
187
+ ],
188
+ "logging_steps": 1000,
189
+ "max_steps": 222868,
190
+ "num_input_tokens_seen": 0,
191
+ "num_train_epochs": 2,
192
+ "save_steps": 25000,
193
+ "stateful_callbacks": {
194
+ "TrainerControl": {
195
+ "args": {
196
+ "should_epoch_stop": false,
197
+ "should_evaluate": false,
198
+ "should_log": false,
199
+ "should_save": true,
200
+ "should_training_stop": false
201
+ },
202
+ "attributes": {}
203
+ }
204
+ },
205
+ "total_flos": 1.3942920791249504e+17,
206
+ "train_batch_size": 28,
207
+ "trial_name": null,
208
+ "trial_params": null
209
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a51c92f6db25fd6ad2cad374d433e30010b208658c7c29e406e4f829180f547
3
+ size 5265
run/progress.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "training",
3
+ "global_step": 25000,
4
+ "max_steps": 222868,
5
+ "epoch": 0.22434804458244342,
6
+ "elapsed_seconds": 2063.0038914799807,
7
+ "steps_per_second": 12.118251498820596,
8
+ "optimizer_updates_this_process": 25000,
9
+ "peak_cuda_GiB": 6.995599746704102,
10
+ "world_size": 1,
11
+ "effective_batch_size": 28,
12
+ "recent_metrics": [
13
+ {
14
+ "loss": 0.0072183809280395505,
15
+ "grad_norm": 0.16985926032066345,
16
+ "learning_rate": 1.8025826946892332e-05,
17
+ "epoch": 0.1974262792325502,
18
+ "step": 22000
19
+ },
20
+ {
21
+ "loss": 0.007586489200592041,
22
+ "grad_norm": 0.06372617185115814,
23
+ "learning_rate": 1.7936087729059354e-05,
24
+ "epoch": 0.20640020101584794,
25
+ "step": 23000
26
+ },
27
+ {
28
+ "loss": 0.007523987293243408,
29
+ "grad_norm": 0.10739276558160782,
30
+ "learning_rate": 1.7846348511226376e-05,
31
+ "epoch": 0.2153741227991457,
32
+ "step": 24000
33
+ }
34
+ ]
35
+ }
run/provenance.json ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "scope": "universal",
3
+ "ordinary_version": null,
4
+ "task": "segmentation",
5
+ "initialization": "/home/henryh/pylingual-runs-v2/universal/mlm/checkpoint",
6
+ "initial_weights_sha256": "1408a069313fafb578001d2bd04224b502b74155dc9c703fb46776eb0ebab40c",
7
+ "data_manifest": {
8
+ "scope": "universal",
9
+ "bindings": {},
10
+ "split": "train",
11
+ "task": "segmentation",
12
+ "journal_sha256": "207467ab130ca1468dcf81c26765cec7626d394d9687b6f128ed427643f0ad03",
13
+ "files": 100000,
14
+ "smoke_only": false,
15
+ "encoding_implementation_sha256": "056d5d482d6346ba74c5d254e1dbb2673d6ef4e81c423d603181eabfeb1525c6",
16
+ "tokenizer_json_sha256": "61c4f9cd711448c6f71db41e93b6cbbe9fc3d0c994f3d427b0faecfd02e954df",
17
+ "registry_sha256": "a4b8e18336a717eab51984e105ed000b7bcd5877a574d55a64039ee280c9f52e",
18
+ "versions": {
19
+ "3.8": 10000,
20
+ "3.9": 10000,
21
+ "3.11": 10000,
22
+ "3.12": 10000,
23
+ "3.13": 10000,
24
+ "3.14": 10000,
25
+ "3.15": 10000,
26
+ "3.6": 10000,
27
+ "3.7": 10000,
28
+ "3.10": 10000
29
+ },
30
+ "corpora": {
31
+ "pypi": 90000,
32
+ "csn": 10000
33
+ },
34
+ "raw_examples": 1410800,
35
+ "all_converter_rows": true,
36
+ "limits": {
37
+ "statement_input": 256,
38
+ "statement_target": 256,
39
+ "segmentation_window": 512,
40
+ "stride": 128
41
+ },
42
+ "complete": true,
43
+ "encoded_rows": 3120145,
44
+ "dataset_fingerprint": "46ecfcc7ad23849e",
45
+ "seconds": 1019.3442499189987
46
+ },
47
+ "tokenizer_registry_fingerprint": "f9c2bb012980c73dad7436b92c92474dae1b2764f468c8032d16b47ff0da167c",
48
+ "training_arguments": {
49
+ "output_dir": "/home/henryh/pylingual-runs-v2/universal/segmentation/training",
50
+ "per_device_train_batch_size": 28,
51
+ "num_train_epochs": 2,
52
+ "max_steps": -1,
53
+ "learning_rate": 2e-05,
54
+ "lr_scheduler_type": "linear",
55
+ "lr_scheduler_kwargs": null,
56
+ "warmup_steps": 0,
57
+ "optim": "adamw_torch_fused",
58
+ "optim_args": null,
59
+ "weight_decay": 0.01,
60
+ "adam_beta1": 0.9,
61
+ "adam_beta2": 0.999,
62
+ "adam_epsilon": 1e-08,
63
+ "optim_target_modules": null,
64
+ "gradient_accumulation_steps": 1,
65
+ "average_tokens_across_devices": true,
66
+ "max_grad_norm": 1.0,
67
+ "label_smoothing_factor": 0.0,
68
+ "bf16": false,
69
+ "fp16": true,
70
+ "bf16_full_eval": false,
71
+ "fp16_full_eval": false,
72
+ "tf32": null,
73
+ "gradient_checkpointing": false,
74
+ "gradient_checkpointing_kwargs": null,
75
+ "torch_compile": false,
76
+ "torch_compile_backend": null,
77
+ "torch_compile_mode": null,
78
+ "use_liger_kernel": false,
79
+ "liger_kernel_config": null,
80
+ "use_cache": false,
81
+ "neftune_noise_alpha": null,
82
+ "torch_empty_cache_steps": null,
83
+ "auto_find_batch_size": false,
84
+ "logging_strategy": "steps",
85
+ "logging_steps": 1000,
86
+ "logging_first_step": false,
87
+ "log_on_each_node": true,
88
+ "logging_nan_inf_filter": false,
89
+ "include_num_input_tokens_seen": "no",
90
+ "log_level": "passive",
91
+ "log_level_replica": "warning",
92
+ "disable_tqdm": true,
93
+ "report_to": [],
94
+ "run_name": null,
95
+ "project": "huggingface",
96
+ "trackio_space_id": null,
97
+ "trackio_bucket_id": null,
98
+ "trackio_static_space_id": null,
99
+ "eval_strategy": "no",
100
+ "eval_steps": null,
101
+ "eval_delay": 0,
102
+ "per_device_eval_batch_size": 8,
103
+ "prediction_loss_only": false,
104
+ "eval_on_start": false,
105
+ "eval_do_concat_batches": true,
106
+ "eval_use_gather_object": false,
107
+ "eval_accumulation_steps": null,
108
+ "include_for_metrics": [],
109
+ "batch_eval_metrics": false,
110
+ "save_only_model": false,
111
+ "save_strategy": "steps",
112
+ "save_steps": 25000,
113
+ "save_on_each_node": false,
114
+ "save_total_limit": 2,
115
+ "enable_jit_checkpoint": false,
116
+ "push_to_hub": false,
117
+ "hub_token": "<HUB_TOKEN>",
118
+ "hub_private_repo": null,
119
+ "hub_model_id": null,
120
+ "hub_strategy": "every_save",
121
+ "hub_always_push": false,
122
+ "hub_revision": null,
123
+ "load_best_model_at_end": false,
124
+ "metric_for_best_model": null,
125
+ "greater_is_better": null,
126
+ "ignore_data_skip": false,
127
+ "restore_callback_states_from_checkpoint": false,
128
+ "full_determinism": false,
129
+ "seed": 20261020,
130
+ "data_seed": null,
131
+ "use_cpu": false,
132
+ "accelerator_config": {
133
+ "split_batches": false,
134
+ "dispatch_batches": null,
135
+ "even_batches": true,
136
+ "use_seedable_sampler": true,
137
+ "non_blocking": false,
138
+ "gradient_accumulation_kwargs": null
139
+ },
140
+ "parallelism_config": null,
141
+ "dataloader_drop_last": false,
142
+ "dataloader_num_workers": 2,
143
+ "dataloader_pin_memory": true,
144
+ "dataloader_persistent_workers": false,
145
+ "dataloader_prefetch_factor": null,
146
+ "dataloader_multiprocessing_context": null,
147
+ "dataloader_in_order": true,
148
+ "remove_unused_columns": false,
149
+ "label_names": null,
150
+ "train_sampling_strategy": "random",
151
+ "length_column_name": "length",
152
+ "ddp_find_unused_parameters": false,
153
+ "ddp_bucket_cap_mb": null,
154
+ "ddp_broadcast_buffers": null,
155
+ "ddp_static_graph": null,
156
+ "ddp_backend": null,
157
+ "ddp_timeout": 1800,
158
+ "fsdp": null,
159
+ "fsdp_config": null,
160
+ "deepspeed": null,
161
+ "debug": [],
162
+ "skip_memory_metrics": true,
163
+ "do_train": false,
164
+ "do_eval": false,
165
+ "do_predict": false,
166
+ "resume_from_checkpoint": null,
167
+ "local_rank": -1
168
+ },
169
+ "original_vocab": 30000,
170
+ "vocab": 30000,
171
+ "torch": "2.14.0+cu130",
172
+ "transformers": "5.17.0",
173
+ "python": "3.12.16",
174
+ "hostname": "triplesec2-gpu",
175
+ "smoke_only": false,
176
+ "script_sha256": "17f913ee64b251de916f17ee30c6b593748803bb912c97b19d30f7f9de2bac06",
177
+ "world_size": 1,
178
+ "loss_normalization": "global-supervised-token-mean-v1",
179
+ "loss_normalization_sha256": "3d8e6217caddd6b6e66f35df704c9fa7b7fb0b29849e84fa2cb91d597383c274"
180
+ }
run/resume-verification.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "global_step": 0,
3
+ "world_size": 1,
4
+ "effective_batch_size": 28,
5
+ "optimizer_state_entries": 0,
6
+ "optimizer_step_min": null,
7
+ "optimizer_step_max": null,
8
+ "scheduler_last_epoch": 0,
9
+ "scaler": {
10
+ "scale": 65536.0,
11
+ "growth_factor": 2.0,
12
+ "backoff_factor": 0.5,
13
+ "growth_interval": 2000,
14
+ "_growth_tracker": 0
15
+ }
16
+ }