File size: 1,180 Bytes
16ea14b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  "architectures": [
    "BertForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "gradient_checkpointing": false,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 1024,
  "id2label": {
    "0": "B-DRUG",
    "1": "I-DRUG",
    "2": "B-STR",
    "3": "I-STR",
    "4": "B-DUR",
    "5": "I-DUR",
    "6": "B-ROU",
    "7": "I-ROU",
    "8": "B-FOR",
    "9": "I-FOR",
    "10": "B-ADE",
    "11": "I-ADE",
    "12": "B-DOS",
    "13": "I-DOS",
    "14": "B-REA",
    "15": "I-REA",
    "16": "B-FRE",
    "17": "I-FRE",
    "18": "O"
  },
  "initializer_range": 0.02,
  "intermediate_size": 4096,
  "label2id": {
    "B-ADE": 10,
    "B-DOS": 12,
    "B-DRUG": 0,
    "B-DUR": 4,
    "B-FOR": 8,
    "B-FRE": 16,
    "B-REA": 14,
    "B-ROU": 6,
    "B-STR": 2,
    "I-ADE": 11,
    "I-DOS": 13,
    "I-DRUG": 1,
    "I-DUR": 5,
    "I-FOR": 9,
    "I-FRE": 17,
    "I-REA": 15,
    "I-ROU": 7,
    "I-STR": 3,
    "O": 18
  },
  "layer_norm_eps": 1e-12,
  "max_position_embeddings": 512,
  "model_type": "bert",
  "num_attention_heads": 16,
  "num_hidden_layers": 24,
  "pad_token_id": 0,
  "type_vocab_size": 2,
  "vocab_size": 58996
}