system HF staff commited on
Commit
c9e8dd5
1 Parent(s): ada3490

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +25 -6
config.json CHANGED
@@ -1,29 +1,48 @@
1
  {
 
2
  "architectures": [
3
  "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
  "directionality": "bidi",
7
- "finetuning_task": null,
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
 
 
 
 
 
 
 
 
 
 
 
11
  "initializer_range": 0.02,
12
  "intermediate_size": 3072,
 
 
 
 
 
 
 
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "max_position_embeddings": 512,
 
15
  "num_attention_heads": 12,
16
  "num_hidden_layers": 12,
17
- "num_labels": 9,
18
- "output_attentions": false,
19
- "output_hidden_states": false,
20
  "pooler_fc_size": 768,
21
  "pooler_num_attention_heads": 12,
22
  "pooler_num_fc_layers": 3,
23
  "pooler_size_per_head": 128,
24
  "pooler_type": "first_token_transform",
25
- "pruned_heads": {},
26
- "torchscript": false,
27
  "type_vocab_size": 2,
28
  "vocab_size": 119547
29
  }
1
  {
2
+ "_num_labels": 9,
3
  "architectures": [
4
  "BertForTokenClassification"
5
  ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "directionality": "bidi",
 
8
  "hidden_act": "gelu",
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "LABEL_0",
13
+ "1": "LABEL_1",
14
+ "2": "LABEL_2",
15
+ "3": "LABEL_3",
16
+ "4": "LABEL_4",
17
+ "5": "LABEL_5",
18
+ "6": "LABEL_6",
19
+ "7": "LABEL_7",
20
+ "8": "LABEL_8"
21
+ },
22
  "initializer_range": 0.02,
23
  "intermediate_size": 3072,
24
+ "label2id": {
25
+ "LABEL_0": 0,
26
+ "LABEL_1": 1,
27
+ "LABEL_2": 2,
28
+ "LABEL_3": 3,
29
+ "LABEL_4": 4,
30
+ "LABEL_5": 5,
31
+ "LABEL_6": 6,
32
+ "LABEL_7": 7,
33
+ "LABEL_8": 8
34
+ },
35
  "layer_norm_eps": 1e-12,
36
  "max_position_embeddings": 512,
37
+ "model_type": "bert",
38
  "num_attention_heads": 12,
39
  "num_hidden_layers": 12,
40
+ "pad_token_id": 0,
 
 
41
  "pooler_fc_size": 768,
42
  "pooler_num_attention_heads": 12,
43
  "pooler_num_fc_layers": 3,
44
  "pooler_size_per_head": 128,
45
  "pooler_type": "first_token_transform",
 
 
46
  "type_vocab_size": 2,
47
  "vocab_size": 119547
48
  }