File size: 1,747 Bytes
724e1e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "_name_or_path": "vinai/phobert-large",
  "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": 1024,
  "id2label": {
    "0": "O",
    "1": "B-PATIENT_ID",
    "2": "I-PATIENT_ID",
    "3": "B-NAME",
    "4": "I-NAME",
    "5": "B-GENDER",
    "6": "I-GENDER",
    "7": "B-AGE",
    "8": "I-AGE",
    "9": "B-JOB",
    "10": "I-JOB",
    "11": "B-LOCATION",
    "12": "I-LOCATION",
    "13": "B-ORGANIZATION",
    "14": "I-ORGANIZATION",
    "15": "B-DATE",
    "16": "I-DATE",
    "17": "B-SYMPTOM_AND_DISEASE",
    "18": "I-SYMPTOM_AND_DISEASE",
    "19": "B-TRANSPORTATION",
    "20": "I-TRANSPORTATION"
  },
  "initializer_range": 0.02,
  "intermediate_size": 4096,
  "label2id": {
    "B-AGE": 7,
    "B-DATE": 15,
    "B-GENDER": 5,
    "B-JOB": 9,
    "B-LOCATION": 11,
    "B-NAME": 3,
    "B-ORGANIZATION": 13,
    "B-PATIENT_ID": 1,
    "B-SYMPTOM_AND_DISEASE": 17,
    "B-TRANSPORTATION": 19,
    "I-AGE": 8,
    "I-DATE": 16,
    "I-GENDER": 6,
    "I-JOB": 10,
    "I-LOCATION": 12,
    "I-NAME": 4,
    "I-ORGANIZATION": 14,
    "I-PATIENT_ID": 2,
    "I-SYMPTOM_AND_DISEASE": 18,
    "I-TRANSPORTATION": 20,
    "O": 0
  },
  "layer_norm_eps": 1e-05,
  "max_position_embeddings": 258,
  "model_type": "roberta",
  "num_attention_heads": 16,
  "num_hidden_layers": 24,
  "pad_token_id": 1,
  "position_embedding_type": "absolute",
  "tokenizer_class": "PhobertTokenizer",
  "torch_dtype": "float32",
  "transformers_version": "4.41.2",
  "type_vocab_size": 1,
  "use_cache": true,
  "vocab_size": 64001
}