File size: 1,488 Bytes
355dea0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "_name_or_path": "michiyasunaga/BioLinkBERT-base",
  "architectures": [
    "BertForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "classifier_dropout": null,
  "gradient_checkpointing": false,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "O",
    "1": "B-ADE",
    "2": "B-Dosage",
    "3": "B-Drug",
    "4": "B-Duration",
    "5": "B-Form",
    "6": "B-Frequency",
    "7": "B-Reason",
    "8": "B-Route",
    "9": "B-Strength",
    "10": "I-ADE",
    "11": "I-Dosage",
    "12": "I-Drug",
    "13": "I-Duration",
    "14": "I-Form",
    "15": "I-Frequency",
    "16": "I-Reason",
    "17": "I-Route",
    "18": "I-Strength"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "B-ADE": 1,
    "B-Dosage": 2,
    "B-Drug": 3,
    "B-Duration": 4,
    "B-Form": 5,
    "B-Frequency": 6,
    "B-Reason": 7,
    "B-Route": 8,
    "B-Strength": 9,
    "I-ADE": 10,
    "I-Dosage": 11,
    "I-Drug": 12,
    "I-Duration": 13,
    "I-Form": 14,
    "I-Frequency": 15,
    "I-Reason": 16,
    "I-Route": 17,
    "I-Strength": 18,
    "O": 0
  },
  "layer_norm_eps": 1e-12,
  "max_position_embeddings": 512,
  "model_type": "bert",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 0,
  "position_embedding_type": "absolute",
  "torch_dtype": "float32",
  "transformers_version": "4.38.2",
  "type_vocab_size": 2,
  "use_cache": true,
  "vocab_size": 28895
}