jteng commited on
Commit
e95ce68
·
verified ·
1 Parent(s): 857263e

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:75b5aa7a6fdf3ec287bbe7124c44b4c5f3ac0e719337956b7cc60a234481bd9a
3
+ size 435572084
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e01132b826b3fb4a68a914834b8f032cb45e6d2fe45d5621cdc8112063a524d
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:45155cd8fbe42905b1136134272cc2126b33f72c018fa7dfdf82a2e2f442f69e
3
+ size 14709
last-checkpoint/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d7865eee7e11831a5ec27a9400cfb3520c02399779bb774ad206f7e68a6919b
3
+ size 1383
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b17aa5d6c73651a640d233261f6dc085b55e462747813cdecf682031dca3b9c1
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.15020337537025133,
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.006008135014810053,
14
+ "grad_norm": 0.28159618377685547,
15
+ "learning_rate": 1.993997873120205e-05,
16
+ "loss": 0.039791435241699216,
17
+ "step": 1000
18
+ },
19
+ {
20
+ "epoch": 0.012016270029620106,
21
+ "grad_norm": 0.27963873744010925,
22
+ "learning_rate": 1.987989738105395e-05,
23
+ "loss": 0.013406887054443359,
24
+ "step": 2000
25
+ },
26
+ {
27
+ "epoch": 0.018024405044430158,
28
+ "grad_norm": 0.1824098527431488,
29
+ "learning_rate": 1.9819816030905847e-05,
30
+ "loss": 0.011888334274291992,
31
+ "step": 3000
32
+ },
33
+ {
34
+ "epoch": 0.02403254005924021,
35
+ "grad_norm": 0.05775546282529831,
36
+ "learning_rate": 1.9759734680757747e-05,
37
+ "loss": 0.010867915153503417,
38
+ "step": 4000
39
+ },
40
+ {
41
+ "epoch": 0.030040675074050265,
42
+ "grad_norm": 0.19803552329540253,
43
+ "learning_rate": 1.9699653330609646e-05,
44
+ "loss": 0.010083881378173828,
45
+ "step": 5000
46
+ },
47
+ {
48
+ "epoch": 0.036048810088860316,
49
+ "grad_norm": 0.12896831333637238,
50
+ "learning_rate": 1.9639571980461546e-05,
51
+ "loss": 0.00966361141204834,
52
+ "step": 6000
53
+ },
54
+ {
55
+ "epoch": 0.04205694510367037,
56
+ "grad_norm": 0.6413421630859375,
57
+ "learning_rate": 1.9579490630313446e-05,
58
+ "loss": 0.008476421356201172,
59
+ "step": 7000
60
+ },
61
+ {
62
+ "epoch": 0.04806508011848042,
63
+ "grad_norm": 0.11805196851491928,
64
+ "learning_rate": 1.9519409280165346e-05,
65
+ "loss": 0.007906205654144287,
66
+ "step": 8000
67
+ },
68
+ {
69
+ "epoch": 0.05407321513329048,
70
+ "grad_norm": 0.040534842759370804,
71
+ "learning_rate": 1.9459327930017245e-05,
72
+ "loss": 0.0074122328758239745,
73
+ "step": 9000
74
+ },
75
+ {
76
+ "epoch": 0.06008135014810053,
77
+ "grad_norm": 0.06514468789100647,
78
+ "learning_rate": 1.9399246579869145e-05,
79
+ "loss": 0.007668931007385254,
80
+ "step": 10000
81
+ },
82
+ {
83
+ "epoch": 0.06608948516291058,
84
+ "grad_norm": 0.08126974105834961,
85
+ "learning_rate": 1.9339165229721045e-05,
86
+ "loss": 0.0073463497161865236,
87
+ "step": 11000
88
+ },
89
+ {
90
+ "epoch": 0.07209762017772063,
91
+ "grad_norm": 0.039102599024772644,
92
+ "learning_rate": 1.9279083879572944e-05,
93
+ "loss": 0.007141438961029053,
94
+ "step": 12000
95
+ },
96
+ {
97
+ "epoch": 0.07810575519253068,
98
+ "grad_norm": 0.06889443099498749,
99
+ "learning_rate": 1.9219002529424844e-05,
100
+ "loss": 0.007544540882110596,
101
+ "step": 13000
102
+ },
103
+ {
104
+ "epoch": 0.08411389020734074,
105
+ "grad_norm": 0.07255677878856659,
106
+ "learning_rate": 1.915892117927674e-05,
107
+ "loss": 0.006774734020233155,
108
+ "step": 14000
109
+ },
110
+ {
111
+ "epoch": 0.09012202522215079,
112
+ "grad_norm": 0.023091433569788933,
113
+ "learning_rate": 1.909883982912864e-05,
114
+ "loss": 0.0069338750839233396,
115
+ "step": 15000
116
+ },
117
+ {
118
+ "epoch": 0.09613016023696085,
119
+ "grad_norm": 0.1270165592432022,
120
+ "learning_rate": 1.903875847898054e-05,
121
+ "loss": 0.00701435375213623,
122
+ "step": 16000
123
+ },
124
+ {
125
+ "epoch": 0.1021382952517709,
126
+ "grad_norm": 0.15874695777893066,
127
+ "learning_rate": 1.897867712883244e-05,
128
+ "loss": 0.006751162528991699,
129
+ "step": 17000
130
+ },
131
+ {
132
+ "epoch": 0.10814643026658095,
133
+ "grad_norm": 0.08524272590875626,
134
+ "learning_rate": 1.8918595778684343e-05,
135
+ "loss": 0.006433619022369385,
136
+ "step": 18000
137
+ },
138
+ {
139
+ "epoch": 0.11415456528139101,
140
+ "grad_norm": 0.21698658168315887,
141
+ "learning_rate": 1.885851442853624e-05,
142
+ "loss": 0.006751883029937744,
143
+ "step": 19000
144
+ },
145
+ {
146
+ "epoch": 0.12016270029620106,
147
+ "grad_norm": 0.11198020726442337,
148
+ "learning_rate": 1.879843307838814e-05,
149
+ "loss": 0.00636843204498291,
150
+ "step": 20000
151
+ },
152
+ {
153
+ "epoch": 0.12617083531101111,
154
+ "grad_norm": 0.09866310656070709,
155
+ "learning_rate": 1.873835172824004e-05,
156
+ "loss": 0.006680412292480469,
157
+ "step": 21000
158
+ },
159
+ {
160
+ "epoch": 0.13217897032582115,
161
+ "grad_norm": 0.19251540303230286,
162
+ "learning_rate": 1.8678270378091938e-05,
163
+ "loss": 0.005905144214630127,
164
+ "step": 22000
165
+ },
166
+ {
167
+ "epoch": 0.13818710534063122,
168
+ "grad_norm": 0.31331440806388855,
169
+ "learning_rate": 1.8618189027943838e-05,
170
+ "loss": 0.00654896879196167,
171
+ "step": 23000
172
+ },
173
+ {
174
+ "epoch": 0.14419524035544126,
175
+ "grad_norm": 0.22064490616321564,
176
+ "learning_rate": 1.8558107677795738e-05,
177
+ "loss": 0.005907167434692382,
178
+ "step": 24000
179
+ },
180
+ {
181
+ "epoch": 0.15020337537025133,
182
+ "grad_norm": 0.03742479160428047,
183
+ "learning_rate": 1.8498026327647637e-05,
184
+ "loss": 0.006362890720367432,
185
+ "step": 25000
186
+ }
187
+ ],
188
+ "logging_steps": 1000,
189
+ "max_steps": 332882,
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.3935858774275843e+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:be6761020919c034c49a3949d9d2c448a1ab9677b907efd411e84ba1e2de6e60
3
+ size 5265
run/progress.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "state": "training",
3
+ "global_step": 25000,
4
+ "max_steps": 332882,
5
+ "epoch": 0.15020337537025133,
6
+ "elapsed_seconds": 2059.358442038996,
7
+ "steps_per_second": 12.13970306948954,
8
+ "optimizer_updates_this_process": 25000,
9
+ "peak_cuda_GiB": 7.004195690155029,
10
+ "world_size": 1,
11
+ "effective_batch_size": 28,
12
+ "recent_metrics": [
13
+ {
14
+ "loss": 0.005905144214630127,
15
+ "grad_norm": 0.19251540303230286,
16
+ "learning_rate": 1.8678270378091938e-05,
17
+ "epoch": 0.13217897032582115,
18
+ "step": 22000
19
+ },
20
+ {
21
+ "loss": 0.00654896879196167,
22
+ "grad_norm": 0.31331440806388855,
23
+ "learning_rate": 1.8618189027943838e-05,
24
+ "epoch": 0.13818710534063122,
25
+ "step": 23000
26
+ },
27
+ {
28
+ "loss": 0.005907167434692382,
29
+ "grad_norm": 0.22064490616321564,
30
+ "learning_rate": 1.8558107677795738e-05,
31
+ "epoch": 0.14419524035544126,
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-v3/universal/mlm/checkpoint",
6
+ "initial_weights_sha256": "6d80d24b7a158cb7ab2cf5685855d9376bc2dd0bb33928393f0bdad2810dde31",
7
+ "data_manifest": {
8
+ "scope": "universal",
9
+ "bindings": {},
10
+ "split": "train",
11
+ "task": "segmentation",
12
+ "journal_sha256": "3d8ee3794cd8c89cc9d774464e0a7de5644acca4badbd735106ca585415e702a",
13
+ "files": 150000,
14
+ "smoke_only": false,
15
+ "encoding_implementation_sha256": "056d5d482d6346ba74c5d254e1dbb2673d6ef4e81c423d603181eabfeb1525c6",
16
+ "tokenizer_json_sha256": "61c4f9cd711448c6f71db41e93b6cbbe9fc3d0c994f3d427b0faecfd02e954df",
17
+ "registry_sha256": "a4b8e18336a717eab51984e105ed000b7bcd5877a574d55a64039ee280c9f52e",
18
+ "versions": {
19
+ "3.8": 15000,
20
+ "3.9": 15000,
21
+ "3.11": 15000,
22
+ "3.12": 15000,
23
+ "3.13": 15000,
24
+ "3.14": 15000,
25
+ "3.15": 15000,
26
+ "3.6": 15000,
27
+ "3.7": 15000,
28
+ "3.10": 15000
29
+ },
30
+ "corpora": {
31
+ "pypi": 135000,
32
+ "csn": 15000
33
+ },
34
+ "raw_examples": 2103993,
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": 4660343,
44
+ "dataset_fingerprint": "b9e87b14e3810e44",
45
+ "seconds": 1584.7981503600022
46
+ },
47
+ "tokenizer_registry_fingerprint": "f9c2bb012980c73dad7436b92c92474dae1b2764f468c8032d16b47ff0da167c",
48
+ "training_arguments": {
49
+ "output_dir": "/home/henryh/pylingual-runs-v3/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
+ }