Upload config.json with huggingface_hub
Browse files- config.json +1 -108
config.json
CHANGED
@@ -1,108 +1 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "./data/model",
|
3 |
-
"architectures": [
|
4 |
-
"BertForSequenceClassification"
|
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": "LABEL_0",
|
13 |
-
"1": "LABEL_1",
|
14 |
-
"2": "LABEL_2",
|
15 |
-
"3": "LABEL_3",
|
16 |
-
"4": "LABEL_4",
|
17 |
-
"5": "LABEL_5",
|
18 |
-
"6": "LABEL_6",
|
19 |
-
"7": "LABEL_7",
|
20 |
-
"8": "LABEL_8",
|
21 |
-
"9": "LABEL_9",
|
22 |
-
"10": "LABEL_10",
|
23 |
-
"11": "LABEL_11",
|
24 |
-
"12": "LABEL_12",
|
25 |
-
"13": "LABEL_13",
|
26 |
-
"14": "LABEL_14",
|
27 |
-
"15": "LABEL_15",
|
28 |
-
"16": "LABEL_16",
|
29 |
-
"17": "LABEL_17",
|
30 |
-
"18": "LABEL_18",
|
31 |
-
"19": "LABEL_19",
|
32 |
-
"20": "LABEL_20",
|
33 |
-
"21": "LABEL_21",
|
34 |
-
"22": "LABEL_22",
|
35 |
-
"23": "LABEL_23",
|
36 |
-
"24": "LABEL_24",
|
37 |
-
"25": "LABEL_25",
|
38 |
-
"26": "LABEL_26",
|
39 |
-
"27": "LABEL_27",
|
40 |
-
"28": "LABEL_28",
|
41 |
-
"29": "LABEL_29",
|
42 |
-
"30": "LABEL_30",
|
43 |
-
"31": "LABEL_31",
|
44 |
-
"32": "LABEL_32",
|
45 |
-
"33": "LABEL_33",
|
46 |
-
"34": "LABEL_34",
|
47 |
-
"35": "LABEL_35",
|
48 |
-
"36": "LABEL_36",
|
49 |
-
"37": "LABEL_37",
|
50 |
-
"38": "LABEL_38"
|
51 |
-
},
|
52 |
-
"initializer_range": 0.02,
|
53 |
-
"intermediate_size": 3072,
|
54 |
-
"label2id": {
|
55 |
-
"LABEL_0": 0,
|
56 |
-
"LABEL_1": 1,
|
57 |
-
"LABEL_10": 10,
|
58 |
-
"LABEL_11": 11,
|
59 |
-
"LABEL_12": 12,
|
60 |
-
"LABEL_13": 13,
|
61 |
-
"LABEL_14": 14,
|
62 |
-
"LABEL_15": 15,
|
63 |
-
"LABEL_16": 16,
|
64 |
-
"LABEL_17": 17,
|
65 |
-
"LABEL_18": 18,
|
66 |
-
"LABEL_19": 19,
|
67 |
-
"LABEL_2": 2,
|
68 |
-
"LABEL_20": 20,
|
69 |
-
"LABEL_21": 21,
|
70 |
-
"LABEL_22": 22,
|
71 |
-
"LABEL_23": 23,
|
72 |
-
"LABEL_24": 24,
|
73 |
-
"LABEL_25": 25,
|
74 |
-
"LABEL_26": 26,
|
75 |
-
"LABEL_27": 27,
|
76 |
-
"LABEL_28": 28,
|
77 |
-
"LABEL_29": 29,
|
78 |
-
"LABEL_3": 3,
|
79 |
-
"LABEL_30": 30,
|
80 |
-
"LABEL_31": 31,
|
81 |
-
"LABEL_32": 32,
|
82 |
-
"LABEL_33": 33,
|
83 |
-
"LABEL_34": 34,
|
84 |
-
"LABEL_35": 35,
|
85 |
-
"LABEL_36": 36,
|
86 |
-
"LABEL_37": 37,
|
87 |
-
"LABEL_38": 38,
|
88 |
-
"LABEL_4": 4,
|
89 |
-
"LABEL_5": 5,
|
90 |
-
"LABEL_6": 6,
|
91 |
-
"LABEL_7": 7,
|
92 |
-
"LABEL_8": 8,
|
93 |
-
"LABEL_9": 9
|
94 |
-
},
|
95 |
-
"layer_norm_eps": 1e-12,
|
96 |
-
"max_position_embeddings": 512,
|
97 |
-
"model_type": "bert",
|
98 |
-
"num_attention_heads": 12,
|
99 |
-
"num_hidden_layers": 12,
|
100 |
-
"pad_token_id": 0,
|
101 |
-
"position_embedding_type": "absolute",
|
102 |
-
"problem_type": "single_label_classification",
|
103 |
-
"torch_dtype": "float32",
|
104 |
-
"transformers_version": "4.20.1",
|
105 |
-
"type_vocab_size": 2,
|
106 |
-
"use_cache": true,
|
107 |
-
"vocab_size": 28996
|
108 |
-
}
|
|
|
1 |
+
{"_name_or_path": "./data/model", "architectures": ["BertForSequenceClassification"], "attention_probs_dropout_prob": 0.1, "classifier_dropout": null, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": {"0": "abscess", "1": "adverse reaction to drug", "2": "appetite disorder", "3": "blank", "4": "blood test", "5": "claw/nail disorder", "6": "dental disorder", "7": "disorder not diagnosed", "8": "ear disorder", "9": "endocrine system disorder", "10": "enteropathy", "11": "female reproductive disorder", "12": "fever (undiagnosed)", "13": "foreign body", "14": "heart disorder", "15": "intoxication", "16": "kidney disorder", "17": "lethargy", "18": "liver disorder", "19": "lower respiratory tract disorder", "20": "lymph node disorder", "21": "male reproductive disorder", "22": "mass", "23": "musculoskeletal disorder", "24": "neoplasia", "25": "neurological disorder", "26": "ophthalmological disorder", "27": "oral cavity disorder", "28": "other species", "29": "palliative", "30": "pancreatic disorder", "31": "post operative complication", "32": "prophylaxis", "33": "repeat", "34": "skin disorder", "35": "traumatic injury", "36": "unknown", "37": "upper respiratory tract disorder", "38": "urinary tract disorder"}, "initializer_range": 0.02, "intermediate_size": 3072, "label2id": {"abscess": "0", "adverse reaction to drug": "1", "appetite disorder": "2", "blank": "3", "blood test": "4", "claw/nail disorder": "5", "dental disorder": "6", "disorder not diagnosed": "7", "ear disorder": "8", "endocrine system disorder": "9", "enteropathy": "10", "female reproductive disorder": "11", "fever (undiagnosed)": "12", "foreign body": "13", "heart disorder": "14", "intoxication": "15", "kidney disorder": "16", "lethargy": "17", "liver disorder": "18", "lower respiratory tract disorder": "19", "lymph node disorder": "20", "male reproductive disorder": "21", "mass": "22", "musculoskeletal disorder": "23", "neoplasia": "24", "neurological disorder": "25", "ophthalmological disorder": "26", "oral cavity disorder": "27", "other species": "28", "palliative": "29", "pancreatic disorder": "30", "post operative complication": "31", "prophylaxis": "32", "repeat": "33", "skin disorder": "34", "traumatic injury": "35", "unknown": "36", "upper respiratory tract disorder": "37", "urinary tract disorder": "38"}, "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", "problem_type": "single_label_classification", "torch_dtype": "float32", "transformers_version": "4.20.1", "type_vocab_size": 2, "use_cache": true, "vocab_size": 28996}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|