File size: 2,115 Bytes
880ab92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "_name_or_path": "plncmm/roberta-clinical-wl-es",
  "architectures": [
    "RobertaForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "bos_token_id": 0,
  "classifier_dropout": null,
  "eos_token_id": 2,
  "gradient_checkpointing": false,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "O",
    "1": "B-Disease",
    "2": "I-Disease",
    "3": "B-Medication",
    "4": "I-Medication",
    "5": "B-Abbreviation",
    "6": "I-Abbreviation",
    "7": "B-Body_Part",
    "8": "I-Body_Part",
    "9": "B-Family_Member",
    "10": "I-Family_Member",
    "11": "B-Sign_or_Symptom",
    "12": "I-Sign_or_Symptom",
    "13": "B-Laboratory_or_Test_Result",
    "14": "I-Laboratory_or_Test_Result",
    "15": "B-Clinical_Finding",
    "16": "I-Clinical_Finding",
    "17": "B-Diagnostic_Procedure",
    "18": "I-Diagnostic_Procedure",
    "19": "B-Laboratory_Procedure",
    "20": "I-Laboratory_Procedure",
    "21": "B-Therapeutic_Procedure",
    "22": "I-Therapeutic_Procedure"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "B-Abbreviation": 5,
    "B-Body_Part": 7,
    "B-Clinical_Finding": 15,
    "B-Diagnostic_Procedure": 17,
    "B-Disease": 1,
    "B-Family_Member": 9,
    "B-Laboratory_Procedure": 19,
    "B-Laboratory_or_Test_Result": 13,
    "B-Medication": 3,
    "B-Sign_or_Symptom": 11,
    "B-Therapeutic_Procedure": 21,
    "I-Abbreviation": 6,
    "I-Body_Part": 8,
    "I-Clinical_Finding": 16,
    "I-Diagnostic_Procedure": 18,
    "I-Disease": 2,
    "I-Family_Member": 10,
    "I-Laboratory_Procedure": 20,
    "I-Laboratory_or_Test_Result": 14,
    "I-Medication": 4,
    "I-Sign_or_Symptom": 12,
    "I-Therapeutic_Procedure": 22,
    "O": 0
  },
  "layer_norm_eps": 1e-05,
  "max_position_embeddings": 514,
  "model_type": "roberta",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 1,
  "position_embedding_type": "absolute",
  "torch_dtype": "float32",
  "transformers_version": "4.24.0",
  "type_vocab_size": 1,
  "use_cache": true,
  "vocab_size": 52000
}