Upload config.json
Browse files- config.json +55 -0
config.json
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/drive/My Drive/ML/ner_model",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "0",
|
13 |
+
"1": "B-Age",
|
14 |
+
"2": "I-Age",
|
15 |
+
"3": "B-Sex",
|
16 |
+
"4": "I-Sex",
|
17 |
+
"5": "B-Disease_disorder",
|
18 |
+
"6": "I-Disease_disorder",
|
19 |
+
"7": "B-Sign_symptom",
|
20 |
+
"8": "I-Sign_symptom",
|
21 |
+
"9": "I-Biological_structure",
|
22 |
+
"10": "B-Biological_structure",
|
23 |
+
"11": "I-Lab_value",
|
24 |
+
"12": "B-Lab_value"
|
25 |
+
},
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"intermediate_size": 3072,
|
28 |
+
"label2id": {
|
29 |
+
"LABEL_0": 0,
|
30 |
+
"LABEL_1": 1,
|
31 |
+
"LABEL_10": 10,
|
32 |
+
"LABEL_11": 11,
|
33 |
+
"LABEL_12": 12,
|
34 |
+
"LABEL_2": 2,
|
35 |
+
"LABEL_3": 3,
|
36 |
+
"LABEL_4": 4,
|
37 |
+
"LABEL_5": 5,
|
38 |
+
"LABEL_6": 6,
|
39 |
+
"LABEL_7": 7,
|
40 |
+
"LABEL_8": 8,
|
41 |
+
"LABEL_9": 9
|
42 |
+
},
|
43 |
+
"layer_norm_eps": 1e-12,
|
44 |
+
"max_position_embeddings": 512,
|
45 |
+
"model_type": "bert",
|
46 |
+
"num_attention_heads": 12,
|
47 |
+
"num_hidden_layers": 12,
|
48 |
+
"pad_token_id": 0,
|
49 |
+
"position_embedding_type": "absolute",
|
50 |
+
"torch_dtype": "float32",
|
51 |
+
"transformers_version": "4.28.0",
|
52 |
+
"type_vocab_size": 2,
|
53 |
+
"use_cache": true,
|
54 |
+
"vocab_size": 31090
|
55 |
+
}
|