pbelcak commited on
Commit
8c43fc6
1 Parent(s): d47bd70

Upload 11 files

Browse files
README.md CHANGED
@@ -1,3 +1,9 @@
1
  ---
2
  license: mit
3
- ---
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ datasets:
4
+ - EleutherAI/pile
5
+ language:
6
+ - en
7
+ metrics:
8
+ - glue
9
+ ---
arch_budget_hours_24.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ScriptableCrammedBERT"
4
+ ],
5
+ "num_transformer_layers": 16,
6
+ "intermed_type": "fff",
7
+ "hidden_size": 768,
8
+ "intermed_size": 1,
9
+ "intermed_depth": 11,
10
+ "hidden_dropout_prob": 0.1,
11
+ "norm": "LayerNorm",
12
+ "norm_eps": 1e-12,
13
+ "norm_scheme": "pre",
14
+ "nonlin": "GELU",
15
+ "tie_weights": true,
16
+ "decoder_bias": false,
17
+ "sparse_prediction": 0.15,
18
+ "loss": "cross-entropy",
19
+ "objective_layout": "MLM",
20
+ "embedding": {
21
+ "vocab_size": null,
22
+ "pos_embedding": "scaled-sinusoidal",
23
+ "dropout_prob": 0.1,
24
+ "pad_token_id": 0,
25
+ "max_seq_length": 128,
26
+ "embedding_dim": 768,
27
+ "normalization": true,
28
+ "stable_low_precision": false
29
+ },
30
+ "attention": {
31
+ "type": "self-attention",
32
+ "causal_attention": false,
33
+ "num_attention_heads": 12,
34
+ "dropout_prob": 0.1,
35
+ "skip_output_projection": false,
36
+ "qkv_bias": false,
37
+ "rotary_embedding": false,
38
+ "seq_op_in_fp32": false,
39
+ "sequence_op": "torch-softmax"
40
+ },
41
+ "init": {
42
+ "type": "normal",
43
+ "std": 0.02
44
+ },
45
+ "ffn_layer_frequency": 1,
46
+ "skip_head_transform": true,
47
+ "use_bias": false,
48
+ "final_norm": true,
49
+ "num_labels": null,
50
+ "classification_head": {
51
+ "pooler": "avg",
52
+ "include_ff_layer": true,
53
+ "head_dim": 1024,
54
+ "nonlin": "Tanh",
55
+ "classifier_dropout": 0.1
56
+ }
57
+ }
config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "arch": {
3
+ "architectures": [
4
+ "ScriptableCrammedBERT"
5
+ ],
6
+ "attention": {
7
+ "causal_attention": false,
8
+ "dropout_prob": 0.1,
9
+ "num_attention_heads": 12,
10
+ "qkv_bias": false,
11
+ "rotary_embedding": false,
12
+ "seq_op_in_fp32": false,
13
+ "sequence_op": "torch-softmax",
14
+ "skip_output_projection": false,
15
+ "type": "self-attention"
16
+ },
17
+ "classification_head": {
18
+ "classifier_dropout": 0.1,
19
+ "head_dim": 1024,
20
+ "include_ff_layer": true,
21
+ "nonlin": "Tanh",
22
+ "pooler": "zero_index"
23
+ },
24
+ "decoder_bias": false,
25
+ "embedding": {
26
+ "dropout_prob": 0.1,
27
+ "embedding_dim": 768,
28
+ "max_seq_length": 128,
29
+ "normalization": true,
30
+ "pad_token_id": 0,
31
+ "pos_embedding": "scaled-sinusoidal",
32
+ "stable_low_precision": false,
33
+ "vocab_size": 32768
34
+ },
35
+ "ffn_layer_frequency": 1,
36
+ "final_norm": true,
37
+ "hidden_dropout_prob": 0.1,
38
+ "hidden_size": 768,
39
+ "init": {
40
+ "std": 0.02,
41
+ "type": "normal"
42
+ },
43
+ "intermed_depth": 11,
44
+ "intermed_size": 1,
45
+ "intermed_type": "fff",
46
+ "loss": "cross-entropy",
47
+ "nonlin": "GELU",
48
+ "norm": "LayerNorm",
49
+ "norm_eps": 1e-12,
50
+ "norm_scheme": "pre",
51
+ "num_labels": null,
52
+ "num_transformer_layers": 16,
53
+ "objective_layout": "MLM",
54
+ "skip_head_transform": true,
55
+ "sparse_prediction": 0.25,
56
+ "tie_weights": true,
57
+ "use_bias": false
58
+ },
59
+ "architectures": [
60
+ "ScriptableLMForPreTraining"
61
+ ],
62
+ "model_type": "crammedBERT",
63
+ "torch_dtype": "float32",
64
+ "transformers_version": "4.34.0"
65
+ }
data_budget_hours_24.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "pile-readymade",
3
+ "sources": {
4
+ "hub": {
5
+ "provider": "hub"
6
+ }
7
+ },
8
+ "hf_location": "JonasGeiping/the_pile_WordPiecex32768_2efdb9d060d1ae95faf952ec1a50f020",
9
+ "streaming": false,
10
+ "vocab_size": 32768,
11
+ "seq_length": 128
12
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd3070a6cdb36cefb0024fcbb6929548e99cbf193fede44ccc1f73ac8d5a0b5b
3
+ size 755365540
model_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"architectures": ["ScriptableCrammedBERT"], "num_transformer_layers": 16, "intermed_type": "fff", "hidden_size": 768, "intermed_size": 1, "intermed_depth": 11, "hidden_dropout_prob": 0.1, "norm": "LayerNorm", "norm_eps": 1e-12, "norm_scheme": "pre", "nonlin": "GELU", "tie_weights": true, "decoder_bias": false, "sparse_prediction": 0.25, "loss": "cross-entropy", "objective_layout": "MLM", "embedding": {"vocab_size": null, "pos_embedding": "scaled-sinusoidal", "dropout_prob": 0.1, "pad_token_id": 0, "max_seq_length": 128, "embedding_dim": 768, "normalization": true, "stable_low_precision": false}, "attention": {"type": "self-attention", "causal_attention": false, "num_attention_heads": 12, "dropout_prob": 0.1, "skip_output_projection": false, "qkv_bias": false, "rotary_embedding": false, "seq_op_in_fp32": false, "sequence_op": "torch-softmax"}, "init": {"type": "normal", "std": 0.02}, "ffn_layer_frequency": 1, "skip_head_transform": true, "use_bias": false, "final_norm": true, "num_labels": null, "classification_head": {"pooler": "avg", "include_ff_layer": true, "head_dim": 1024, "nonlin": "Tanh", "classifier_dropout": 0.1}}
special_tokens_map.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<cls>",
5
+ "<s>",
6
+ "</s>",
7
+ "<mask>",
8
+ "<sep>",
9
+ "<pad>"
10
+ ],
11
+ "bos_token": "<s>",
12
+ "cls_token": "<cls>",
13
+ "eos_token": "</s>",
14
+ "mask_token": "<mask>",
15
+ "pad_token": "<pad>",
16
+ "sep_token": "<sep>",
17
+ "unk_token": "<unk>"
18
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "</s>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "5": {
44
+ "content": "<sep>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "6": {
52
+ "content": "<pad>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ }
59
+ },
60
+ "additional_special_tokens": [
61
+ "<unk>",
62
+ "<cls>",
63
+ "<s>",
64
+ "</s>",
65
+ "<mask>",
66
+ "<sep>",
67
+ "<pad>"
68
+ ],
69
+ "bos_token": "<s>",
70
+ "clean_up_tokenization_spaces": true,
71
+ "cls_token": "<cls>",
72
+ "eos_token": "</s>",
73
+ "mask_token": "<mask>",
74
+ "model_max_length": 128,
75
+ "pad_token": "<pad>",
76
+ "sep_token": "<sep>",
77
+ "tokenizer_class": "PreTrainedTokenizerFast",
78
+ "unk_token": "<unk>"
79
+ }
train_budget_hours_24.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "optim": {
3
+ "type": "AdamW",
4
+ "lr": 0.0005,
5
+ "betas": [
6
+ 0.9,
7
+ 0.98
8
+ ],
9
+ "eps": 1e-12,
10
+ "weight_decay": 0.01,
11
+ "amsgrad": false,
12
+ "fused": null
13
+ },
14
+ "optim_mod": {
15
+ "name": "none"
16
+ },
17
+ "name": "bert-base",
18
+ "limited_decay_keys": [
19
+ "bias",
20
+ "LayerNorm.bias",
21
+ "LayerNorm.weight",
22
+ "norm"
23
+ ],
24
+ "warmup_steps": 30000,
25
+ "cooldown_steps": 0,
26
+ "steps": 900000,
27
+ "scheduler": "budget-cosine-decay",
28
+ "batch_size": 1536,
29
+ "batch_size_ramp": 0,
30
+ "gradient_clipping": null,
31
+ "pretrain_in_train_mode": false,
32
+ "objective": {
33
+ "name": "masked-lm",
34
+ "mlm_probability": 0.15,
35
+ "use_80_20_rule": true,
36
+ "disable_mlm": false,
37
+ "token_drop": 0.0
38
+ },
39
+ "reverse_dataset_order": false,
40
+ "budget": 24
41
+ }