fpadovani commited on
Commit
7af8204
·
verified ·
1 Parent(s): c54223b

Training in progress, step 2000, checkpoint

Browse files
checkpoint-2000/config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "gpt2",
3
+ "activation_function": "gelu_new",
4
+ "architectures": [
5
+ "GPT2LMHeadModel"
6
+ ],
7
+ "attn_pdrop": 0.1,
8
+ "bos_token_id": 5,
9
+ "embd_pdrop": 0.1,
10
+ "eos_token_id": 4,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_epsilon": 1e-05,
13
+ "model_type": "gpt2",
14
+ "n_ctx": 1024,
15
+ "n_embd": 128,
16
+ "n_head": 4,
17
+ "n_inner": null,
18
+ "n_layer": 4,
19
+ "n_positions": 128,
20
+ "reorder_and_upcast_attn": false,
21
+ "resid_pdrop": 0.1,
22
+ "scale_attn_by_inverse_layer_idx": false,
23
+ "scale_attn_weights": true,
24
+ "summary_activation": null,
25
+ "summary_first_dropout": 0.1,
26
+ "summary_proj_to_labels": true,
27
+ "summary_type": "cls_index",
28
+ "summary_use_proj": true,
29
+ "task_specific_params": {
30
+ "text-generation": {
31
+ "do_sample": true,
32
+ "max_length": 50
33
+ }
34
+ },
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.45.2",
37
+ "use_cache": true,
38
+ "vocab_size": 8192
39
+ }
checkpoint-2000/generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 5,
4
+ "eos_token_id": 4,
5
+ "transformers_version": "4.45.2"
6
+ }
checkpoint-2000/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00fec27e30711d79a103b25bf00a7d99db85876f1202585cd23f5ab280a3e456
3
+ size 7438256
checkpoint-2000/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52392792d9e53721cb425707858a64610bfa155210b4246c1a3c0c10cdbab2b0
3
+ size 14910010
checkpoint-2000/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cd85315c54ed313d513378d05550d2c37abc9bf2fb16d82f67f95e6849681f7
3
+ size 14244
checkpoint-2000/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b34249cb26734d69825eb97c1e6e298e9b5b36e6232f8a822084516695d27ed
3
+ size 1192
checkpoint-2000/special_tokens_map.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[BOS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "[EOS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "[EOS]"
17
+ }
checkpoint-2000/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-2000/tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[UNK]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "[CLS]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "[SEP]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "[PAD]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "[EOS]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "[BOS]",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ }
51
+ },
52
+ "bos_token": "[BOS]",
53
+ "clean_up_tokenization_spaces": true,
54
+ "eos_token": "[EOS]",
55
+ "model_max_length": 1000000000000000019884624838656,
56
+ "pad_token": "[EOS]",
57
+ "tokenizer_class": "PreTrainedTokenizerFast"
58
+ }
checkpoint-2000/trainer_state.json ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 4.21427583694458,
3
+ "best_model_checkpoint": "/home/p318482/babyLM_controlled/models_trained/reduce_on_plateau_convergence/random_transcript_conv/checkpoint-2000",
4
+ "epoch": 0.05078849132786511,
5
+ "eval_steps": 1000,
6
+ "global_step": 2000,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.012697122831966277,
13
+ "grad_norm": 0.7364352941513062,
14
+ "learning_rate": 0.0001,
15
+ "loss": 5.9868,
16
+ "step": 500
17
+ },
18
+ {
19
+ "epoch": 0.025394245663932554,
20
+ "grad_norm": 1.3591667413711548,
21
+ "learning_rate": 0.0001,
22
+ "loss": 4.7264,
23
+ "step": 1000
24
+ },
25
+ {
26
+ "epoch": 0.025394245663932554,
27
+ "eval_loss": 4.496066570281982,
28
+ "eval_runtime": 1.8776,
29
+ "eval_samples_per_second": 932.025,
30
+ "eval_steps_per_second": 29.292,
31
+ "step": 1000
32
+ },
33
+ {
34
+ "epoch": 0.03809136849589883,
35
+ "grad_norm": 0.9609436988830566,
36
+ "learning_rate": 0.0001,
37
+ "loss": 4.4273,
38
+ "step": 1500
39
+ },
40
+ {
41
+ "epoch": 0.05078849132786511,
42
+ "grad_norm": 1.208341360092163,
43
+ "learning_rate": 0.0001,
44
+ "loss": 4.2766,
45
+ "step": 2000
46
+ },
47
+ {
48
+ "epoch": 0.05078849132786511,
49
+ "eval_loss": 4.21427583694458,
50
+ "eval_runtime": 1.8912,
51
+ "eval_samples_per_second": 925.334,
52
+ "eval_steps_per_second": 29.082,
53
+ "step": 2000
54
+ }
55
+ ],
56
+ "logging_steps": 500,
57
+ "max_steps": 39379,
58
+ "num_input_tokens_seen": 0,
59
+ "num_train_epochs": 1,
60
+ "save_steps": 1000,
61
+ "stateful_callbacks": {
62
+ "EarlyStoppingCallback": {
63
+ "args": {
64
+ "early_stopping_patience": 3,
65
+ "early_stopping_threshold": 0.001
66
+ },
67
+ "attributes": {
68
+ "early_stopping_patience_counter": 0
69
+ }
70
+ },
71
+ "TrainerControl": {
72
+ "args": {
73
+ "should_epoch_stop": false,
74
+ "should_evaluate": false,
75
+ "should_log": false,
76
+ "should_save": true,
77
+ "should_training_stop": false
78
+ },
79
+ "attributes": {}
80
+ }
81
+ },
82
+ "total_flos": 38994444288000.0,
83
+ "train_batch_size": 32,
84
+ "trial_name": null,
85
+ "trial_params": null
86
+ }
checkpoint-2000/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e446b19bfdd079c96f93f25aba6c168e7eaf20eb6abb93593c603320e1446ee9
3
+ size 5432