system HF staff commited on
Commit
913db46
1 Parent(s): 206f9c4

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +21 -7
config.json CHANGED
@@ -3,23 +3,37 @@
3
  "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
- "bos_token_id": 0,
7
  "do_sample": false,
8
- "eos_token_ids": 0,
9
  "finetuning_task": null,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
- "0": "LABEL_0",
15
- "1": "LABEL_1"
 
 
 
 
 
 
 
16
  },
17
  "initializer_range": 0.02,
18
  "intermediate_size": 3072,
19
  "is_decoder": false,
20
  "label2id": {
21
- "LABEL_0": 0,
22
- "LABEL_1": 1
 
 
 
 
 
 
 
23
  },
24
  "layer_norm_eps": 1e-12,
25
  "length_penalty": 1.0,
@@ -34,7 +48,7 @@
34
  "output_attentions": false,
35
  "output_hidden_states": false,
36
  "output_past": true,
37
- "pad_token_id": 0,
38
  "pruned_heads": {},
39
  "repetition_penalty": 1.0,
40
  "temperature": 1.0,
 
3
  "BertForTokenClassification"
4
  ],
5
  "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": null,
7
  "do_sample": false,
8
+ "eos_token_ids": null,
9
  "finetuning_task": null,
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
12
  "hidden_size": 768,
13
  "id2label": {
14
+ "0": "B-LOC",
15
+ "1": "B-MISC",
16
+ "2": "B-ORG",
17
+ "3": "B-PER",
18
+ "4": "I-LOC",
19
+ "5": "I-MISC",
20
+ "6": "I-ORG",
21
+ "7": "I-PER",
22
+ "8": "O"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "is_decoder": false,
27
  "label2id": {
28
+ "B-LOC": 0,
29
+ "B-MISC": 1,
30
+ "B-ORG": 2,
31
+ "B-PER": 3,
32
+ "I-LOC": 4,
33
+ "I-MISC": 5,
34
+ "I-ORG": 6,
35
+ "I-PER": 7,
36
+ "O": 8
37
  },
38
  "layer_norm_eps": 1e-12,
39
  "length_penalty": 1.0,
 
48
  "output_attentions": false,
49
  "output_hidden_states": false,
50
  "output_past": true,
51
+ "pad_token_id": null,
52
  "pruned_heads": {},
53
  "repetition_penalty": 1.0,
54
  "temperature": 1.0,