roformer_chinese_base / model_config.json
junnyu's picture
add
b101fde
raw
history blame contribute delete
586 Bytes
{
"init_args": [
{
"vocab_size": 50000,
"hidden_size": 768,
"num_hidden_layers": 12,
"num_attention_heads": 12,
"intermediate_size": 3072,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"attention_probs_dropout_prob": 0.1,
"max_position_embeddings": 1536,
"type_vocab_size": 2,
"initializer_range": 0.02,
"pad_token_id": 0,
"init_class": "RoFormerModel"
}
],
"init_class": "RoFormerForPretraining"
}