naotous commited on
Commit
9df7bc8
1 Parent(s): 10b8cea

Add model_type/architecture in config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -1
config.json CHANGED
@@ -1,4 +1,8 @@
1
  {
 
 
 
 
2
  "attention_probs_dropout_prob": 0.1,
3
  "hidden_act": "gelu",
4
  "hidden_dropout_prob": 0.1,
@@ -6,7 +10,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
+ "model_type": "bert",
6
  "attention_probs_dropout_prob": 0.1,
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
 
10
  "initializer_range": 0.02,
11
  "intermediate_size": 3072,
12
  "max_position_embeddings": 512,
 
13
  "num_attention_heads": 12,
14
  "num_hidden_layers": 12,
15
  "type_vocab_size": 2,