devnote5676 commited on
Commit
d8f8ef7
1 Parent(s): 9c1aadc

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +9 -1
config.json CHANGED
@@ -1,14 +1,22 @@
1
  {
2
  "architectures": [
3
- "BertForMaskedLM"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "gradient_checkpointing": false,
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
 
 
 
 
10
  "initializer_range": 0.02,
11
  "intermediate_size": 3072,
 
 
 
 
12
  "layer_norm_eps": 1e-12,
13
  "max_position_embeddings": 512,
14
  "model_type": "bert",
 
1
  {
2
  "architectures": [
3
+ "BertForSequenceClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "gradient_checkpointing": false,
7
  "hidden_act": "gelu",
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "negative",
12
+ "1": "positive"
13
+ },
14
  "initializer_range": 0.02,
15
  "intermediate_size": 3072,
16
+ "label2id": {
17
+ "negative": 0,
18
+ "positive": 1
19
+ },
20
  "layer_norm_eps": 1e-12,
21
  "max_position_embeddings": 512,
22
  "model_type": "bert",