naotous commited on
Commit
81adfb9
1 Parent(s): 3c04e25

Specify "BertForMaskedLM" architecture in config.json

Browse files
Files changed (1) hide show
  1. config.json +3 -1
config.json CHANGED
@@ -1,4 +1,7 @@
1
  {
 
 
 
2
  "attention_probs_dropout_prob": 0.1,
3
  "hidden_act": "gelu",
4
  "hidden_dropout_prob": 0.1,
@@ -6,7 +9,6 @@
6
  "initializer_range": 0.02,
7
  "intermediate_size": 3072,
8
  "max_position_embeddings": 512,
9
- "model_type": "bert",
10
  "num_attention_heads": 12,
11
  "num_hidden_layers": 12,
12
  "type_vocab_size": 2,
 
1
  {
2
+ "architectures": [
3
+ "BertForMaskedLM"
4
+ ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "hidden_act": "gelu",
7
  "hidden_dropout_prob": 0.1,
 
9
  "initializer_range": 0.02,
10
  "intermediate_size": 3072,
11
  "max_position_embeddings": 512,
 
12
  "num_attention_heads": 12,
13
  "num_hidden_layers": 12,
14
  "type_vocab_size": 2,