calpt commited on
Commit
e03d2d0
1 Parent(s): 97f26fe

Add AutoModelForSequenceClassification to auto_map

Browse files
Files changed (1) hide show
  1. config.json +2 -1
config.json CHANGED
@@ -7,7 +7,8 @@
7
  "attention_probs_dropout_prob": 0.0,
8
  "auto_map": {
9
  "AutoConfig": "configuration_bert.BertConfig",
10
- "AutoModelForMaskedLM": "bert_layers.BertForMaskedLM"
 
11
  },
12
  "classifier_dropout": null,
13
  "gradient_checkpointing": false,
 
7
  "attention_probs_dropout_prob": 0.0,
8
  "auto_map": {
9
  "AutoConfig": "configuration_bert.BertConfig",
10
+ "AutoModelForMaskedLM": "bert_layers.BertForMaskedLM",
11
+ "AutoModelForSequenceClassification": "bert_layers.BertForSequenceClassification"
12
  },
13
  "classifier_dropout": null,
14
  "gradient_checkpointing": false,