File size: 371 Bytes
70d98db
 
 
 
 
 
 
 
 
 
 
 
 
b17bed3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
config = {
    "model_type": "transformer",
    "num_hidden_layers": 12,
    "num_attention_heads": 12,
    "hidden_size": 768,
    "intermediate_size": 3072,
    "vocab_size": 30522,
    "max_position_embeddings": 512,
    "type_vocab_size": 2,
    "initializer_range": 0.02,
    "layer_norm_eps": 1e-12,
    "pad_token_id": 0,
    # ... other relevant parameters ...
}