diff --git a/checkpoint-100/config.json b/checkpoint-100/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-100/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-100/generation_config.json b/checkpoint-100/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-100/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-100/model.safetensors b/checkpoint-100/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..261d7a72d625243eda96b24823f4b85c2a3e4d9c --- /dev/null +++ b/checkpoint-100/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f927f8d4885457b7e4a078b38df051b0a0d42821a1eb2536418a7f10cbb3523e +size 1476 diff --git a/checkpoint-100/optimizer.pt b/checkpoint-100/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..b301f569f02437bec2ccf876982b2c072c09f849 --- /dev/null +++ b/checkpoint-100/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:53a1e772436ea3d9ca60697fd61cb7a423cb96b621a51eb795cfa5a73b56f206 +size 13823 diff --git a/checkpoint-100/rng_state.pth b/checkpoint-100/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..b9f753a9e6e82ed58582c97aeb6ca7b9a321e388 --- /dev/null +++ b/checkpoint-100/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:656c952bc98f1ba6483f4b602ab79d3a7eb64d231d7b2b6ae517f06e7e137155 +size 14455 diff --git a/checkpoint-100/scheduler.pt b/checkpoint-100/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..93827c74dfb24bc34f024564e660c15d8bd26d10 --- /dev/null +++ b/checkpoint-100/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:020d4bf8d4465c2a1ed676a5debf1d4d7d4c2928299260126c8103e7b8f781f1 +size 1465 diff --git a/checkpoint-100/tokenizer.json b/checkpoint-100/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-100/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-100/tokenizer_config.json b/checkpoint-100/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-100/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-100/trainer_state.json b/checkpoint-100/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..020fdf7170a14adc940d01b0e0dda84e4915069a --- /dev/null +++ b/checkpoint-100/trainer_state.json @@ -0,0 +1,104 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 12.5, + "eval_steps": 500, + "global_step": 100, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 5405184.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-100/training_args.bin b/checkpoint-100/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-100/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-150/config.json b/checkpoint-150/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-150/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-150/generation_config.json b/checkpoint-150/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-150/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-150/model.safetensors b/checkpoint-150/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..eba57f813badc4ea121d4c382b781a38a9c03fb3 --- /dev/null +++ b/checkpoint-150/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32eff4e377c9154406c6531317ef9fe6fc7c87cbd462ae8c22ce79bf4d0a2364 +size 1476 diff --git a/checkpoint-150/optimizer.pt b/checkpoint-150/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..1f6737a62cb480d03e73ae9ad9fb370b2f1070b6 --- /dev/null +++ b/checkpoint-150/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e369a422da25bd5901a3ae44e654f670635dd373d294a4901a53c0e8817ad956 +size 13823 diff --git a/checkpoint-150/rng_state.pth b/checkpoint-150/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..5a93c77247abec2812a13bf70a70c37d87c71e09 --- /dev/null +++ b/checkpoint-150/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9b5fdf389d8144a43074a17a83045fcaacf31701f4eb93ca74497b6fb1054c0 +size 14455 diff --git a/checkpoint-150/scheduler.pt b/checkpoint-150/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..c1cda1e20c3a7df2eeaac6d52b09ab02b5aa2bab --- /dev/null +++ b/checkpoint-150/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d473e01573c435c93b9926bad634d71a4f933f621580066f41ec91a5f0b8451e +size 1465 diff --git a/checkpoint-150/tokenizer.json b/checkpoint-150/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-150/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-150/tokenizer_config.json b/checkpoint-150/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-150/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-150/trainer_state.json b/checkpoint-150/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..e60795f20b3acc97afdfd92927b27955adef8ae6 --- /dev/null +++ b/checkpoint-150/trainer_state.json @@ -0,0 +1,139 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 18.75, + "eval_steps": 500, + "global_step": 150, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 8107776.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-150/training_args.bin b/checkpoint-150/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-150/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-200/config.json b/checkpoint-200/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-200/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-200/generation_config.json b/checkpoint-200/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-200/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-200/model.safetensors b/checkpoint-200/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..4cb038b4f675416ede0e5819b7949162a4efb9f9 --- /dev/null +++ b/checkpoint-200/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f025fd5de3bb085eb395da425fca96a02fe2f4506b53e3ae913dead14cc3349 +size 1476 diff --git a/checkpoint-200/optimizer.pt b/checkpoint-200/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..f3d2caa697503bf3f304f9ebf6cb37b180f2b964 --- /dev/null +++ b/checkpoint-200/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:904a89c566860fdd80b54b080f3c5db858451714b993b090b1e954f0536574c7 +size 13823 diff --git a/checkpoint-200/rng_state.pth b/checkpoint-200/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..5c2828e1607164337db2bacba69197d5c7ddd07c --- /dev/null +++ b/checkpoint-200/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:578e8799d025fe13990ba869b383010b37f57725e649414cca523ec437e2196e +size 14455 diff --git a/checkpoint-200/scheduler.pt b/checkpoint-200/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..ca9db0ceb204e28bb6fd05b533628503734279c6 --- /dev/null +++ b/checkpoint-200/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0461a487c93a1d5d456c21f2f0d6053e6cc43aa65ed6f9187fa4e810cd6b0a8a +size 1465 diff --git a/checkpoint-200/tokenizer.json b/checkpoint-200/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-200/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-200/tokenizer_config.json b/checkpoint-200/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-200/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-200/trainer_state.json b/checkpoint-200/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..0243c6d1104368e46587182b854e5a585be78733 --- /dev/null +++ b/checkpoint-200/trainer_state.json @@ -0,0 +1,174 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 25.0, + "eval_steps": 500, + "global_step": 200, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 10800000.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-200/training_args.bin b/checkpoint-200/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-200/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-250/config.json b/checkpoint-250/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-250/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-250/generation_config.json b/checkpoint-250/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-250/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-250/model.safetensors b/checkpoint-250/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f36ade30f07825fe8f2f8cbfb7e0d9758da5df2a --- /dev/null +++ b/checkpoint-250/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4a50b4f9c0e64d6662e265d416f7098696bb647c785cb9d96ce1ed0bc52c106f +size 1476 diff --git a/checkpoint-250/optimizer.pt b/checkpoint-250/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..30d22ac1aa7ece54ab5d350e82ca5d13579fb353 --- /dev/null +++ b/checkpoint-250/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0509ebbf56f1ff5def338103f070cd55005f3b196cc7f15f64ce938a3f3c8a9 +size 13823 diff --git a/checkpoint-250/rng_state.pth b/checkpoint-250/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..973db96b4903c385b4438c800a2649e80c03c61e --- /dev/null +++ b/checkpoint-250/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d93cf2a6f5b82bd08f8b51ea11b7d93fb36e5dee432e6b631b5bd5365d1aa213 +size 14455 diff --git a/checkpoint-250/scheduler.pt b/checkpoint-250/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..af4c286cafba1d2f1dec3f7cda2670cc4d84dab4 --- /dev/null +++ b/checkpoint-250/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bea7ab5973051bc08e6b64d8b657fe2c7761fc2e91b84dbe5ebf70251f1d9c7 +size 1465 diff --git a/checkpoint-250/tokenizer.json b/checkpoint-250/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-250/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-250/tokenizer_config.json b/checkpoint-250/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-250/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-250/trainer_state.json b/checkpoint-250/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..69aa0ae6935338454107d0f6b97b0f752b760265 --- /dev/null +++ b/checkpoint-250/trainer_state.json @@ -0,0 +1,209 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 31.25, + "eval_steps": 500, + "global_step": 250, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 13502592.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-250/training_args.bin b/checkpoint-250/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-250/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-300/config.json b/checkpoint-300/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-300/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-300/generation_config.json b/checkpoint-300/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-300/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-300/model.safetensors b/checkpoint-300/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..0fb0a39b3cac310f0b9e7764f9104d5e8c1c33e7 --- /dev/null +++ b/checkpoint-300/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97fffa1ffb0d8cfea3175841cdaadc065dbc524a156ab6794cc4defcdb443466 +size 1476 diff --git a/checkpoint-300/optimizer.pt b/checkpoint-300/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..9e84aa5f4b7c9dd265a2ead1f3f2a20fc96bf929 --- /dev/null +++ b/checkpoint-300/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22f1cbf4f54dc99d5f9cf6f96190e76a53018986e798912dfadb864ea9b83abc +size 13823 diff --git a/checkpoint-300/rng_state.pth b/checkpoint-300/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..d65f73d8cfa12436ba48d9a73977f0e85c3bb213 --- /dev/null +++ b/checkpoint-300/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e3dc2ffd417ca43335dc7e4f9ae2b0c82cd1201b3451b1285b0c2b5c355f483 +size 14455 diff --git a/checkpoint-300/scheduler.pt b/checkpoint-300/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..0ffb1a3649cd38dd8fac6fa73528c32020343216 --- /dev/null +++ b/checkpoint-300/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f95bed23f8bb86a3a3ad2aac60be9c505895c2819ebd5aedc95d6f297f479db +size 1465 diff --git a/checkpoint-300/tokenizer.json b/checkpoint-300/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-300/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-300/tokenizer_config.json b/checkpoint-300/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-300/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-300/trainer_state.json b/checkpoint-300/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..3bbea45ef91d31e0d5d944594085883a6da9e694 --- /dev/null +++ b/checkpoint-300/trainer_state.json @@ -0,0 +1,244 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 37.5, + "eval_steps": 500, + "global_step": 300, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 16205184.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-300/training_args.bin b/checkpoint-300/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-300/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-350/config.json b/checkpoint-350/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-350/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-350/generation_config.json b/checkpoint-350/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-350/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-350/model.safetensors b/checkpoint-350/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..94a00bbcf64243ae97f1910d19a5e174c73ab2f1 --- /dev/null +++ b/checkpoint-350/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9738ead23e8c2517108e5908776be18e204a6a2f8c32d552091a338832b6e5d4 +size 1476 diff --git a/checkpoint-350/optimizer.pt b/checkpoint-350/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..ceeb2c57a3d1d09a2486166dd00f444dcd1cf19d --- /dev/null +++ b/checkpoint-350/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4811065002f1ce29208aa93cbcdf9e546723f33fb33e5b29fdfabc87a41362d +size 13823 diff --git a/checkpoint-350/rng_state.pth b/checkpoint-350/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..7718fd684afa4f1e04e6696ef70e4551fadec393 --- /dev/null +++ b/checkpoint-350/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d32ade6d8781cd244c67a02248dbc3788c711f0fe189fdf7d9954552df38116 +size 14455 diff --git a/checkpoint-350/scheduler.pt b/checkpoint-350/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..b463eda01efd957ec0419c6ef72e67a742b163fd --- /dev/null +++ b/checkpoint-350/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c879c575879c7da8b788bb3e0f2c558aeb8920eb7fbee24a1facf063eaf3cf8 +size 1465 diff --git a/checkpoint-350/tokenizer.json b/checkpoint-350/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-350/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-350/tokenizer_config.json b/checkpoint-350/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-350/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-350/trainer_state.json b/checkpoint-350/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..a9bd19108f6860dd687b7f2a1dbec50fa3a5be84 --- /dev/null +++ b/checkpoint-350/trainer_state.json @@ -0,0 +1,279 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 43.75, + "eval_steps": 500, + "global_step": 350, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 18907776.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-350/training_args.bin b/checkpoint-350/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-350/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-400/config.json b/checkpoint-400/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-400/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-400/generation_config.json b/checkpoint-400/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-400/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-400/model.safetensors b/checkpoint-400/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..6d73b69edb1e1f928ba4ee4d594c66a2d9b09a86 --- /dev/null +++ b/checkpoint-400/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:363635732d93274d8274b1b4463a4a8f4fae06de4703209dc4c33ea71dfd2167 +size 1476 diff --git a/checkpoint-400/optimizer.pt b/checkpoint-400/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..0f8625008f121a5ba4b764be63754eca498e5a0d --- /dev/null +++ b/checkpoint-400/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:399d898f05bd35b566e800d61238dbcdb5f22062ede32a92eba7089db22cf626 +size 13823 diff --git a/checkpoint-400/rng_state.pth b/checkpoint-400/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..b9aac402455a1c12e87140022162b8e0421bb13e --- /dev/null +++ b/checkpoint-400/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc417a91e52df87897c1d609ad03f9b41d1be73043049735c3feb77a9ff53cf8 +size 14455 diff --git a/checkpoint-400/scheduler.pt b/checkpoint-400/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..717fbe4558eb4807f8af647e68433fbbb1f07c4f --- /dev/null +++ b/checkpoint-400/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f30a833188dc5aef8a4ffff4f0cf07cc78a48937975c8d8911b7e91d89008ae7 +size 1465 diff --git a/checkpoint-400/tokenizer.json b/checkpoint-400/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-400/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-400/tokenizer_config.json b/checkpoint-400/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-400/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-400/trainer_state.json b/checkpoint-400/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..641fba18e1e3a9e011cb24d0771f5f8ed22725ba --- /dev/null +++ b/checkpoint-400/trainer_state.json @@ -0,0 +1,314 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 50.0, + "eval_steps": 500, + "global_step": 400, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 21600000.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-400/training_args.bin b/checkpoint-400/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-400/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-450/config.json b/checkpoint-450/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-450/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-450/generation_config.json b/checkpoint-450/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-450/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-450/model.safetensors b/checkpoint-450/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..e6b7a4e4ceff0c36cb5dc7db0f69c2847e17f4e4 --- /dev/null +++ b/checkpoint-450/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:52de8f6ae53926effb8341594908340ad550906972f59fd3ae81542b1c42185b +size 1476 diff --git a/checkpoint-450/optimizer.pt b/checkpoint-450/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..059cc15fa7152cc7ee5c3e8c1327e9e9f23a68c2 --- /dev/null +++ b/checkpoint-450/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:12a8ae736deb800ecec6350f5973cc9a89560634cba752245734fa19548a4b2f +size 13823 diff --git a/checkpoint-450/rng_state.pth b/checkpoint-450/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..2c0816f881f317973ee1697c2801a3dc10dd866b --- /dev/null +++ b/checkpoint-450/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1a39b2c7ba948c919cf511140589fbb763d75febc6b7d7740d7c52282b9e203 +size 14455 diff --git a/checkpoint-450/scheduler.pt b/checkpoint-450/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..6dbdb1f817ce0181d1e275f0f4b2f857ba66d2f1 --- /dev/null +++ b/checkpoint-450/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7534f4d16501ec76ed51676fc3848b298dad96b49994f422b36c27b0fd982c9b +size 1465 diff --git a/checkpoint-450/tokenizer.json b/checkpoint-450/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-450/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-450/tokenizer_config.json b/checkpoint-450/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-450/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-450/trainer_state.json b/checkpoint-450/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..52034519e9b95da9a3ff4a4ff77b9de17b983f46 --- /dev/null +++ b/checkpoint-450/trainer_state.json @@ -0,0 +1,349 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 56.25, + "eval_steps": 500, + "global_step": 450, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 24302592.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-450/training_args.bin b/checkpoint-450/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-450/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-50/config.json b/checkpoint-50/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-50/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-50/generation_config.json b/checkpoint-50/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-50/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-50/model.safetensors b/checkpoint-50/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..9a11408c3649f5a2439c4236aa1360b74c620e0d --- /dev/null +++ b/checkpoint-50/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3d2bbd44eb02a395e88a647a088e328ac1aa694484575e6e2ac5dc514cfc19d5 +size 1476 diff --git a/checkpoint-50/optimizer.pt b/checkpoint-50/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..1098cd29918e7816570ca1dfd492b75b9e3aebaf --- /dev/null +++ b/checkpoint-50/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cc77006b8549f3593e028cb5cff5c38d05a366aae1d4a13294551c39e5923fd +size 13823 diff --git a/checkpoint-50/rng_state.pth b/checkpoint-50/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..d0bc61ca06cc2c1a21a3c783405a546bc9b4b96a --- /dev/null +++ b/checkpoint-50/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:799af21e8c98b5b33efb40e1806882d89f329486619fd8f7f6c267e08bc7954e +size 14455 diff --git a/checkpoint-50/scheduler.pt b/checkpoint-50/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..b680f585df54952b046c4d62b47b3dd6df0b3227 --- /dev/null +++ b/checkpoint-50/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:974aaa110c877d073412b33bba4fafac8608234328e418b37cfd75ae17438b03 +size 1465 diff --git a/checkpoint-50/tokenizer.json b/checkpoint-50/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-50/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-50/tokenizer_config.json b/checkpoint-50/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-50/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-50/trainer_state.json b/checkpoint-50/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..801c3477ee04043f55e762c8bd7433edf4127562 --- /dev/null +++ b/checkpoint-50/trainer_state.json @@ -0,0 +1,69 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 6.25, + "eval_steps": 500, + "global_step": 50, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 2702592.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-50/training_args.bin b/checkpoint-50/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-50/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-500/config.json b/checkpoint-500/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-500/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-500/generation_config.json b/checkpoint-500/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-500/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-500/model.safetensors b/checkpoint-500/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..d90c9cd7dd5d9e4df5d319176e78c8dea9a9c8f2 --- /dev/null +++ b/checkpoint-500/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42f31e77deecc65b920187f18f1c3e1e89d5175a85711c4201b85be08d163664 +size 1476 diff --git a/checkpoint-500/optimizer.pt b/checkpoint-500/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..d40e40dee17670586605536eb2390543440dc4cf --- /dev/null +++ b/checkpoint-500/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b8ad40ce436abd69eab24e7cf8006fd5bd15d63dbf1ccf75a509c4659767312 +size 13823 diff --git a/checkpoint-500/rng_state.pth b/checkpoint-500/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..bf2bc3f0aaaea0ec87fbdcd44bc5f8d3a52cccf9 --- /dev/null +++ b/checkpoint-500/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:03900c236c7794bc0687441d4bebf000599935b0a4712879e57581ae5ba16b25 +size 14455 diff --git a/checkpoint-500/scheduler.pt b/checkpoint-500/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..d2720f37f16ca8506974622e75ce4c2d139ef641 --- /dev/null +++ b/checkpoint-500/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db3381df57a58c84d17c208ebc4566d6db2a9232caff2b4ef18ccb85e9c16aff +size 1465 diff --git a/checkpoint-500/tokenizer.json b/checkpoint-500/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-500/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-500/tokenizer_config.json b/checkpoint-500/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-500/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-500/trainer_state.json b/checkpoint-500/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..31db469bf9e5cd9bca0ea4dcebb3760f17906fec --- /dev/null +++ b/checkpoint-500/trainer_state.json @@ -0,0 +1,384 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 62.5, + "eval_steps": 500, + "global_step": 500, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 27005184.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-500/training_args.bin b/checkpoint-500/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-500/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-550/config.json b/checkpoint-550/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-550/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-550/generation_config.json b/checkpoint-550/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-550/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-550/model.safetensors b/checkpoint-550/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..b9c932480533e6bc284f91a7475c06fe39808096 --- /dev/null +++ b/checkpoint-550/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05082e14a8b7a0e3fdd700ac8b5941290751396fb452bdcce497416a0436ca23 +size 1476 diff --git a/checkpoint-550/optimizer.pt b/checkpoint-550/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..5746eb3e545433d68ee09b052bc9807fd9ec788b --- /dev/null +++ b/checkpoint-550/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:126e66fd3fd7e0984629703bba264965b2dbf54a1f5d72b46fa212837f91ed00 +size 13823 diff --git a/checkpoint-550/rng_state.pth b/checkpoint-550/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..4ba514a56c627cc8fb8cc007bbcd509b7bef03b8 --- /dev/null +++ b/checkpoint-550/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8661a2a6fbc6b2c3c1692b0d42731d1ba2b65839ba891f23dcb54dbcafd155d0 +size 14455 diff --git a/checkpoint-550/scheduler.pt b/checkpoint-550/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..180588b3731b5d8246641755f7cabb2a4c4bd4a5 --- /dev/null +++ b/checkpoint-550/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e29b3fbbe160c5e2b76658b27e5040719c7e38784c696f4c94d2da0bb020bb75 +size 1465 diff --git a/checkpoint-550/tokenizer.json b/checkpoint-550/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-550/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-550/tokenizer_config.json b/checkpoint-550/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-550/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-550/trainer_state.json b/checkpoint-550/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..9579567f7e189e020cb22a956c14b27a076a2d0c --- /dev/null +++ b/checkpoint-550/trainer_state.json @@ -0,0 +1,419 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 68.75, + "eval_steps": 500, + "global_step": 550, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + }, + { + "epoch": 63.75, + "grad_norm": 0.0296093188226223, + "learning_rate": 0.003660377358490566, + "loss": 0.5232732772827149, + "step": 510 + }, + { + "epoch": 65.0, + "grad_norm": 0.024976426735520363, + "learning_rate": 0.003534591194968553, + "loss": 0.5231723785400391, + "step": 520 + }, + { + "epoch": 66.25, + "grad_norm": 0.023787030950188637, + "learning_rate": 0.0034088050314465407, + "loss": 0.5230903625488281, + "step": 530 + }, + { + "epoch": 67.5, + "grad_norm": 0.06858682632446289, + "learning_rate": 0.003283018867924528, + "loss": 0.5231491088867187, + "step": 540 + }, + { + "epoch": 68.75, + "grad_norm": 0.046380575746297836, + "learning_rate": 0.0031572327044025158, + "loss": 0.5229427337646484, + "step": 550 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 29707776.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-550/training_args.bin b/checkpoint-550/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-550/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-600/config.json b/checkpoint-600/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-600/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-600/generation_config.json b/checkpoint-600/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-600/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-600/model.safetensors b/checkpoint-600/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..204b47fb47f8a0557e388661914278e8c381f655 --- /dev/null +++ b/checkpoint-600/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5546b64f80e161447f1108012a03f4c583eb9f0c2e015745714d015148cfceb4 +size 1476 diff --git a/checkpoint-600/optimizer.pt b/checkpoint-600/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..667a23a1209412351ca32cb00d424c5f964e8f7a --- /dev/null +++ b/checkpoint-600/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:018db5c1b407704ec6cc7ccb999936b76fce1c0b9b2cd4fcb25aec1545cf7667 +size 13823 diff --git a/checkpoint-600/rng_state.pth b/checkpoint-600/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..1317304f0b1064d93ee52a59dabfa3cfefe38a3b --- /dev/null +++ b/checkpoint-600/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:faf5dcedef23ff9589b3f1c7e8a0a7a39a88cc9c6cc13e5d31cc40d8dd277106 +size 14455 diff --git a/checkpoint-600/scheduler.pt b/checkpoint-600/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..685fcc35ac0141a92f3d23c210d5a7b914094714 --- /dev/null +++ b/checkpoint-600/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f642fa1e920464d1e57835f6e21e6926e1b2a7fd0dd0e617fb386aef5651739 +size 1465 diff --git a/checkpoint-600/tokenizer.json b/checkpoint-600/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-600/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-600/tokenizer_config.json b/checkpoint-600/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-600/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-600/trainer_state.json b/checkpoint-600/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..928e77c155e0547a496562260ae2d7d76d93dcd7 --- /dev/null +++ b/checkpoint-600/trainer_state.json @@ -0,0 +1,454 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 75.0, + "eval_steps": 500, + "global_step": 600, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + }, + { + "epoch": 63.75, + "grad_norm": 0.0296093188226223, + "learning_rate": 0.003660377358490566, + "loss": 0.5232732772827149, + "step": 510 + }, + { + "epoch": 65.0, + "grad_norm": 0.024976426735520363, + "learning_rate": 0.003534591194968553, + "loss": 0.5231723785400391, + "step": 520 + }, + { + "epoch": 66.25, + "grad_norm": 0.023787030950188637, + "learning_rate": 0.0034088050314465407, + "loss": 0.5230903625488281, + "step": 530 + }, + { + "epoch": 67.5, + "grad_norm": 0.06858682632446289, + "learning_rate": 0.003283018867924528, + "loss": 0.5231491088867187, + "step": 540 + }, + { + "epoch": 68.75, + "grad_norm": 0.046380575746297836, + "learning_rate": 0.0031572327044025158, + "loss": 0.5229427337646484, + "step": 550 + }, + { + "epoch": 70.0, + "grad_norm": 0.038141585886478424, + "learning_rate": 0.0030314465408805033, + "loss": 0.5228743553161621, + "step": 560 + }, + { + "epoch": 71.25, + "grad_norm": 0.10606753081083298, + "learning_rate": 0.0029056603773584904, + "loss": 0.5229548454284668, + "step": 570 + }, + { + "epoch": 72.5, + "grad_norm": 0.04477667436003685, + "learning_rate": 0.002779874213836478, + "loss": 0.5226166725158692, + "step": 580 + }, + { + "epoch": 73.75, + "grad_norm": 0.0881441980600357, + "learning_rate": 0.0026540880503144655, + "loss": 0.5228660106658936, + "step": 590 + }, + { + "epoch": 75.0, + "grad_norm": 0.02113279327750206, + "learning_rate": 0.002528301886792453, + "loss": 0.5227115631103516, + "step": 600 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 32400000.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-600/training_args.bin b/checkpoint-600/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-600/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-650/config.json b/checkpoint-650/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-650/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-650/generation_config.json b/checkpoint-650/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-650/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-650/model.safetensors b/checkpoint-650/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..183bf19c5f95d6c7157fdb850d94e9582395a7a6 --- /dev/null +++ b/checkpoint-650/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b6ee1126a49982cb09e8a1a8172dcebab6304afd07893eaff6f005c068cddf3 +size 1476 diff --git a/checkpoint-650/optimizer.pt b/checkpoint-650/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..79bd28553215a66bae961c680f2066b59603904a --- /dev/null +++ b/checkpoint-650/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:852e2f8e2acbbf204d60bdfca1ca617b388c8f986d1a18638c54cb1cd90a06a8 +size 13823 diff --git a/checkpoint-650/rng_state.pth b/checkpoint-650/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..1c95705c48969c1ec221d0701dca8a4965547c6f --- /dev/null +++ b/checkpoint-650/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8da113205091b74335dae201a4d99876ca5fa7a74f35ca366721a829fe7a90f6 +size 14455 diff --git a/checkpoint-650/scheduler.pt b/checkpoint-650/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..2681feb6edead2c7fa2df3456b083f8010a95c1f --- /dev/null +++ b/checkpoint-650/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9bb477f02504c350f74caa8ebdc0fd67dba6514d6663417aec1522f3c393126 +size 1465 diff --git a/checkpoint-650/tokenizer.json b/checkpoint-650/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-650/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-650/tokenizer_config.json b/checkpoint-650/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-650/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-650/trainer_state.json b/checkpoint-650/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..41adca27a1001b56761e8c568a333291d5d71403 --- /dev/null +++ b/checkpoint-650/trainer_state.json @@ -0,0 +1,489 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 81.25, + "eval_steps": 500, + "global_step": 650, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + }, + { + "epoch": 63.75, + "grad_norm": 0.0296093188226223, + "learning_rate": 0.003660377358490566, + "loss": 0.5232732772827149, + "step": 510 + }, + { + "epoch": 65.0, + "grad_norm": 0.024976426735520363, + "learning_rate": 0.003534591194968553, + "loss": 0.5231723785400391, + "step": 520 + }, + { + "epoch": 66.25, + "grad_norm": 0.023787030950188637, + "learning_rate": 0.0034088050314465407, + "loss": 0.5230903625488281, + "step": 530 + }, + { + "epoch": 67.5, + "grad_norm": 0.06858682632446289, + "learning_rate": 0.003283018867924528, + "loss": 0.5231491088867187, + "step": 540 + }, + { + "epoch": 68.75, + "grad_norm": 0.046380575746297836, + "learning_rate": 0.0031572327044025158, + "loss": 0.5229427337646484, + "step": 550 + }, + { + "epoch": 70.0, + "grad_norm": 0.038141585886478424, + "learning_rate": 0.0030314465408805033, + "loss": 0.5228743553161621, + "step": 560 + }, + { + "epoch": 71.25, + "grad_norm": 0.10606753081083298, + "learning_rate": 0.0029056603773584904, + "loss": 0.5229548454284668, + "step": 570 + }, + { + "epoch": 72.5, + "grad_norm": 0.04477667436003685, + "learning_rate": 0.002779874213836478, + "loss": 0.5226166725158692, + "step": 580 + }, + { + "epoch": 73.75, + "grad_norm": 0.0881441980600357, + "learning_rate": 0.0026540880503144655, + "loss": 0.5228660106658936, + "step": 590 + }, + { + "epoch": 75.0, + "grad_norm": 0.02113279327750206, + "learning_rate": 0.002528301886792453, + "loss": 0.5227115631103516, + "step": 600 + }, + { + "epoch": 76.25, + "grad_norm": 0.012161781080067158, + "learning_rate": 0.0024025157232704405, + "loss": 0.5226701736450196, + "step": 610 + }, + { + "epoch": 77.5, + "grad_norm": 0.02368907630443573, + "learning_rate": 0.0022767295597484276, + "loss": 0.5225720405578613, + "step": 620 + }, + { + "epoch": 78.75, + "grad_norm": 0.019874079152941704, + "learning_rate": 0.002150943396226415, + "loss": 0.5226047515869141, + "step": 630 + }, + { + "epoch": 80.0, + "grad_norm": 0.02881385199725628, + "learning_rate": 0.0020251572327044027, + "loss": 0.5226505279541016, + "step": 640 + }, + { + "epoch": 81.25, + "grad_norm": 0.012644718401134014, + "learning_rate": 0.00189937106918239, + "loss": 0.5224821090698242, + "step": 650 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 35102592.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-650/training_args.bin b/checkpoint-650/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-650/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-700/config.json b/checkpoint-700/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-700/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-700/generation_config.json b/checkpoint-700/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-700/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-700/model.safetensors b/checkpoint-700/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f1a1961594916f62370b66ced8093688fdc38373 --- /dev/null +++ b/checkpoint-700/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:06410db23029d7a4df29632f2d9ce6aefece14b4022a8c7d48d5f409e70a4069 +size 1476 diff --git a/checkpoint-700/optimizer.pt b/checkpoint-700/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..589a2167405ef9b7342a4e89ea7d0c516370135b --- /dev/null +++ b/checkpoint-700/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e79db15112e61b82b01a15a81a332817589f01780ec76383bd438a66161ed98b +size 13823 diff --git a/checkpoint-700/rng_state.pth b/checkpoint-700/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..bc258f2be2c60fa3760111e381fa190269574ee7 --- /dev/null +++ b/checkpoint-700/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fd55b291025768703858dbad7135c3d30b95aca5fb1facb3fbcfa8bea7d4aed +size 14455 diff --git a/checkpoint-700/scheduler.pt b/checkpoint-700/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..bc2fedc224dff949d369d61abac77ea3677d1c1f --- /dev/null +++ b/checkpoint-700/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c9e66ab0ba4e735d4c2862f76458cc9eb4448034da540944cb71645ca985a7d +size 1465 diff --git a/checkpoint-700/tokenizer.json b/checkpoint-700/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-700/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-700/tokenizer_config.json b/checkpoint-700/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-700/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-700/trainer_state.json b/checkpoint-700/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..2deb9fd9f73cc29f00483a3f7ccb937e7087931f --- /dev/null +++ b/checkpoint-700/trainer_state.json @@ -0,0 +1,524 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 87.5, + "eval_steps": 500, + "global_step": 700, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + }, + { + "epoch": 63.75, + "grad_norm": 0.0296093188226223, + "learning_rate": 0.003660377358490566, + "loss": 0.5232732772827149, + "step": 510 + }, + { + "epoch": 65.0, + "grad_norm": 0.024976426735520363, + "learning_rate": 0.003534591194968553, + "loss": 0.5231723785400391, + "step": 520 + }, + { + "epoch": 66.25, + "grad_norm": 0.023787030950188637, + "learning_rate": 0.0034088050314465407, + "loss": 0.5230903625488281, + "step": 530 + }, + { + "epoch": 67.5, + "grad_norm": 0.06858682632446289, + "learning_rate": 0.003283018867924528, + "loss": 0.5231491088867187, + "step": 540 + }, + { + "epoch": 68.75, + "grad_norm": 0.046380575746297836, + "learning_rate": 0.0031572327044025158, + "loss": 0.5229427337646484, + "step": 550 + }, + { + "epoch": 70.0, + "grad_norm": 0.038141585886478424, + "learning_rate": 0.0030314465408805033, + "loss": 0.5228743553161621, + "step": 560 + }, + { + "epoch": 71.25, + "grad_norm": 0.10606753081083298, + "learning_rate": 0.0029056603773584904, + "loss": 0.5229548454284668, + "step": 570 + }, + { + "epoch": 72.5, + "grad_norm": 0.04477667436003685, + "learning_rate": 0.002779874213836478, + "loss": 0.5226166725158692, + "step": 580 + }, + { + "epoch": 73.75, + "grad_norm": 0.0881441980600357, + "learning_rate": 0.0026540880503144655, + "loss": 0.5228660106658936, + "step": 590 + }, + { + "epoch": 75.0, + "grad_norm": 0.02113279327750206, + "learning_rate": 0.002528301886792453, + "loss": 0.5227115631103516, + "step": 600 + }, + { + "epoch": 76.25, + "grad_norm": 0.012161781080067158, + "learning_rate": 0.0024025157232704405, + "loss": 0.5226701736450196, + "step": 610 + }, + { + "epoch": 77.5, + "grad_norm": 0.02368907630443573, + "learning_rate": 0.0022767295597484276, + "loss": 0.5225720405578613, + "step": 620 + }, + { + "epoch": 78.75, + "grad_norm": 0.019874079152941704, + "learning_rate": 0.002150943396226415, + "loss": 0.5226047515869141, + "step": 630 + }, + { + "epoch": 80.0, + "grad_norm": 0.02881385199725628, + "learning_rate": 0.0020251572327044027, + "loss": 0.5226505279541016, + "step": 640 + }, + { + "epoch": 81.25, + "grad_norm": 0.012644718401134014, + "learning_rate": 0.00189937106918239, + "loss": 0.5224821090698242, + "step": 650 + }, + { + "epoch": 82.5, + "grad_norm": 0.07563883066177368, + "learning_rate": 0.0017735849056603773, + "loss": 0.5225125789642334, + "step": 660 + }, + { + "epoch": 83.75, + "grad_norm": 0.04489849507808685, + "learning_rate": 0.0016477987421383647, + "loss": 0.5224530696868896, + "step": 670 + }, + { + "epoch": 85.0, + "grad_norm": 0.08058469742536545, + "learning_rate": 0.0015220125786163522, + "loss": 0.5224591732025147, + "step": 680 + }, + { + "epoch": 86.25, + "grad_norm": 0.020516710355877876, + "learning_rate": 0.0013962264150943395, + "loss": 0.5224155426025391, + "step": 690 + }, + { + "epoch": 87.5, + "grad_norm": 0.02861618809401989, + "learning_rate": 0.001270440251572327, + "loss": 0.522374153137207, + "step": 700 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 37805184.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-700/training_args.bin b/checkpoint-700/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-700/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-750/config.json b/checkpoint-750/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-750/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-750/generation_config.json b/checkpoint-750/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-750/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-750/model.safetensors b/checkpoint-750/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..819148e28d0f8410dcc981c7c7a3a3f16ec17530 --- /dev/null +++ b/checkpoint-750/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8a535d01cee932aa2f70a9715ac12e655eb24e3e9c229582fc903cf21668bfb +size 1476 diff --git a/checkpoint-750/optimizer.pt b/checkpoint-750/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..b85ed933f851bf564fa065007969ebf5e214a6fe --- /dev/null +++ b/checkpoint-750/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ae1e00a45946b5701de2d89f8ecfbd75adc0a722188e8b2777213155840e372 +size 13823 diff --git a/checkpoint-750/rng_state.pth b/checkpoint-750/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..a506361c12019ec83bb73a7a236d9a9d48830fe1 --- /dev/null +++ b/checkpoint-750/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1f43dca5b3841b47ae65a958c5577b390cc73e22ddc783e00335997202850c4 +size 14455 diff --git a/checkpoint-750/scheduler.pt b/checkpoint-750/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..39189939e9635675a496ffba57f2cb8ad81fbad7 --- /dev/null +++ b/checkpoint-750/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:220d6886d7d1208d6fe47ad1bba2cc291acde91fa5e798e1d89223ecd6d0b4b6 +size 1465 diff --git a/checkpoint-750/tokenizer.json b/checkpoint-750/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-750/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-750/tokenizer_config.json b/checkpoint-750/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-750/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-750/trainer_state.json b/checkpoint-750/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..df232b46fa71ae574232d76f73dc3ad9a27ca552 --- /dev/null +++ b/checkpoint-750/trainer_state.json @@ -0,0 +1,559 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 93.75, + "eval_steps": 500, + "global_step": 750, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + }, + { + "epoch": 63.75, + "grad_norm": 0.0296093188226223, + "learning_rate": 0.003660377358490566, + "loss": 0.5232732772827149, + "step": 510 + }, + { + "epoch": 65.0, + "grad_norm": 0.024976426735520363, + "learning_rate": 0.003534591194968553, + "loss": 0.5231723785400391, + "step": 520 + }, + { + "epoch": 66.25, + "grad_norm": 0.023787030950188637, + "learning_rate": 0.0034088050314465407, + "loss": 0.5230903625488281, + "step": 530 + }, + { + "epoch": 67.5, + "grad_norm": 0.06858682632446289, + "learning_rate": 0.003283018867924528, + "loss": 0.5231491088867187, + "step": 540 + }, + { + "epoch": 68.75, + "grad_norm": 0.046380575746297836, + "learning_rate": 0.0031572327044025158, + "loss": 0.5229427337646484, + "step": 550 + }, + { + "epoch": 70.0, + "grad_norm": 0.038141585886478424, + "learning_rate": 0.0030314465408805033, + "loss": 0.5228743553161621, + "step": 560 + }, + { + "epoch": 71.25, + "grad_norm": 0.10606753081083298, + "learning_rate": 0.0029056603773584904, + "loss": 0.5229548454284668, + "step": 570 + }, + { + "epoch": 72.5, + "grad_norm": 0.04477667436003685, + "learning_rate": 0.002779874213836478, + "loss": 0.5226166725158692, + "step": 580 + }, + { + "epoch": 73.75, + "grad_norm": 0.0881441980600357, + "learning_rate": 0.0026540880503144655, + "loss": 0.5228660106658936, + "step": 590 + }, + { + "epoch": 75.0, + "grad_norm": 0.02113279327750206, + "learning_rate": 0.002528301886792453, + "loss": 0.5227115631103516, + "step": 600 + }, + { + "epoch": 76.25, + "grad_norm": 0.012161781080067158, + "learning_rate": 0.0024025157232704405, + "loss": 0.5226701736450196, + "step": 610 + }, + { + "epoch": 77.5, + "grad_norm": 0.02368907630443573, + "learning_rate": 0.0022767295597484276, + "loss": 0.5225720405578613, + "step": 620 + }, + { + "epoch": 78.75, + "grad_norm": 0.019874079152941704, + "learning_rate": 0.002150943396226415, + "loss": 0.5226047515869141, + "step": 630 + }, + { + "epoch": 80.0, + "grad_norm": 0.02881385199725628, + "learning_rate": 0.0020251572327044027, + "loss": 0.5226505279541016, + "step": 640 + }, + { + "epoch": 81.25, + "grad_norm": 0.012644718401134014, + "learning_rate": 0.00189937106918239, + "loss": 0.5224821090698242, + "step": 650 + }, + { + "epoch": 82.5, + "grad_norm": 0.07563883066177368, + "learning_rate": 0.0017735849056603773, + "loss": 0.5225125789642334, + "step": 660 + }, + { + "epoch": 83.75, + "grad_norm": 0.04489849507808685, + "learning_rate": 0.0016477987421383647, + "loss": 0.5224530696868896, + "step": 670 + }, + { + "epoch": 85.0, + "grad_norm": 0.08058469742536545, + "learning_rate": 0.0015220125786163522, + "loss": 0.5224591732025147, + "step": 680 + }, + { + "epoch": 86.25, + "grad_norm": 0.020516710355877876, + "learning_rate": 0.0013962264150943395, + "loss": 0.5224155426025391, + "step": 690 + }, + { + "epoch": 87.5, + "grad_norm": 0.02861618809401989, + "learning_rate": 0.001270440251572327, + "loss": 0.522374153137207, + "step": 700 + }, + { + "epoch": 88.75, + "grad_norm": 0.033531296998262405, + "learning_rate": 0.0011446540880503146, + "loss": 0.5223957538604737, + "step": 710 + }, + { + "epoch": 90.0, + "grad_norm": 0.07833754271268845, + "learning_rate": 0.001018867924528302, + "loss": 0.5223699092864991, + "step": 720 + }, + { + "epoch": 91.25, + "grad_norm": 0.010411073453724384, + "learning_rate": 0.0008930817610062892, + "loss": 0.5223374366760254, + "step": 730 + }, + { + "epoch": 92.5, + "grad_norm": 0.010112890042364597, + "learning_rate": 0.0007672955974842768, + "loss": 0.5223572254180908, + "step": 740 + }, + { + "epoch": 93.75, + "grad_norm": 0.0664035752415657, + "learning_rate": 0.0006415094339622642, + "loss": 0.522271203994751, + "step": 750 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": false + }, + "attributes": {} + } + }, + "total_flos": 40507776.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-750/training_args.bin b/checkpoint-750/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-750/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/checkpoint-800/config.json b/checkpoint-800/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/checkpoint-800/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/checkpoint-800/generation_config.json b/checkpoint-800/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/checkpoint-800/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/checkpoint-800/model.safetensors b/checkpoint-800/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f366a0b17b0c95990ce3a965d47078392d319ae0 --- /dev/null +++ b/checkpoint-800/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdc930290000b8953ad17c47ac41237a9c599974e27d4fa168e78b8ba599debe +size 1476 diff --git a/checkpoint-800/optimizer.pt b/checkpoint-800/optimizer.pt new file mode 100644 index 0000000000000000000000000000000000000000..8017da6a0c03a4996edcb32c7ed049097e435f4a --- /dev/null +++ b/checkpoint-800/optimizer.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc7336c21398e6c282a2b542e4e0a6d37270a02052f4e9db2f14e5eb50650191 +size 13823 diff --git a/checkpoint-800/rng_state.pth b/checkpoint-800/rng_state.pth new file mode 100644 index 0000000000000000000000000000000000000000..4e05f8683988632a7c25c1b596130bea09cf1fe5 --- /dev/null +++ b/checkpoint-800/rng_state.pth @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:05d9251e4283d8763f8ab7a5cfc8c298ac585c4fbdf905647f3083c10d1cd929 +size 14455 diff --git a/checkpoint-800/scheduler.pt b/checkpoint-800/scheduler.pt new file mode 100644 index 0000000000000000000000000000000000000000..dcbceee77112a2ceb81cc6b70c4246e945da9389 --- /dev/null +++ b/checkpoint-800/scheduler.pt @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f88cf14473581bbae7508758ca45980e953dbf905fc7d619b185e5a79a0eea55 +size 1465 diff --git a/checkpoint-800/tokenizer.json b/checkpoint-800/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/checkpoint-800/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/checkpoint-800/tokenizer_config.json b/checkpoint-800/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/checkpoint-800/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/checkpoint-800/trainer_state.json b/checkpoint-800/trainer_state.json new file mode 100644 index 0000000000000000000000000000000000000000..4198d75c053876f39257f35fc1772fffb47cd355 --- /dev/null +++ b/checkpoint-800/trainer_state.json @@ -0,0 +1,594 @@ +{ + "best_global_step": null, + "best_metric": null, + "best_model_checkpoint": null, + "epoch": 100.0, + "eval_steps": 500, + "global_step": 800, + "is_hyper_param_search": false, + "is_local_process_zero": true, + "is_world_process_zero": true, + "log_history": [ + { + "epoch": 1.25, + "grad_norm": 0.05793992057442665, + "learning_rate": 0.009949685534591196, + "loss": 1.206215763092041, + "step": 10 + }, + { + "epoch": 2.5, + "grad_norm": 0.15641599893569946, + "learning_rate": 0.009823899371069183, + "loss": 1.1944643020629884, + "step": 20 + }, + { + "epoch": 3.75, + "grad_norm": 0.25837442278862, + "learning_rate": 0.00969811320754717, + "loss": 1.1607371330261231, + "step": 30 + }, + { + "epoch": 5.0, + "grad_norm": 0.34708642959594727, + "learning_rate": 0.009572327044025157, + "loss": 1.101412010192871, + "step": 40 + }, + { + "epoch": 6.25, + "grad_norm": 0.4044564962387085, + "learning_rate": 0.009446540880503144, + "loss": 1.0188076972961426, + "step": 50 + }, + { + "epoch": 7.5, + "grad_norm": 0.4182046055793762, + "learning_rate": 0.009320754716981133, + "loss": 0.9222237586975097, + "step": 60 + }, + { + "epoch": 8.75, + "grad_norm": 0.38868534564971924, + "learning_rate": 0.00919496855345912, + "loss": 0.8254497528076172, + "step": 70 + }, + { + "epoch": 10.0, + "grad_norm": 0.3328922390937805, + "learning_rate": 0.009069182389937107, + "loss": 0.7411866188049316, + "step": 80 + }, + { + "epoch": 11.25, + "grad_norm": 0.27316856384277344, + "learning_rate": 0.008943396226415094, + "loss": 0.6766499042510986, + "step": 90 + }, + { + "epoch": 12.5, + "grad_norm": 0.21604125201702118, + "learning_rate": 0.008817610062893081, + "loss": 0.6312645435333252, + "step": 100 + }, + { + "epoch": 13.75, + "grad_norm": 0.17572654783725739, + "learning_rate": 0.00869182389937107, + "loss": 0.6011325359344483, + "step": 110 + }, + { + "epoch": 15.0, + "grad_norm": 0.15216749906539917, + "learning_rate": 0.008566037735849057, + "loss": 0.5812094688415528, + "step": 120 + }, + { + "epoch": 16.25, + "grad_norm": 0.12060005962848663, + "learning_rate": 0.008440251572327044, + "loss": 0.5678437232971192, + "step": 130 + }, + { + "epoch": 17.5, + "grad_norm": 0.11622311919927597, + "learning_rate": 0.008314465408805032, + "loss": 0.5585259437561035, + "step": 140 + }, + { + "epoch": 18.75, + "grad_norm": 0.08831977844238281, + "learning_rate": 0.008188679245283019, + "loss": 0.5519348621368408, + "step": 150 + }, + { + "epoch": 20.0, + "grad_norm": 0.09614107757806778, + "learning_rate": 0.008062893081761007, + "loss": 0.5471037864685059, + "step": 160 + }, + { + "epoch": 21.25, + "grad_norm": 0.07089235633611679, + "learning_rate": 0.007937106918238995, + "loss": 0.5432851314544678, + "step": 170 + }, + { + "epoch": 22.5, + "grad_norm": 0.061037734150886536, + "learning_rate": 0.007811320754716982, + "loss": 0.5403900146484375, + "step": 180 + }, + { + "epoch": 23.75, + "grad_norm": 0.09448318183422089, + "learning_rate": 0.00768553459119497, + "loss": 0.53807373046875, + "step": 190 + }, + { + "epoch": 25.0, + "grad_norm": 0.050825681537389755, + "learning_rate": 0.007559748427672957, + "loss": 0.5360239028930665, + "step": 200 + }, + { + "epoch": 26.25, + "grad_norm": 0.11754798144102097, + "learning_rate": 0.007433962264150943, + "loss": 0.5343667507171631, + "step": 210 + }, + { + "epoch": 27.5, + "grad_norm": 0.04136759415268898, + "learning_rate": 0.00730817610062893, + "loss": 0.5332566738128662, + "step": 220 + }, + { + "epoch": 28.75, + "grad_norm": 0.061312805861234665, + "learning_rate": 0.007182389937106918, + "loss": 0.5320106983184815, + "step": 230 + }, + { + "epoch": 30.0, + "grad_norm": 0.045437928289175034, + "learning_rate": 0.007056603773584905, + "loss": 0.5310849666595459, + "step": 240 + }, + { + "epoch": 31.25, + "grad_norm": 0.041931431740522385, + "learning_rate": 0.006930817610062893, + "loss": 0.5302073001861572, + "step": 250 + }, + { + "epoch": 32.5, + "grad_norm": 0.07813303917646408, + "learning_rate": 0.00680503144654088, + "loss": 0.5294707775115967, + "step": 260 + }, + { + "epoch": 33.75, + "grad_norm": 0.03454748913645744, + "learning_rate": 0.006679245283018867, + "loss": 0.5287383079528809, + "step": 270 + }, + { + "epoch": 35.0, + "grad_norm": 0.03431857377290726, + "learning_rate": 0.006553459119496855, + "loss": 0.5282272815704345, + "step": 280 + }, + { + "epoch": 36.25, + "grad_norm": 0.08966688811779022, + "learning_rate": 0.006427672955974842, + "loss": 0.5277254581451416, + "step": 290 + }, + { + "epoch": 37.5, + "grad_norm": 0.052265942096710205, + "learning_rate": 0.00630188679245283, + "loss": 0.5272915840148926, + "step": 300 + }, + { + "epoch": 38.75, + "grad_norm": 0.0515151284635067, + "learning_rate": 0.0061761006289308175, + "loss": 0.5268842697143554, + "step": 310 + }, + { + "epoch": 40.0, + "grad_norm": 0.036997534334659576, + "learning_rate": 0.006050314465408805, + "loss": 0.5264564514160156, + "step": 320 + }, + { + "epoch": 41.25, + "grad_norm": 0.043620988726615906, + "learning_rate": 0.0059245283018867926, + "loss": 0.5261125564575195, + "step": 330 + }, + { + "epoch": 42.5, + "grad_norm": 0.027620961889624596, + "learning_rate": 0.00579874213836478, + "loss": 0.5258570194244385, + "step": 340 + }, + { + "epoch": 43.75, + "grad_norm": 0.05584390088915825, + "learning_rate": 0.005672955974842768, + "loss": 0.5256526470184326, + "step": 350 + }, + { + "epoch": 45.0, + "grad_norm": 0.04482174292206764, + "learning_rate": 0.005547169811320755, + "loss": 0.5253445148468018, + "step": 360 + }, + { + "epoch": 46.25, + "grad_norm": 0.026756955310702324, + "learning_rate": 0.005421383647798742, + "loss": 0.5251789093017578, + "step": 370 + }, + { + "epoch": 47.5, + "grad_norm": 0.044440966099500656, + "learning_rate": 0.00529559748427673, + "loss": 0.5248369216918946, + "step": 380 + }, + { + "epoch": 48.75, + "grad_norm": 0.018594520166516304, + "learning_rate": 0.005169811320754717, + "loss": 0.5247899055480957, + "step": 390 + }, + { + "epoch": 50.0, + "grad_norm": 0.08508243411779404, + "learning_rate": 0.005044025157232705, + "loss": 0.5245010852813721, + "step": 400 + }, + { + "epoch": 51.25, + "grad_norm": 0.0452226921916008, + "learning_rate": 0.004918238993710692, + "loss": 0.5243758201599121, + "step": 410 + }, + { + "epoch": 52.5, + "grad_norm": 0.01639331877231598, + "learning_rate": 0.004792452830188679, + "loss": 0.5242112636566162, + "step": 420 + }, + { + "epoch": 53.75, + "grad_norm": 0.04810582846403122, + "learning_rate": 0.004666666666666667, + "loss": 0.523947811126709, + "step": 430 + }, + { + "epoch": 55.0, + "grad_norm": 0.06734395027160645, + "learning_rate": 0.004540880503144654, + "loss": 0.5240691661834717, + "step": 440 + }, + { + "epoch": 56.25, + "grad_norm": 0.08076826483011246, + "learning_rate": 0.004415094339622642, + "loss": 0.5238540649414063, + "step": 450 + }, + { + "epoch": 57.5, + "grad_norm": 0.04151872172951698, + "learning_rate": 0.004289308176100629, + "loss": 0.5237194061279297, + "step": 460 + }, + { + "epoch": 58.75, + "grad_norm": 0.034729089587926865, + "learning_rate": 0.004163522012578616, + "loss": 0.5235513687133789, + "step": 470 + }, + { + "epoch": 60.0, + "grad_norm": 0.1251593828201294, + "learning_rate": 0.004037735849056604, + "loss": 0.5235977172851562, + "step": 480 + }, + { + "epoch": 61.25, + "grad_norm": 0.0236071664839983, + "learning_rate": 0.003911949685534591, + "loss": 0.5233771800994873, + "step": 490 + }, + { + "epoch": 62.5, + "grad_norm": 0.03458293899893761, + "learning_rate": 0.003786163522012579, + "loss": 0.5233054161071777, + "step": 500 + }, + { + "epoch": 63.75, + "grad_norm": 0.0296093188226223, + "learning_rate": 0.003660377358490566, + "loss": 0.5232732772827149, + "step": 510 + }, + { + "epoch": 65.0, + "grad_norm": 0.024976426735520363, + "learning_rate": 0.003534591194968553, + "loss": 0.5231723785400391, + "step": 520 + }, + { + "epoch": 66.25, + "grad_norm": 0.023787030950188637, + "learning_rate": 0.0034088050314465407, + "loss": 0.5230903625488281, + "step": 530 + }, + { + "epoch": 67.5, + "grad_norm": 0.06858682632446289, + "learning_rate": 0.003283018867924528, + "loss": 0.5231491088867187, + "step": 540 + }, + { + "epoch": 68.75, + "grad_norm": 0.046380575746297836, + "learning_rate": 0.0031572327044025158, + "loss": 0.5229427337646484, + "step": 550 + }, + { + "epoch": 70.0, + "grad_norm": 0.038141585886478424, + "learning_rate": 0.0030314465408805033, + "loss": 0.5228743553161621, + "step": 560 + }, + { + "epoch": 71.25, + "grad_norm": 0.10606753081083298, + "learning_rate": 0.0029056603773584904, + "loss": 0.5229548454284668, + "step": 570 + }, + { + "epoch": 72.5, + "grad_norm": 0.04477667436003685, + "learning_rate": 0.002779874213836478, + "loss": 0.5226166725158692, + "step": 580 + }, + { + "epoch": 73.75, + "grad_norm": 0.0881441980600357, + "learning_rate": 0.0026540880503144655, + "loss": 0.5228660106658936, + "step": 590 + }, + { + "epoch": 75.0, + "grad_norm": 0.02113279327750206, + "learning_rate": 0.002528301886792453, + "loss": 0.5227115631103516, + "step": 600 + }, + { + "epoch": 76.25, + "grad_norm": 0.012161781080067158, + "learning_rate": 0.0024025157232704405, + "loss": 0.5226701736450196, + "step": 610 + }, + { + "epoch": 77.5, + "grad_norm": 0.02368907630443573, + "learning_rate": 0.0022767295597484276, + "loss": 0.5225720405578613, + "step": 620 + }, + { + "epoch": 78.75, + "grad_norm": 0.019874079152941704, + "learning_rate": 0.002150943396226415, + "loss": 0.5226047515869141, + "step": 630 + }, + { + "epoch": 80.0, + "grad_norm": 0.02881385199725628, + "learning_rate": 0.0020251572327044027, + "loss": 0.5226505279541016, + "step": 640 + }, + { + "epoch": 81.25, + "grad_norm": 0.012644718401134014, + "learning_rate": 0.00189937106918239, + "loss": 0.5224821090698242, + "step": 650 + }, + { + "epoch": 82.5, + "grad_norm": 0.07563883066177368, + "learning_rate": 0.0017735849056603773, + "loss": 0.5225125789642334, + "step": 660 + }, + { + "epoch": 83.75, + "grad_norm": 0.04489849507808685, + "learning_rate": 0.0016477987421383647, + "loss": 0.5224530696868896, + "step": 670 + }, + { + "epoch": 85.0, + "grad_norm": 0.08058469742536545, + "learning_rate": 0.0015220125786163522, + "loss": 0.5224591732025147, + "step": 680 + }, + { + "epoch": 86.25, + "grad_norm": 0.020516710355877876, + "learning_rate": 0.0013962264150943395, + "loss": 0.5224155426025391, + "step": 690 + }, + { + "epoch": 87.5, + "grad_norm": 0.02861618809401989, + "learning_rate": 0.001270440251572327, + "loss": 0.522374153137207, + "step": 700 + }, + { + "epoch": 88.75, + "grad_norm": 0.033531296998262405, + "learning_rate": 0.0011446540880503146, + "loss": 0.5223957538604737, + "step": 710 + }, + { + "epoch": 90.0, + "grad_norm": 0.07833754271268845, + "learning_rate": 0.001018867924528302, + "loss": 0.5223699092864991, + "step": 720 + }, + { + "epoch": 91.25, + "grad_norm": 0.010411073453724384, + "learning_rate": 0.0008930817610062892, + "loss": 0.5223374366760254, + "step": 730 + }, + { + "epoch": 92.5, + "grad_norm": 0.010112890042364597, + "learning_rate": 0.0007672955974842768, + "loss": 0.5223572254180908, + "step": 740 + }, + { + "epoch": 93.75, + "grad_norm": 0.0664035752415657, + "learning_rate": 0.0006415094339622642, + "loss": 0.522271203994751, + "step": 750 + }, + { + "epoch": 95.0, + "grad_norm": 0.08974360674619675, + "learning_rate": 0.0005157232704402516, + "loss": 0.5223078250885009, + "step": 760 + }, + { + "epoch": 96.25, + "grad_norm": 0.05227408930659294, + "learning_rate": 0.000389937106918239, + "loss": 0.5223243713378907, + "step": 770 + }, + { + "epoch": 97.5, + "grad_norm": 0.042854949831962585, + "learning_rate": 0.0002641509433962264, + "loss": 0.5222790718078614, + "step": 780 + }, + { + "epoch": 98.75, + "grad_norm": 0.047746848315000534, + "learning_rate": 0.00013836477987421385, + "loss": 0.5222502708435058, + "step": 790 + }, + { + "epoch": 100.0, + "grad_norm": 0.10395275056362152, + "learning_rate": 1.2578616352201257e-05, + "loss": 0.5223078250885009, + "step": 800 + } + ], + "logging_steps": 10, + "max_steps": 800, + "num_input_tokens_seen": 0, + "num_train_epochs": 100, + "save_steps": 50, + "stateful_callbacks": { + "TrainerControl": { + "args": { + "should_epoch_stop": false, + "should_evaluate": false, + "should_log": false, + "should_save": true, + "should_training_stop": true + }, + "attributes": {} + } + }, + "total_flos": 43200000.0, + "train_batch_size": 128, + "trial_name": null, + "trial_params": null +} diff --git a/checkpoint-800/training_args.bin b/checkpoint-800/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/checkpoint-800/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137 diff --git a/config.json b/config.json new file mode 100644 index 0000000000000000000000000000000000000000..25e6a6aab9359ff2af182cc52a403db396405b2c --- /dev/null +++ b/config.json @@ -0,0 +1,34 @@ +{ + "activation_function": "gelu", + "add_cross_attention": false, + "architectures": [ + "GPT2LMHeadModel" + ], + "attn_pdrop": 0.0, + "bos_token_id": 0, + "dtype": "float32", + "embd_pdrop": 0.0, + "eos_token_id": 0, + "initializer_range": 0.02, + "layer_norm_epsilon": 1e-05, + "model_type": "gpt2", + "n_embd": 1, + "n_head": 1, + "n_inner": 1, + "n_layer": 1, + "n_positions": 4, + "pad_token_id": 1, + "reorder_and_upcast_attn": false, + "resid_pdrop": 0.0, + "scale_attn_by_inverse_layer_idx": false, + "scale_attn_weights": true, + "summary_activation": null, + "summary_first_dropout": 0.1, + "summary_proj_to_labels": true, + "summary_type": "cls_index", + "summary_use_proj": true, + "tie_word_embeddings": true, + "transformers_version": "5.12.0", + "use_cache": false, + "vocab_size": 5 +} diff --git a/generation_config.json b/generation_config.json new file mode 100644 index 0000000000000000000000000000000000000000..52a16b51785aa064cd6fbfab4088cca963664274 --- /dev/null +++ b/generation_config.json @@ -0,0 +1,10 @@ +{ + "_from_model_config": true, + "bos_token_id": 0, + "eos_token_id": 0, + "output_attentions": false, + "output_hidden_states": false, + "pad_token_id": 1, + "transformers_version": "5.12.0", + "use_cache": true +} diff --git a/model.safetensors b/model.safetensors new file mode 100644 index 0000000000000000000000000000000000000000..f366a0b17b0c95990ce3a965d47078392d319ae0 --- /dev/null +++ b/model.safetensors @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cdc930290000b8953ad17c47ac41237a9c599974e27d4fa168e78b8ba599debe +size 1476 diff --git a/tokenizer.json b/tokenizer.json new file mode 100644 index 0000000000000000000000000000000000000000..7453024a5be47f5eea34f6d4ad2f385004d72750 --- /dev/null +++ b/tokenizer.json @@ -0,0 +1,87 @@ +{ + "version": "1.0", + "truncation": { + "direction": "Right", + "max_length": 4, + "strategy": "LongestFirst", + "stride": 0 + }, + "padding": null, + "added_tokens": [ + { + "id": 0, + "content": "<|endoftext|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + }, + { + "id": 1, + "content": "<|pad|>", + "single_word": false, + "lstrip": false, + "rstrip": false, + "normalized": false, + "special": true + } + ], + "normalizer": null, + "pre_tokenizer": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "post_processor": { + "type": "TemplateProcessing", + "single": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + } + ], + "pair": [ + { + "Sequence": { + "id": "A", + "type_id": 0 + } + }, + { + "Sequence": { + "id": "B", + "type_id": 1 + } + } + ], + "special_tokens": {} + }, + "decoder": { + "type": "ByteLevel", + "add_prefix_space": true, + "trim_offsets": true, + "use_regex": true + }, + "model": { + "type": "BPE", + "dropout": null, + "unk_token": null, + "continuing_subword_prefix": null, + "end_of_word_suffix": null, + "fuse_unk": false, + "byte_fallback": false, + "ignore_merges": false, + "vocab": { + "<|endoftext|>": 0, + "<|pad|>": 1, + "a": 2, + "b": 3, + "Ġ": 4 + }, + "merges": [] + } +} \ No newline at end of file diff --git a/tokenizer_config.json b/tokenizer_config.json new file mode 100644 index 0000000000000000000000000000000000000000..0b257db1c6b1134a5f0d9b186840b74cfda0b3dc --- /dev/null +++ b/tokenizer_config.json @@ -0,0 +1,8 @@ +{ + "backend": "tokenizers", + "bos_token": "<|endoftext|>", + "eos_token": "<|endoftext|>", + "model_max_length": 1000000000000000019884624838656, + "pad_token": "<|pad|>", + "tokenizer_class": "TokenizersBackend" +} diff --git a/training_args.bin b/training_args.bin new file mode 100644 index 0000000000000000000000000000000000000000..1427a1f1ce1c58f81c17d9e46f5286641d5a74d1 --- /dev/null +++ b/training_args.bin @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8ec7c4970e40c66e374eb444e43c769446c8d48e5a1f681b2a7f4187462d269e +size 5137