kokolamba commited on
Commit
58b9e23
·
verified ·
1 Parent(s): 5fc6c68

Upload best checkpoint from config

Browse files
config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SharedSpaceEncoderForMaskedLM"
4
+ ],
5
+ "attention_backend": "sdpa",
6
+ "attention_bias": false,
7
+ "attention_dropout_prob": 0.1,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "ffn_decompose": false,
11
+ "ffn_rank": null,
12
+ "head_dim": 32,
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 256,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 1024,
17
+ "kv_latent_dim": 32,
18
+ "layer_norm_eps": 1e-12,
19
+ "max_position_embeddings": 128,
20
+ "model_type": "shared_subspace_encoder",
21
+ "num_attention_heads": 8,
22
+ "num_dense_layers": 0,
23
+ "num_hidden_layers": 6,
24
+ "o_latent_dim": 64,
25
+ "output_subspace": true,
26
+ "pad_token_id": 0,
27
+ "q_latent_dim": 64,
28
+ "rms_norm_eps": 1e-06,
29
+ "rope_dims": 32,
30
+ "rope_scaling": null,
31
+ "rope_theta": 10000.0,
32
+ "transformers_version": "4.56.1",
33
+ "vocab_rank": 128,
34
+ "vocab_size": 30522,
35
+ "vocab_subspace": false
36
+ }
full_config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "shorthand": "rd.32 - 6.mla-o.64.32.64 - mlp.1024 - model.256.lyr.6 - ah.8.32",
3
+ "notes": "Current top-performing MLA-o configuration",
4
+ "model": {
5
+ "hidden_size": 256,
6
+ "num_hidden_layers": 6,
7
+ "intermediate_size": 1024,
8
+ "hidden_dropout_prob": 0.1,
9
+ "attention_dropout_prob": 0.1,
10
+ "classifier_dropout": null,
11
+ "initializer_range": 0.02,
12
+ "layer_norm_eps": 1e-12,
13
+ "rms_norm_eps": 1e-06,
14
+ "vocab_size": 30522,
15
+ "rope_theta": 10000.0,
16
+ "rope_scaling": null,
17
+ "max_position_embeddings": 128,
18
+ "num_dense_layers": 0,
19
+ "q_latent_dim": 64,
20
+ "kv_latent_dim": 32,
21
+ "num_attention_heads": 8,
22
+ "head_dim": 32,
23
+ "rope_dims": 32,
24
+ "attention_bias": false,
25
+ "output_subspace": true,
26
+ "o_latent_dim": 64,
27
+ "attention_backend": "sdpa",
28
+ "ffn_decompose": false,
29
+ "ffn_rank": null,
30
+ "vocab_subspace": false,
31
+ "vocab_rank": 128
32
+ },
33
+ "pre_train": {
34
+ "output_dir": "checkpoints/mla-o_baseline",
35
+ "seed": 42,
36
+ "train_batch_size": 256,
37
+ "learning_rate": 0.0005,
38
+ "num_train_steps": 50000,
39
+ "eval_steps": 2000,
40
+ "weight_decay": 0.01,
41
+ "mlm_probability": 0.15,
42
+ "dataset_name": "wikitext",
43
+ "dataset_config": "wikitext-103-raw-v1",
44
+ "max_seq_length": 128,
45
+ "eval_batch_size": 64,
46
+ "fp16": false,
47
+ "bf16": true,
48
+ "torch_compile": true,
49
+ "torch_compile_backend": "inductor",
50
+ "torch_compile_mode": "default",
51
+ "best_checkpoint": "checkpoints/mla-o_baseline/checkpoint-50000",
52
+ "run_name": "mla-o_baseline",
53
+ "run_id": "koko",
54
+ "push_to_hub": true,
55
+ "hub_model_id": "kokolamba/encoder-mla-o-baseline-perf",
56
+ "hub_strategy": "end"
57
+ },
58
+ "fine_tune": {
59
+ "task": "sst2",
60
+ "batch_size": 16,
61
+ "lr": 2e-05,
62
+ "epochs": 3,
63
+ "seed": 42,
64
+ "max_length": 128,
65
+ "weight_decay": 0,
66
+ "warmup_ratio": 0,
67
+ "fp16": false,
68
+ "bf16": true,
69
+ "torch_compile": true,
70
+ "torch_compile_backend": "inductor",
71
+ "torch_compile_mode": "default",
72
+ "run_name": "configperf - mla-o_baseline - pt_id.koko - sst2",
73
+ "model_path": "checkpoints/mla-o_baseline/checkpoint-50000",
74
+ "tuned_from_id": "koko",
75
+ "run_id": "ruq0b2kl",
76
+ "run_url": "https://wandb.ai/abdulhakeemadefioye-personal/subspace-encoder-sst2/runs/ruq0b2kl"
77
+ }
78
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9315e89146c537272be004ba63444d8a3f348cea8bf01b125eca07d95cafc1e9
3
+ size 52371776
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ff3a589a9664b6a7d2d111dae847708f0050e50f5a0425406eb8f1417f9dbab
3
+ size 104799354
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b83432253e3441b44b0af69b1d488725f0f394ab1e7b933b387b9e291b3e42de
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c41b24d556b463967f19cb66c03824bf85c07c05fbc80ebaac7fd319789f6b1
3
+ size 1064
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b7ec0750c12d4bc7b33106f57f11ceb74562b0c2a3bae33fde49c19137ba6c6
3
+ size 5560
vocab.txt ADDED
The diff for this file is too large to render. See raw diff