From 23af1be3ffaa16524428b64c9227ea164aaa50e4 Mon Sep 17 00:00:00 2001 From: root <“junnan.li@salesforce.com”> Date: Fri, 18 Feb 2022 03:41:34 +0000 Subject: [PATCH] add bert_config --- configs/bert_config.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 configs/bert_config.json diff --git a/configs/bert_config.json b/configs/bert_config.json new file mode 100644 index 0000000..3ef38aa --- /dev/null +++ b/configs/bert_config.json @@ -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 +}