fpadovani commited on
Commit
ae9e36e
·
verified ·
1 Parent(s): ec69c31

Training in progress, step 4000, checkpoint

Browse files
checkpoint-4000/config.json CHANGED
@@ -1,28 +1,32 @@
1
  {
 
2
  "architectures": [
3
- "RobertaForMaskedLM"
4
  ],
5
- "attention_probs_dropout_prob": 0.1,
6
- "bos_token_id": 3,
7
- "classifier_dropout": null,
8
- "eos_token_id": 4,
9
- "hidden_act": "gelu",
10
- "hidden_dropout_prob": 0.1,
11
- "hidden_size": 256,
12
  "initializer_range": 0.02,
13
- "intermediate_size": 2048,
14
- "layer_norm_eps": 1e-05,
15
- "mask_token_id": 6,
16
- "max_position_embeddings": 512,
17
- "model_type": "roberta",
18
- "num_attention_heads": 8,
19
- "num_hidden_layers": 8,
20
- "pad_token_id": 1,
21
- "position_embedding_type": "absolute",
22
- "tie_word_embeddings": false,
 
 
 
 
 
 
 
23
  "torch_dtype": "float32",
24
  "transformers_version": "4.45.2",
25
- "type_vocab_size": 2,
26
  "use_cache": true,
27
  "vocab_size": 8192
28
  }
 
1
  {
2
+ "activation_function": "gelu_new",
3
  "architectures": [
4
+ "GPT2LMHeadModel"
5
  ],
6
+ "attn_pdrop": 0.1,
7
+ "bos_token_id": 0,
8
+ "embd_pdrop": 0.1,
9
+ "eos_token_id": 1,
 
 
 
10
  "initializer_range": 0.02,
11
+ "layer_norm_epsilon": 1e-05,
12
+ "model_type": "gpt2",
13
+ "n_ctx": 512,
14
+ "n_embd": 256,
15
+ "n_head": 8,
16
+ "n_inner": 2048,
17
+ "n_layer": 8,
18
+ "n_positions": 512,
19
+ "reorder_and_upcast_attn": false,
20
+ "resid_pdrop": 0.1,
21
+ "scale_attn_by_inverse_layer_idx": false,
22
+ "scale_attn_weights": true,
23
+ "summary_activation": null,
24
+ "summary_first_dropout": 0.1,
25
+ "summary_proj_to_labels": true,
26
+ "summary_type": "cls_index",
27
+ "summary_use_proj": true,
28
  "torch_dtype": "float32",
29
  "transformers_version": "4.45.2",
 
30
  "use_cache": true,
31
  "vocab_size": 8192
32
  }
checkpoint-4000/generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 1,
5
+ "transformers_version": "4.45.2"
6
+ }
checkpoint-4000/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:23af1571ed15cba6ba24cbfbb2f6bd9f6651465bbf2b6851d73ddaee4d85962c
3
- size 59702184
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2801ae148db1f89a38af1d83271bf1f654930608ffbdc05c9e66f5d71a959394
3
+ size 51007160
checkpoint-4000/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9d56e4f335898915f22ec83603158db11174cffbc6ac281312c40225423e5fca
3
- size 119488058
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b876312d057bcb9f013a41112a442bcccd0a75c2fc2ec6355efb1188d0d5f7b
3
+ size 102078202
checkpoint-4000/rng_state.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3ca7b686a4cc62b4c3685e8789313658b08950174ca88afc5c651137237eebda
3
  size 14308
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7b7eff52f03357b9512488137ad64d9a0c3fdb4c2ff008186fc619978748328b
3
  size 14308
checkpoint-4000/scheduler.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0ef2be0e7d64cfb402210e997232b889afcd2b3deb5853020826de505e8ab58e
3
  size 1000
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:52ebf870af61d11049051e91e6bc1c00c9fd777dcbd430d66598fe46f09c050b
3
  size 1000
checkpoint-4000/special_tokens_map.json CHANGED
@@ -1,6 +1,34 @@
1
  {
2
- "bos_token": "[PAD]",
3
- "eos_token": "[EOS]",
4
- "mask_token": "[MASK]",
5
- "pad_token": "[CLS]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
 
1
  {
2
+ "additional_special_tokens": [
3
+ "<|endoftext|>"
4
+ ],
5
+ "bos_token": {
6
+ "content": "<s>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "eos_token": {
13
+ "content": "</s>",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false
18
+ },
19
+ "mask_token": {
20
+ "content": "<mask>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "pad_token": "</s>",
27
+ "unk_token": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
  }
checkpoint-4000/tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
checkpoint-4000/tokenizer_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
- "content": "[UNK]",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
@@ -9,7 +9,7 @@
9
  "special": true
10
  },
11
  "1": {
12
- "content": "[CLS]",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
@@ -17,7 +17,7 @@
17
  "special": true
18
  },
19
  "2": {
20
- "content": "[SEP]",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
@@ -25,7 +25,7 @@
25
  "special": true
26
  },
27
  "3": {
28
- "content": "[PAD]",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
@@ -33,7 +33,7 @@
33
  "special": true
34
  },
35
  "4": {
36
- "content": "[EOS]",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
@@ -41,15 +41,7 @@
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
- "6": {
52
- "content": "[MASK]",
53
  "lstrip": false,
54
  "normalized": false,
55
  "rstrip": false,
@@ -57,11 +49,15 @@
57
  "special": true
58
  }
59
  },
60
- "bos_token": "[PAD]",
 
 
 
61
  "clean_up_tokenization_spaces": false,
62
- "eos_token": "[EOS]",
63
- "mask_token": "[MASK]",
64
  "model_max_length": 128,
65
- "pad_token": "[CLS]",
66
- "tokenizer_class": "PreTrainedTokenizerFast"
 
67
  }
 
1
  {
2
  "added_tokens_decoder": {
3
  "0": {
4
+ "content": "<s>",
5
  "lstrip": false,
6
  "normalized": false,
7
  "rstrip": false,
 
9
  "special": true
10
  },
11
  "1": {
12
+ "content": "</s>",
13
  "lstrip": false,
14
  "normalized": false,
15
  "rstrip": false,
 
17
  "special": true
18
  },
19
  "2": {
20
+ "content": "<pad>",
21
  "lstrip": false,
22
  "normalized": false,
23
  "rstrip": false,
 
25
  "special": true
26
  },
27
  "3": {
28
+ "content": "<unk>",
29
  "lstrip": false,
30
  "normalized": false,
31
  "rstrip": false,
 
33
  "special": true
34
  },
35
  "4": {
36
+ "content": "<mask>",
37
  "lstrip": false,
38
  "normalized": false,
39
  "rstrip": false,
 
41
  "special": true
42
  },
43
  "5": {
44
+ "content": "<|endoftext|>",
 
 
 
 
 
 
 
 
45
  "lstrip": false,
46
  "normalized": false,
47
  "rstrip": false,
 
49
  "special": true
50
  }
51
  },
52
+ "additional_special_tokens": [
53
+ "<|endoftext|>"
54
+ ],
55
+ "bos_token": "<s>",
56
  "clean_up_tokenization_spaces": false,
57
+ "eos_token": "</s>",
58
+ "mask_token": "<mask>",
59
  "model_max_length": 128,
60
+ "pad_token": "</s>",
61
+ "tokenizer_class": "PreTrainedTokenizerFast",
62
+ "unk_token": "<unk>"
63
  }
checkpoint-4000/trainer_state.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
- "best_metric": 5.845461368560791,
3
- "best_model_checkpoint": "/home/p318482/babyLM_controlled/models_trained_recent/mlm_unmasking/de_mlm_big/childes_30/checkpoint-4000",
4
- "epoch": 3.3003300330033003,
5
  "eval_steps": 2000,
6
  "global_step": 4000,
7
  "is_hyper_param_search": false,
@@ -9,44 +9,35 @@
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
- "epoch": 1.6501650165016502,
13
- "eval_loss": 5.888791561126709,
14
- "eval_runtime": 1.8805,
15
- "eval_samples_per_second": 1301.26,
16
- "eval_steps_per_second": 81.362,
17
  "step": 2000
18
  },
19
  {
20
- "epoch": 3.3003300330033003,
21
- "grad_norm": 1.0182065963745117,
22
- "learning_rate": 4e-05,
23
- "loss": 6.5372,
24
  "step": 4000
25
  },
26
  {
27
- "epoch": 3.3003300330033003,
28
- "eval_loss": 5.845461368560791,
29
- "eval_runtime": 1.8476,
30
- "eval_samples_per_second": 1324.395,
31
- "eval_steps_per_second": 82.808,
32
  "step": 4000
33
  }
34
  ],
35
  "logging_steps": 4000,
36
- "max_steps": 400000,
37
  "num_input_tokens_seen": 0,
38
- "num_train_epochs": 331,
39
  "save_steps": 4000,
40
  "stateful_callbacks": {
41
- "EarlyStoppingCallback": {
42
- "args": {
43
- "early_stopping_patience": 3,
44
- "early_stopping_threshold": 0.001
45
- },
46
- "attributes": {
47
- "early_stopping_patience_counter": 0
48
- }
49
- },
50
  "TrainerControl": {
51
  "args": {
52
  "should_epoch_stop": false,
@@ -58,7 +49,7 @@
58
  "attributes": {}
59
  }
60
  },
61
- "total_flos": 1247308058787840.0,
62
  "train_batch_size": 16,
63
  "trial_name": null,
64
  "trial_params": null
 
1
  {
2
+ "best_metric": 5.826653003692627,
3
+ "best_model_checkpoint": "/home/p318482/babyLM_controlled/models_trained_last/de_clm/de_childes_30/checkpoint-4000",
4
+ "epoch": 3.0041306796845664,
5
  "eval_steps": 2000,
6
  "global_step": 4000,
7
  "is_hyper_param_search": false,
 
9
  "is_world_process_zero": true,
10
  "log_history": [
11
  {
12
+ "epoch": 1.5020653398422832,
13
+ "eval_loss": 7.09099817276001,
14
+ "eval_runtime": 3.7115,
15
+ "eval_samples_per_second": 894.522,
16
+ "eval_steps_per_second": 56.042,
17
  "step": 2000
18
  },
19
  {
20
+ "epoch": 3.0041306796845664,
21
+ "grad_norm": 1.3897417783737183,
22
+ "learning_rate": 1e-05,
23
+ "loss": 6.9957,
24
  "step": 4000
25
  },
26
  {
27
+ "epoch": 3.0041306796845664,
28
+ "eval_loss": 5.826653003692627,
29
+ "eval_runtime": 3.7561,
30
+ "eval_samples_per_second": 883.906,
31
+ "eval_steps_per_second": 55.377,
32
  "step": 4000
33
  }
34
  ],
35
  "logging_steps": 4000,
36
+ "max_steps": 100000,
37
  "num_input_tokens_seen": 0,
38
+ "num_train_epochs": 76,
39
  "save_steps": 4000,
40
  "stateful_callbacks": {
 
 
 
 
 
 
 
 
 
41
  "TrainerControl": {
42
  "args": {
43
  "should_epoch_stop": false,
 
49
  "attributes": {}
50
  }
51
  },
52
+ "total_flos": 1034071110057984.0,
53
  "train_batch_size": 16,
54
  "trial_name": null,
55
  "trial_params": null
checkpoint-4000/training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82b00b33ff5a34cb27834747d142985f370938cb613e5baed1026ce1070e9a42
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a77d647bb2e817d836b30fa0c2702de6364acb70c98f3c308390594352b8543
3
  size 5368