amirali26 commited on
Commit
cd6da9a
1 Parent(s): 786766d

Training in progress, epoch 1

Browse files
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "emilyalsentzer/Bio_ClinicalBERT",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
@@ -9,92 +9,92 @@
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": " IME-QME-Work Comp etc.",
13
- "1": " Letters",
14
- "2": " SOAP / Chart / Progress Notes",
15
- "3": " Lab Medicine - Pathology",
16
- "4": " Dermatology",
17
- "5": " Cardiovascular / Pulmonary",
18
- "6": " Pediatrics - Neonatal",
19
- "7": " Hematology - Oncology",
20
- "8": " Emergency Room Reports",
21
- "9": " Surgery",
22
- "10": " Speech - Language",
23
- "11": " Bariatrics",
24
- "12": " Office Notes",
25
- "13": " Rheumatology",
26
- "14": " Neurosurgery",
27
- "15": " Allergy / Immunology",
28
- "16": " Discharge Summary",
29
- "17": " Gastroenterology",
30
- "18": " ENT - Otolaryngology",
31
- "19": " Diets and Nutritions",
32
- "20": " Cosmetic / Plastic Surgery",
33
- "21": " Pain Management",
34
- "22": " Hospice - Palliative Care",
35
- "23": " Autopsy",
36
- "24": "0",
37
- "25": " Neurology",
38
- "26": " Sleep Medicine",
39
- "27": " Dentistry",
40
- "28": " Orthopedic",
41
- "29": " Endocrinology",
42
- "30": " Physical Medicine - Rehab",
43
  "31": " Consult - History and Phy.",
44
- "32": " Urology",
45
- "33": " Chiropractic",
46
- "34": " General Medicine",
47
- "35": " Obstetrics / Gynecology",
48
- "36": " Nephrology",
49
- "37": " Podiatry",
50
- "38": " Ophthalmology",
51
  "39": " Radiology",
52
- "40": " Psychiatry / Psychology"
53
  },
54
  "initializer_range": 0.02,
55
  "intermediate_size": 3072,
56
  "label2id": {
57
- " Allergy / Immunology": 15,
58
- " Autopsy": 23,
59
- " Bariatrics": 11,
60
- " Cardiovascular / Pulmonary": 5,
61
- " Chiropractic": 33,
62
  " Consult - History and Phy.": 31,
63
- " Cosmetic / Plastic Surgery": 20,
64
- " Dentistry": 27,
65
- " Dermatology": 4,
66
- " Diets and Nutritions": 19,
67
- " Discharge Summary": 16,
68
- " ENT - Otolaryngology": 18,
69
- " Emergency Room Reports": 8,
70
- " Endocrinology": 29,
71
- " Gastroenterology": 17,
72
- " General Medicine": 34,
73
- " Hematology - Oncology": 7,
74
- " Hospice - Palliative Care": 22,
75
- " IME-QME-Work Comp etc.": 0,
76
- " Lab Medicine - Pathology": 3,
77
- " Letters": 1,
78
- " Nephrology": 36,
79
- " Neurology": 25,
80
- " Neurosurgery": 14,
81
- " Obstetrics / Gynecology": 35,
82
- " Office Notes": 12,
83
- " Ophthalmology": 38,
84
- " Orthopedic": 28,
85
- " Pain Management": 21,
86
- " Pediatrics - Neonatal": 6,
87
- " Physical Medicine - Rehab": 30,
88
- " Podiatry": 37,
89
- " Psychiatry / Psychology": 40,
90
  " Radiology": 39,
91
- " Rheumatology": 13,
92
- " SOAP / Chart / Progress Notes": 2,
93
- " Sleep Medicine": 26,
94
- " Speech - Language": 10,
95
- " Surgery": 9,
96
- " Urology": 32,
97
- "0": 24
98
  },
99
  "layer_norm_eps": 1e-12,
100
  "max_position_embeddings": 512,
 
1
  {
2
+ "_name_or_path": "amir-clinicalbert-specialities",
3
  "architectures": [
4
  "BertForSequenceClassification"
5
  ],
 
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": " Psychiatry / Psychology",
13
+ "1": " Nephrology",
14
+ "2": "0",
15
+ "3": " Cosmetic / Plastic Surgery",
16
+ "4": " Allergy / Immunology",
17
+ "5": " IME-QME-Work Comp etc.",
18
+ "6": " Sleep Medicine",
19
+ "7": " Rheumatology",
20
+ "8": " Diets and Nutritions",
21
+ "9": " Pediatrics - Neonatal",
22
+ "10": " SOAP / Chart / Progress Notes",
23
+ "11": " Hematology - Oncology",
24
+ "12": " Dermatology",
25
+ "13": " Surgery",
26
+ "14": " Lab Medicine - Pathology",
27
+ "15": " Ophthalmology",
28
+ "16": " Neurology",
29
+ "17": " Hospice - Palliative Care",
30
+ "18": " Endocrinology",
31
+ "19": " Urology",
32
+ "20": " Dentistry",
33
+ "21": " General Medicine",
34
+ "22": " Neurosurgery",
35
+ "23": " Discharge Summary",
36
+ "24": " Office Notes",
37
+ "25": " Obstetrics / Gynecology",
38
+ "26": " Chiropractic",
39
+ "27": " Gastroenterology",
40
+ "28": " Speech - Language",
41
+ "29": " Letters",
42
+ "30": " Orthopedic",
43
  "31": " Consult - History and Phy.",
44
+ "32": " Bariatrics",
45
+ "33": " Autopsy",
46
+ "34": " Pain Management",
47
+ "35": " Emergency Room Reports",
48
+ "36": " Cardiovascular / Pulmonary",
49
+ "37": " ENT - Otolaryngology",
50
+ "38": " Podiatry",
51
  "39": " Radiology",
52
+ "40": " Physical Medicine - Rehab"
53
  },
54
  "initializer_range": 0.02,
55
  "intermediate_size": 3072,
56
  "label2id": {
57
+ " Allergy / Immunology": 4,
58
+ " Autopsy": 33,
59
+ " Bariatrics": 32,
60
+ " Cardiovascular / Pulmonary": 36,
61
+ " Chiropractic": 26,
62
  " Consult - History and Phy.": 31,
63
+ " Cosmetic / Plastic Surgery": 3,
64
+ " Dentistry": 20,
65
+ " Dermatology": 12,
66
+ " Diets and Nutritions": 8,
67
+ " Discharge Summary": 23,
68
+ " ENT - Otolaryngology": 37,
69
+ " Emergency Room Reports": 35,
70
+ " Endocrinology": 18,
71
+ " Gastroenterology": 27,
72
+ " General Medicine": 21,
73
+ " Hematology - Oncology": 11,
74
+ " Hospice - Palliative Care": 17,
75
+ " IME-QME-Work Comp etc.": 5,
76
+ " Lab Medicine - Pathology": 14,
77
+ " Letters": 29,
78
+ " Nephrology": 1,
79
+ " Neurology": 16,
80
+ " Neurosurgery": 22,
81
+ " Obstetrics / Gynecology": 25,
82
+ " Office Notes": 24,
83
+ " Ophthalmology": 15,
84
+ " Orthopedic": 30,
85
+ " Pain Management": 34,
86
+ " Pediatrics - Neonatal": 9,
87
+ " Physical Medicine - Rehab": 40,
88
+ " Podiatry": 38,
89
+ " Psychiatry / Psychology": 0,
90
  " Radiology": 39,
91
+ " Rheumatology": 7,
92
+ " SOAP / Chart / Progress Notes": 10,
93
+ " Sleep Medicine": 6,
94
+ " Speech - Language": 28,
95
+ " Surgery": 13,
96
+ " Urology": 19,
97
+ "0": 2
98
  },
99
  "layer_norm_eps": 1e-12,
100
  "max_position_embeddings": 512,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9588a43d3a7143cdee1d03a14d08b716926b7d4ef0cec5c6163101a96a3a5f38
3
  size 433390732
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:985d717862ba8a0284734102ecab54c67a20dd78b8795d69cc25bf8c9c4e4440
3
  size 433390732
special_tokens_map.json CHANGED
@@ -1,7 +1,37 @@
1
  {
2
- "cls_token": "[CLS]",
3
- "mask_token": "[MASK]",
4
- "pad_token": "[PAD]",
5
- "sep_token": "[SEP]",
6
- "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
 
1
  {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
  }
tokenizer.json CHANGED
@@ -1,6 +1,11 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 300,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
  "padding": null,
10
  "added_tokens": [
11
  {
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:de988eb25ea2faec8f34ab71684ea7f9fb5e3105c715785505c4d86741377963
3
  size 4600
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac3d7a1aa1ba31c76aeb8822842fcfd49e9257fa6e740c6ba4bdfd4e4b4ea5a8
3
  size 4600