shruthib fepegar commited on
Commit
363e863
1 Parent(s): cd9d2b5

Fix AutoConfig errors (#4)

Browse files

- Fix AutoConfig errors (c9f7fcccc245c0cbb15910f2ce8df066a3c67ee9)


Co-authored-by: Fernando Pérez-García <fepegar@users.noreply.huggingface.co>

Files changed (1) hide show
  1. config.json +2 -2
config.json CHANGED
@@ -5,7 +5,8 @@
5
  ],
6
  "attention_probs_dropout_prob": 0.25,
7
  "auto_map": {
8
- "AutoModel": "modeling_cxrbert.CXRBertModel"
 
9
  },
10
  "classifier_dropout": null,
11
  "gradient_checkpointing": false,
@@ -16,7 +17,6 @@
16
  "intermediate_size": 3072,
17
  "layer_norm_eps": 1e-12,
18
  "max_position_embeddings": 512,
19
- "model_type": "bert",
20
  "num_attention_heads": 12,
21
  "num_hidden_layers": 12,
22
  "pad_token_id": 0,
 
5
  ],
6
  "attention_probs_dropout_prob": 0.25,
7
  "auto_map": {
8
+ "AutoModel": "modeling_cxrbert.CXRBertModel",
9
+ "AutoConfig": "configuration_cxrbert.CXRBertConfig"
10
  },
11
  "classifier_dropout": null,
12
  "gradient_checkpointing": false,
 
17
  "intermediate_size": 3072,
18
  "layer_norm_eps": 1e-12,
19
  "max_position_embeddings": 512,
 
20
  "num_attention_heads": 12,
21
  "num_hidden_layers": 12,
22
  "pad_token_id": 0,