File size: 1,425 Bytes
a61dd96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
    "architectures": [
        "ScriptableCrammedBERT"
    ],
    "num_transformer_layers": 16,
    "hidden_size": 768,
    "intermed_size": 3072,
    "hidden_dropout_prob": 0.1,
    "norm": "LayerNorm",
    "norm_eps": 1e-12,
    "norm_scheme": "pre",
    "nonlin": "GELUglu",
    "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
    }
}