File size: 2,922 Bytes
73756a0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
  "_name_or_path": "tner_ckpt/bc5cdr_roberta_large/best_model",
  "architectures": [
    "RobertaForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "bos_token_id": 0,
  "classifier_dropout": null,
  "crf_state_dict": {
    "_constraint_mask": [
      [
        1.0,
        1.0,
        1.0,
        0.0,
        0.0,
        0.0,
        1.0
      ],
      [
        1.0,
        1.0,
        1.0,
        0.0,
        1.0,
        0.0,
        1.0
      ],
      [
        1.0,
        1.0,
        1.0,
        1.0,
        0.0,
        0.0,
        1.0
      ],
      [
        1.0,
        1.0,
        1.0,
        1.0,
        0.0,
        0.0,
        1.0
      ],
      [
        1.0,
        1.0,
        1.0,
        0.0,
        1.0,
        0.0,
        1.0
      ],
      [
        1.0,
        1.0,
        1.0,
        0.0,
        0.0,
        0.0,
        0.0
      ],
      [
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0
      ]
    ],
    "end_transitions": [
      1.1829675436019897,
      0.338004469871521,
      1.610476016998291,
      -2.1025612354278564,
      0.026044141501188278
    ],
    "start_transitions": [
      0.23535622656345367,
      -0.5871618390083313,
      -0.908195972442627,
      1.289412021636963,
      0.7491621971130371
    ],
    "transitions": [
      [
        0.08883310854434967,
        -0.34687548875808716,
        -0.5557966232299805,
        -0.6514758467674255,
        -0.32734575867652893
      ],
      [
        -0.020529085770249367,
        -1.1056996583938599,
        -0.6824190020561218,
        0.38456156849861145,
        -0.19291424751281738
      ],
      [
        -0.6466730237007141,
        -0.2793288826942444,
        -0.8555130958557129,
        0.10881402343511581,
        0.8075306415557861
      ],
      [
        -0.09906835854053497,
        -0.14599257707595825,
        0.10467313230037689,
        -0.26882439851760864,
        -0.12745390832424164
      ],
      [
        0.11021356284618378,
        -0.1971757709980011,
        0.632551372051239,
        0.9238606095314026,
        -0.20630259811878204
      ]
    ]
  },
  "eos_token_id": 2,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 1024,
  "id2label": {
    "0": "O",
    "1": "B-Chemical",
    "2": "B-Disease",
    "3": "I-Disease",
    "4": "I-Chemical"
  },
  "initializer_range": 0.02,
  "intermediate_size": 4096,
  "label2id": {
    "B-Chemical": 1,
    "B-Disease": 2,
    "I-Chemical": 4,
    "I-Disease": 3,
    "O": 0
  },
  "layer_norm_eps": 1e-05,
  "max_position_embeddings": 514,
  "model_type": "roberta",
  "num_attention_heads": 16,
  "num_hidden_layers": 24,
  "pad_token_id": 1,
  "position_embedding_type": "absolute",
  "torch_dtype": "float32",
  "transformers_version": "4.20.1",
  "type_vocab_size": 1,
  "use_cache": true,
  "vocab_size": 50265
}