Tom Aarsen commited on
Commit
cbdd8c4
1 Parent(s): 66ea5d6

Allow loading via AutoModel

Browse files
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
  "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
  },