Add auto_map field
Browse files- config.json +3 -0
config.json
CHANGED
|
@@ -4,6 +4,9 @@
|
|
| 4 |
"MyBertModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
|
|
|
|
|
| 7 |
"classifier_dropout": null,
|
| 8 |
"gradient_checkpointing": false,
|
| 9 |
"hidden_act": "gelu",
|
|
|
|
| 4 |
"MyBertModel"
|
| 5 |
],
|
| 6 |
"attention_probs_dropout_prob": 0.1,
|
| 7 |
+
"auto_map": {
|
| 8 |
+
"AutoModel": "modeling.MyBertModel"
|
| 9 |
+
},
|
| 10 |
"classifier_dropout": null,
|
| 11 |
"gradient_checkpointing": false,
|
| 12 |
"hidden_act": "gelu",
|