annaadar commited on
Commit
0ed8e77
·
verified ·
1 Parent(s): daf89b0

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": null,
8
+ "classifier_dropout": null,
9
+ "dtype": "float32",
10
+ "eos_token_id": null,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "administration_general",
17
+ "1": "cardiology",
18
+ "2": "cardiology_procedures",
19
+ "3": "dermatology",
20
+ "4": "diabetes_endocrinology",
21
+ "5": "emergency_medicine",
22
+ "6": "family_medicine",
23
+ "7": "gastroenterology",
24
+ "8": "geriatrics_rehabilitation",
25
+ "9": "gynecology",
26
+ "10": "hematology",
27
+ "11": "imaging",
28
+ "12": "infections_inflammation",
29
+ "13": "lab_results",
30
+ "14": "neurology",
31
+ "15": "oncology",
32
+ "16": "orthopedics",
33
+ "17": "pathology",
34
+ "18": "pediatrics",
35
+ "19": "pharmacy",
36
+ "20": "psychiatry",
37
+ "21": "pulmonology",
38
+ "22": "surgery",
39
+ "23": "urology"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 3072,
43
+ "is_decoder": false,
44
+ "label2id": {
45
+ "administration_general": 0,
46
+ "cardiology": 1,
47
+ "cardiology_procedures": 2,
48
+ "dermatology": 3,
49
+ "diabetes_endocrinology": 4,
50
+ "emergency_medicine": 5,
51
+ "family_medicine": 6,
52
+ "gastroenterology": 7,
53
+ "geriatrics_rehabilitation": 8,
54
+ "gynecology": 9,
55
+ "hematology": 10,
56
+ "imaging": 11,
57
+ "infections_inflammation": 12,
58
+ "lab_results": 13,
59
+ "neurology": 14,
60
+ "oncology": 15,
61
+ "orthopedics": 16,
62
+ "pathology": 17,
63
+ "pediatrics": 18,
64
+ "pharmacy": 19,
65
+ "psychiatry": 20,
66
+ "pulmonology": 21,
67
+ "surgery": 22,
68
+ "urology": 23
69
+ },
70
+ "layer_norm_eps": 1e-12,
71
+ "max_position_embeddings": 512,
72
+ "model_type": "bert",
73
+ "num_attention_heads": 12,
74
+ "num_hidden_layers": 12,
75
+ "pad_token_id": 0,
76
+ "position_embedding_type": "absolute",
77
+ "problem_type": "single_label_classification",
78
+ "tie_word_embeddings": true,
79
+ "transformers_version": "5.0.0",
80
+ "type_vocab_size": 1,
81
+ "use_cache": false,
82
+ "vocab_size": 52000
83
+ }
label_mappings.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"label2id": {"administration_general": 0, "cardiology": 1, "cardiology_procedures": 2, "dermatology": 3, "diabetes_endocrinology": 4, "emergency_medicine": 5, "family_medicine": 6, "gastroenterology": 7, "geriatrics_rehabilitation": 8, "gynecology": 9, "hematology": 10, "imaging": 11, "infections_inflammation": 12, "lab_results": 13, "neurology": 14, "oncology": 15, "orthopedics": 16, "pathology": 17, "pediatrics": 18, "pharmacy": 19, "psychiatry": 20, "pulmonology": 21, "surgery": 22, "urology": 23}, "id2label": {"0": "administration_general", "1": "cardiology", "2": "cardiology_procedures", "3": "dermatology", "4": "diabetes_endocrinology", "5": "emergency_medicine", "6": "family_medicine", "7": "gastroenterology", "8": "geriatrics_rehabilitation", "9": "gynecology", "10": "hematology", "11": "imaging", "12": "infections_inflammation", "13": "lab_results", "14": "neurology", "15": "oncology", "16": "orthopedics", "17": "pathology", "18": "pediatrics", "19": "pharmacy", "20": "psychiatry", "21": "pulmonology", "22": "surgery", "23": "urology"}}
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b0f9c3436c4f24aa3244f9f3c7f5c277189179af99b8cfa37e2af834c353f19
3
+ size 504003648
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_basic_tokenize": true,
5
+ "do_lower_case": true,
6
+ "is_local": false,
7
+ "mask_token": "[MASK]",
8
+ "max_len": 512,
9
+ "model_max_length": 512,
10
+ "never_split": null,
11
+ "pad_token": "[PAD]",
12
+ "sep_token": "[SEP]",
13
+ "strip_accents": null,
14
+ "tokenize_chinese_chars": true,
15
+ "tokenizer_class": "BertTokenizer",
16
+ "unk_token": "[UNK]"
17
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb39892be698e0d67ca572ff1cd54e8c216bd446c1bd54d669530c0149dda0a0
3
+ size 5201