Fix AutoConfig errors
Browse files- 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,
|