fpadovani commited on
Commit
e2d0706
·
verified ·
1 Parent(s): 6659d0f

Training in progress, step 4000, checkpoint

Browse files
checkpoint-4000/config.json CHANGED
@@ -1,32 +1,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
  }
 
1
  {
 
2
  "architectures": [
3
+ "RobertaForMaskedLM"
4
  ],
5
+ "attention_probs_dropout_prob": 0.1,
6
  "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
  "eos_token_id": 1,
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": 4,
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
  }
checkpoint-4000/model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2801ae148db1f89a38af1d83271bf1f654930608ffbdc05c9e66f5d71a959394
3
- size 51007160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a96f79e0142db8728777f83b8e9857b5912ee6d611d04bfe74faea839e37d18f
3
+ size 59702184
checkpoint-4000/optimizer.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8b876312d057bcb9f013a41112a442bcccd0a75c2fc2ec6355efb1188d0d5f7b
3
- size 102078202
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96649b8825d1c5f31eb9dd5e856e0ceb992e3a24f639d7dc3fe2ded43c59edec
3
+ size 119488058
checkpoint-4000/rng_state.pth CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7b7eff52f03357b9512488137ad64d9a0c3fdb4c2ff008186fc619978748328b
3
  size 14308
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a61cd179b22c595e37e837ed24fdb5dfa5849376185c7d5e2c6b647fbf9ae4c
3
  size 14308
checkpoint-4000/special_tokens_map.json CHANGED
@@ -23,7 +23,13 @@
23
  "rstrip": false,
24
  "single_word": false
25
  },
26
- "pad_token": "</s>",
 
 
 
 
 
 
27
  "unk_token": {
28
  "content": "<unk>",
29
  "lstrip": false,
 
23
  "rstrip": false,
24
  "single_word": false
25
  },
26
+ "pad_token": {
27
+ "content": "<pad>",
28
+ "lstrip": false,
29
+ "normalized": false,
30
+ "rstrip": false,
31
+ "single_word": false
32
+ },
33
  "unk_token": {
34
  "content": "<unk>",
35
  "lstrip": false,
checkpoint-4000/tokenizer_config.json CHANGED
@@ -57,7 +57,7 @@
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
  }
 
57
  "eos_token": "</s>",
58
  "mask_token": "<mask>",
59
  "model_max_length": 128,
60
+ "pad_token": "<pad>",
61
  "tokenizer_class": "PreTrainedTokenizerFast",
62
  "unk_token": "<unk>"
63
  }
checkpoint-4000/trainer_state.json CHANGED
@@ -1,6 +1,6 @@
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,
@@ -10,25 +10,25 @@
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
  ],
@@ -49,7 +49,7 @@
49
  "attributes": {}
50
  }
51
  },
52
- "total_flos": 1034071110057984.0,
53
  "train_batch_size": 16,
54
  "trial_name": null,
55
  "trial_params": null
 
1
  {
2
+ "best_metric": 6.4175896644592285,
3
+ "best_model_checkpoint": "/home/p318482/babyLM_controlled/models_trained_last/de_mlm/de_childes_30/checkpoint-4000",
4
  "epoch": 3.0041306796845664,
5
  "eval_steps": 2000,
6
  "global_step": 4000,
 
10
  "log_history": [
11
  {
12
  "epoch": 1.5020653398422832,
13
+ "eval_loss": 7.472109317779541,
14
+ "eval_runtime": 2.5707,
15
+ "eval_samples_per_second": 1291.498,
16
+ "eval_steps_per_second": 80.913,
17
  "step": 2000
18
  },
19
  {
20
  "epoch": 3.0041306796845664,
21
+ "grad_norm": 0.9529591798782349,
22
  "learning_rate": 1e-05,
23
+ "loss": 7.3851,
24
  "step": 4000
25
  },
26
  {
27
  "epoch": 3.0041306796845664,
28
+ "eval_loss": 6.4175896644592285,
29
+ "eval_runtime": 2.5761,
30
+ "eval_samples_per_second": 1288.76,
31
+ "eval_steps_per_second": 80.742,
32
  "step": 4000
33
  }
34
  ],
 
49
  "attributes": {}
50
  }
51
  },
52
+ "total_flos": 1247512767234048.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:2a77d647bb2e817d836b30fa0c2702de6364acb70c98f3c308390594352b8543
3
  size 5368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85c0376b96bb4265cfb8870438af9d2475993e8b13e1915bca24764e62e88d20
3
  size 5368