--batch_size 4 --num_train_epochs 5 --learning_rate 5e-5 --weight_decay 0.01
Browse files- config.json +94 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ec2-user/SageMaker/LLM-NER-clinical-text/models/medmentions/gatortron-base/",
|
3 |
+
"architectures": [
|
4 |
+
"MegatronBertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 1024,
|
10 |
+
"id2label": {
|
11 |
+
"0": "['Living Beings', 'Virus']",
|
12 |
+
"1": "['Living Beings', 'Virus']",
|
13 |
+
"2": "['Living Beings', 'Bacterium']",
|
14 |
+
"3": "['Living Beings', 'Bacterium']",
|
15 |
+
"4": "['Anatomy', 'Anatomical Structure']",
|
16 |
+
"5": "['Anatomy', 'Anatomical Structure']",
|
17 |
+
"6": "['Anatomy', 'Body System']",
|
18 |
+
"7": "['Anatomy', 'Body System']",
|
19 |
+
"8": "['Anatomy', 'Body Substance']",
|
20 |
+
"9": "['Anatomy', 'Body Substance']",
|
21 |
+
"10": "['Disorders', 'Finding']",
|
22 |
+
"11": "['Disorders', 'Finding']",
|
23 |
+
"12": "['Disorders', 'Injury or Poisoning']",
|
24 |
+
"13": "['Disorders', 'Injury or Poisoning']",
|
25 |
+
"14": "['Phenomena', 'Biologic Function']",
|
26 |
+
"15": "['Phenomena', 'Biologic Function']",
|
27 |
+
"16": "['Procedures', 'Health Care Activity']",
|
28 |
+
"17": "['Procedures', 'Health Care Activity']",
|
29 |
+
"18": "['Procedures', 'Research Activity']",
|
30 |
+
"19": "['Procedures', 'Research Activity']",
|
31 |
+
"20": "['Devices', 'Medical Device']",
|
32 |
+
"21": "['Devices', 'Medical Device']",
|
33 |
+
"22": "['Concepts & Ideas', 'Spatial Concept']",
|
34 |
+
"23": "['Concepts & Ideas', 'Spatial Concept']",
|
35 |
+
"24": "['Occupations', 'Biomedical Occupation or Discipline']",
|
36 |
+
"25": "['Occupations', 'Biomedical Occupation or Discipline']",
|
37 |
+
"26": "['Organizations', 'Organization']",
|
38 |
+
"27": "['Organizations', 'Organization']",
|
39 |
+
"28": "['Living Beings', 'Professional or Occupational Group']",
|
40 |
+
"29": "['Living Beings', 'Professional or Occupational Group']",
|
41 |
+
"30": "['Living Beings', 'Population Group']",
|
42 |
+
"31": "['Living Beings', 'Population Group']",
|
43 |
+
"32": "['Chemicals & Drugs', 'Chemical']",
|
44 |
+
"33": "['Chemicals & Drugs', 'Chemical']",
|
45 |
+
"34": "['Objects', 'Food']",
|
46 |
+
"35": "['Objects', 'Food']",
|
47 |
+
"36": "['Concepts & Ideas', 'Intellectual Product']",
|
48 |
+
"37": "['Concepts & Ideas', 'Intellectual Product']",
|
49 |
+
"38": "['Physiology', 'Clinical Attribute']",
|
50 |
+
"39": "['Physiology', 'Clinical Attribute']",
|
51 |
+
"40": "['Living Beings', 'Eukaryote']",
|
52 |
+
"41": "['Living Beings', 'Eukaryote']",
|
53 |
+
"42": "None"
|
54 |
+
},
|
55 |
+
"initializer_range": 0.02,
|
56 |
+
"intermediate_size": 4096,
|
57 |
+
"label2id": {
|
58 |
+
"None": 42,
|
59 |
+
"['Anatomy', 'Anatomical Structure']": 5,
|
60 |
+
"['Anatomy', 'Body Substance']": 9,
|
61 |
+
"['Anatomy', 'Body System']": 7,
|
62 |
+
"['Chemicals & Drugs', 'Chemical']": 33,
|
63 |
+
"['Concepts & Ideas', 'Intellectual Product']": 37,
|
64 |
+
"['Concepts & Ideas', 'Spatial Concept']": 23,
|
65 |
+
"['Devices', 'Medical Device']": 21,
|
66 |
+
"['Disorders', 'Finding']": 11,
|
67 |
+
"['Disorders', 'Injury or Poisoning']": 13,
|
68 |
+
"['Living Beings', 'Bacterium']": 3,
|
69 |
+
"['Living Beings', 'Eukaryote']": 41,
|
70 |
+
"['Living Beings', 'Population Group']": 31,
|
71 |
+
"['Living Beings', 'Professional or Occupational Group']": 29,
|
72 |
+
"['Living Beings', 'Virus']": 1,
|
73 |
+
"['Objects', 'Food']": 35,
|
74 |
+
"['Occupations', 'Biomedical Occupation or Discipline']": 25,
|
75 |
+
"['Organizations', 'Organization']": 27,
|
76 |
+
"['Phenomena', 'Biologic Function']": 15,
|
77 |
+
"['Physiology', 'Clinical Attribute']": 39,
|
78 |
+
"['Procedures', 'Health Care Activity']": 17,
|
79 |
+
"['Procedures', 'Research Activity']": 19
|
80 |
+
},
|
81 |
+
"layer_norm_eps": 1e-12,
|
82 |
+
"max_position_embeddings": 512,
|
83 |
+
"model_type": "megatron-bert",
|
84 |
+
"num_attention_heads": 16,
|
85 |
+
"num_hidden_layers": 24,
|
86 |
+
"pad_token_id": 0,
|
87 |
+
"position_embedding_type": "absolute",
|
88 |
+
"tokenizer_type": "BertWordPieceCase",
|
89 |
+
"torch_dtype": "float32",
|
90 |
+
"transformers_version": "4.37.1",
|
91 |
+
"type_vocab_size": 2,
|
92 |
+
"use_cache": true,
|
93 |
+
"vocab_size": 50176
|
94 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44a691ff2f77d4404cc1a5c678c5d42e41a804b7bd0efdf63ab793df8dee023a
|
3 |
+
size 1417093764
|