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 ... | |
} | |