Skip to content

Commit

Permalink
add bert_config
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Feb 18, 2022
1 parent ad5eec3 commit 23af1be
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions configs/bert_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"architectures": [
"BertModel"
],
"attention_probs_dropout_prob": 0.1,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"initializer_range": 0.02,
"intermediate_size": 3072,
"layer_norm_eps": 1e-12,
"max_position_embeddings": 512,
"model_type": "bert",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"pad_token_id": 0,
"type_vocab_size": 2,
"vocab_size": 30522,
"encoder_width": 768,
"add_cross_attention": true
}

0 comments on commit 23af1be

Please sign in to comment.