system HF staff commited on
Commit
dd1cd78
1 Parent(s): 2b0aef7

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +3 -3
config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "architectures": [
3
- "HerbertModel"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "directionality": "bidi",
@@ -11,7 +11,7 @@
11
  "intermediate_size": 4096,
12
  "layer_norm_eps": 1e-12,
13
  "max_position_embeddings": 514,
14
- "model_type": "herbert",
15
  "num_attention_heads": 16,
16
  "num_hidden_layers": 24,
17
  "pad_token_id": 1,
@@ -20,7 +20,7 @@
20
  "pooler_num_fc_layers": 3,
21
  "pooler_size_per_head": 128,
22
  "pooler_type": "first_token_transform",
23
- "tokenizer_class": "HerbertTokenizerFast",
24
  "type_vocab_size": 2,
25
  "vocab_size": 50000
26
  }
 
1
  {
2
  "architectures": [
3
+ "BertModel"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "directionality": "bidi",
 
11
  "intermediate_size": 4096,
12
  "layer_norm_eps": 1e-12,
13
  "max_position_embeddings": 514,
14
+ "model_type": "bert",
15
  "num_attention_heads": 16,
16
  "num_hidden_layers": 24,
17
  "pad_token_id": 1,
 
20
  "pooler_num_fc_layers": 3,
21
  "pooler_size_per_head": 128,
22
  "pooler_type": "first_token_transform",
23
+ "tokenizer_class": "XLMTokenizer",
24
  "type_vocab_size": 2,
25
  "vocab_size": 50000
26
  }