system HF staff commited on
Commit
7405d6f
1 Parent(s): c15d1bd

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +26 -29
config.json CHANGED
@@ -1,51 +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": 1024,
 
 
 
 
 
 
 
 
 
 
 
11
  "initializer_range": 0.02,
12
  "intermediate_size": 4096,
 
 
 
 
 
 
 
 
 
 
 
13
  "layer_norm_eps": 1e-12,
14
  "max_position_embeddings": 512,
 
15
  "num_attention_heads": 16,
16
  "num_hidden_layers": 24,
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": 28996,
29
- "label2id": {
30
- "O": 0,
31
- "B-MISC": 1,
32
- "I-MISC": 2,
33
- "B-PER": 3,
34
- "I-PER": 4,
35
- "B-ORG": 5,
36
- "I-ORG": 6,
37
- "B-LOC": 7,
38
- "I-LOC": 8
39
- },
40
- "id2label": {
41
- "0": "O",
42
- "1": "B-MISC",
43
- "2": "I-MISC",
44
- "3": "B-PER",
45
- "4": "I-PER",
46
- "5": "B-ORG",
47
- "6": "I-ORG",
48
- "7": "B-LOC",
49
- "8": "I-LOC"
50
- }
51
  }
 
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": 1024,
11
+ "id2label": {
12
+ "0": "O",
13
+ "1": "B-MISC",
14
+ "2": "I-MISC",
15
+ "3": "B-PER",
16
+ "4": "I-PER",
17
+ "5": "B-ORG",
18
+ "6": "I-ORG",
19
+ "7": "B-LOC",
20
+ "8": "I-LOC"
21
+ },
22
  "initializer_range": 0.02,
23
  "intermediate_size": 4096,
24
+ "label2id": {
25
+ "B-LOC": 7,
26
+ "B-MISC": 1,
27
+ "B-ORG": 5,
28
+ "B-PER": 3,
29
+ "I-LOC": 8,
30
+ "I-MISC": 2,
31
+ "I-ORG": 6,
32
+ "I-PER": 4,
33
+ "O": 0
34
+ },
35
  "layer_norm_eps": 1e-12,
36
  "max_position_embeddings": 512,
37
+ "model_type": "bert",
38
  "num_attention_heads": 16,
39
  "num_hidden_layers": 24,
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": 28996
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  }