danfu09 commited on
Commit
7d69cb9
1 Parent(s): 3fabfd0

Allow loading via AutoModel (#2)

Browse files

- Allow loading via AutoModel (cbdd8c4cdda4f27a7d1980af3968434074b6d075)

Files changed (1) hide show
  1. 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
  },
13
  "classifier_dropout": null,
 
8
  "bidirectional": true,
9
  "auto_map": {
10
  "AutoConfig": "configuration_bert.BertConfig",
11
+ "AutoModel": "bert_layers.BertModel",
12
  "AutoModelForSequenceClassification": "bert_layers.BertForTextEncoding",
13
  },
14
  "classifier_dropout": null,