Allow loading via AutoModel
#2
by
tomaarsen
HF Staff
- opened
- config.json +1 -0
config.json
CHANGED
|
@@ -8,6 +8,7 @@
|
|
| 8 |
"bidirectional": true,
|
| 9 |
"auto_map": {
|
| 10 |
"AutoConfig": "configuration_bert.BertConfig",
|
|
|
|
| 11 |
"AutoModelForSequenceClassification": "bert_layers.BertForTextEncoding",
|
| 12 |
"AutoTokenizer": "bert-base-uncased"
|
| 13 |
},
|
|
|
|
| 8 |
"bidirectional": true,
|
| 9 |
"auto_map": {
|
| 10 |
"AutoConfig": "configuration_bert.BertConfig",
|
| 11 |
+
"AutoModel": "bert_layers.BertModel",
|
| 12 |
"AutoModelForSequenceClassification": "bert_layers.BertForTextEncoding",
|
| 13 |
"AutoTokenizer": "bert-base-uncased"
|
| 14 |
},
|