shmelev commited on
Commit
6bf47d6
1 Parent(s): 89ae3fb

commit from alex

Browse files
Files changed (2) hide show
  1. config.json +2 -1
  2. configuration_bert.py +1 -1
config.json CHANGED
@@ -1,8 +1,9 @@
1
  {
2
  "architectures": [
3
- "BertForPreTraining"
4
  ],
5
  "auto_map": {
 
6
  "AutoModel": "modeling_bert.BertForPreTraining"
7
  },
8
  "attention_probs_dropout_prob": 0.1,
 
1
  {
2
  "architectures": [
3
+ "BertForMaskedLM"
4
  ],
5
  "auto_map": {
6
+ "AutoConfig": "configuration_bert.BertConfig",
7
  "AutoModel": "modeling_bert.BertForPreTraining"
8
  },
9
  "attention_probs_dropout_prob": 0.1,
configuration_bert.py CHANGED
@@ -2,7 +2,7 @@ from transformers import PretrainedConfig
2
  from typing import List
3
 
4
 
5
- class ResnetConfig(PretrainedConfig):
6
  model_type="bert"
7
 
8
  def __init__(
 
2
  from typing import List
3
 
4
 
5
+ class BertConfig(PretrainedConfig):
6
  model_type="bert"
7
 
8
  def __init__(