add model
Browse files- config.json +66 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
|
| 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": "health",
|
| 13 |
+
"1": "stay",
|
| 14 |
+
"2": "admin",
|
| 15 |
+
"3": "cc",
|
| 16 |
+
"4": "food",
|
| 17 |
+
"5": "clean",
|
| 18 |
+
"6": "bathroom",
|
| 19 |
+
"7": "bill",
|
| 20 |
+
"8": "covid",
|
| 21 |
+
"9": "visit",
|
| 22 |
+
"10": "communication",
|
| 23 |
+
"11": "nice",
|
| 24 |
+
"12": "rude",
|
| 25 |
+
"13": "nurse",
|
| 26 |
+
"14": "doctor",
|
| 27 |
+
"15": "staff",
|
| 28 |
+
"16": "depts",
|
| 29 |
+
"17": "family"
|
| 30 |
+
},
|
| 31 |
+
"initializer_range": 0.02,
|
| 32 |
+
"intermediate_size": 3072,
|
| 33 |
+
"label2id": {
|
| 34 |
+
"admin": 2,
|
| 35 |
+
"bathroom": 6,
|
| 36 |
+
"bill": 7,
|
| 37 |
+
"cc": 3,
|
| 38 |
+
"clean": 5,
|
| 39 |
+
"communication": 10,
|
| 40 |
+
"covid": 8,
|
| 41 |
+
"depts": 16,
|
| 42 |
+
"doctor": 14,
|
| 43 |
+
"family": 17,
|
| 44 |
+
"food": 4,
|
| 45 |
+
"health": 0,
|
| 46 |
+
"nice": 11,
|
| 47 |
+
"nurse": 13,
|
| 48 |
+
"rude": 12,
|
| 49 |
+
"staff": 15,
|
| 50 |
+
"stay": 1,
|
| 51 |
+
"visit": 9
|
| 52 |
+
},
|
| 53 |
+
"layer_norm_eps": 1e-12,
|
| 54 |
+
"max_position_embeddings": 512,
|
| 55 |
+
"model_type": "bert",
|
| 56 |
+
"num_attention_heads": 12,
|
| 57 |
+
"num_hidden_layers": 12,
|
| 58 |
+
"pad_token_id": 0,
|
| 59 |
+
"position_embedding_type": "absolute",
|
| 60 |
+
"problem_type": "multi_label_classification",
|
| 61 |
+
"torch_dtype": "float32",
|
| 62 |
+
"transformers_version": "4.17.0",
|
| 63 |
+
"type_vocab_size": 2,
|
| 64 |
+
"use_cache": true,
|
| 65 |
+
"vocab_size": 28996
|
| 66 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:84b792fafe8741114bb0ee4e13332f28493be6c4e5755130f38d8d5d2be105aa
|
| 3 |
+
size 433381485
|