edugredu commited on
Commit
c5218cb
·
verified ·
1 Parent(s): fd80965

Upload model files

Browse files
config.json ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSpanClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-AminoAcidPeptideOrProtein",
15
+ "2": "I-AminoAcidPeptideOrProtein",
16
+ "3": "B-AnatomicalAbnormality",
17
+ "4": "I-AnatomicalAbnormality",
18
+ "5": "B-Bacterium",
19
+ "6": "I-Bacterium",
20
+ "7": "B-BiologicFunction",
21
+ "8": "I-BiologicFunction",
22
+ "9": "B-BiologicallyActiveSubstance",
23
+ "10": "I-BiologicallyActiveSubstance",
24
+ "11": "B-BiomedicalOccupationOrDiscipline",
25
+ "12": "I-BiomedicalOccupationOrDiscipline",
26
+ "13": "B-BodyPartOrganOrOrganComponent",
27
+ "14": "I-BodyPartOrganOrOrganComponent",
28
+ "15": "B-Cell",
29
+ "16": "I-Cell",
30
+ "17": "B-CellComponent",
31
+ "18": "I-CellComponent",
32
+ "19": "B-CellFunction",
33
+ "20": "I-CellFunction",
34
+ "21": "B-CellOrMolecularDysfunction",
35
+ "22": "I-CellOrMolecularDysfunction",
36
+ "23": "B-Chemical",
37
+ "24": "I-Chemical",
38
+ "25": "B-ClinicalAttribute",
39
+ "26": "I-ClinicalAttribute",
40
+ "27": "B-DiseaseOrSyndrome",
41
+ "28": "I-DiseaseOrSyndrome",
42
+ "29": "B-EmbryonicStructure",
43
+ "30": "I-EmbryonicStructure",
44
+ "31": "B-EnvironmentalEffectOfHumans",
45
+ "32": "I-EnvironmentalEffectOfHumans",
46
+ "33": "B-Eukaryote",
47
+ "34": "I-Eukaryote",
48
+ "35": "B-ExperimentalModelOfDisease",
49
+ "36": "I-ExperimentalModelOfDisease",
50
+ "37": "B-Finding",
51
+ "38": "I-Finding",
52
+ "39": "B-GeneOrGenome",
53
+ "40": "I-GeneOrGenome",
54
+ "41": "B-HealthCareActivity",
55
+ "42": "I-HealthCareActivity",
56
+ "43": "B-HealthCareRelatedOrganization",
57
+ "44": "I-HealthCareRelatedOrganization",
58
+ "45": "B-IndividualBehavior",
59
+ "46": "I-IndividualBehavior",
60
+ "47": "B-InjuryOrPoisoning",
61
+ "48": "I-InjuryOrPoisoning",
62
+ "49": "B-MachineActivity",
63
+ "50": "I-MachineActivity",
64
+ "51": "B-ManufacturedObject",
65
+ "52": "I-ManufacturedObject",
66
+ "53": "B-MolecularSequence",
67
+ "54": "I-MolecularSequence",
68
+ "55": "B-NaturalPhenomenonOrProcess",
69
+ "56": "I-NaturalPhenomenonOrProcess",
70
+ "57": "B-NucleicAcidNucleosideOrNucleotide",
71
+ "58": "I-NucleicAcidNucleosideOrNucleotide",
72
+ "59": "B-Organism",
73
+ "60": "I-Organism",
74
+ "61": "B-OrganismAttribute",
75
+ "62": "I-OrganismAttribute",
76
+ "63": "B-PathologicFunction",
77
+ "64": "I-PathologicFunction",
78
+ "65": "B-PatientOrDisabledGroup",
79
+ "66": "I-PatientOrDisabledGroup",
80
+ "67": "B-PharmacologicSubstance",
81
+ "68": "I-PharmacologicSubstance",
82
+ "69": "B-PopulationGroup",
83
+ "70": "I-PopulationGroup",
84
+ "71": "B-ResearchActivity",
85
+ "72": "I-ResearchActivity",
86
+ "73": "B-SignOrSymptom",
87
+ "74": "I-SignOrSymptom",
88
+ "75": "B-Substance",
89
+ "76": "I-Substance",
90
+ "77": "B-TemporalConcept",
91
+ "78": "I-TemporalConcept",
92
+ "79": "B-Virus",
93
+ "80": "I-Virus"
94
+ },
95
+ "initializer_range": 0.02,
96
+ "intermediate_size": 3072,
97
+ "label2id": {
98
+ "B-AminoAcidPeptideOrProtein": 1,
99
+ "B-AnatomicalAbnormality": 3,
100
+ "B-Bacterium": 5,
101
+ "B-BiologicFunction": 7,
102
+ "B-BiologicallyActiveSubstance": 9,
103
+ "B-BiomedicalOccupationOrDiscipline": 11,
104
+ "B-BodyPartOrganOrOrganComponent": 13,
105
+ "B-Cell": 15,
106
+ "B-CellComponent": 17,
107
+ "B-CellFunction": 19,
108
+ "B-CellOrMolecularDysfunction": 21,
109
+ "B-Chemical": 23,
110
+ "B-ClinicalAttribute": 25,
111
+ "B-DiseaseOrSyndrome": 27,
112
+ "B-EmbryonicStructure": 29,
113
+ "B-EnvironmentalEffectOfHumans": 31,
114
+ "B-Eukaryote": 33,
115
+ "B-ExperimentalModelOfDisease": 35,
116
+ "B-Finding": 37,
117
+ "B-GeneOrGenome": 39,
118
+ "B-HealthCareActivity": 41,
119
+ "B-HealthCareRelatedOrganization": 43,
120
+ "B-IndividualBehavior": 45,
121
+ "B-InjuryOrPoisoning": 47,
122
+ "B-MachineActivity": 49,
123
+ "B-ManufacturedObject": 51,
124
+ "B-MolecularSequence": 53,
125
+ "B-NaturalPhenomenonOrProcess": 55,
126
+ "B-NucleicAcidNucleosideOrNucleotide": 57,
127
+ "B-Organism": 59,
128
+ "B-OrganismAttribute": 61,
129
+ "B-PathologicFunction": 63,
130
+ "B-PatientOrDisabledGroup": 65,
131
+ "B-PharmacologicSubstance": 67,
132
+ "B-PopulationGroup": 69,
133
+ "B-ResearchActivity": 71,
134
+ "B-SignOrSymptom": 73,
135
+ "B-Substance": 75,
136
+ "B-TemporalConcept": 77,
137
+ "B-Virus": 79,
138
+ "I-AminoAcidPeptideOrProtein": 2,
139
+ "I-AnatomicalAbnormality": 4,
140
+ "I-Bacterium": 6,
141
+ "I-BiologicFunction": 8,
142
+ "I-BiologicallyActiveSubstance": 10,
143
+ "I-BiomedicalOccupationOrDiscipline": 12,
144
+ "I-BodyPartOrganOrOrganComponent": 14,
145
+ "I-Cell": 16,
146
+ "I-CellComponent": 18,
147
+ "I-CellFunction": 20,
148
+ "I-CellOrMolecularDysfunction": 22,
149
+ "I-Chemical": 24,
150
+ "I-ClinicalAttribute": 26,
151
+ "I-DiseaseOrSyndrome": 28,
152
+ "I-EmbryonicStructure": 30,
153
+ "I-EnvironmentalEffectOfHumans": 32,
154
+ "I-Eukaryote": 34,
155
+ "I-ExperimentalModelOfDisease": 36,
156
+ "I-Finding": 38,
157
+ "I-GeneOrGenome": 40,
158
+ "I-HealthCareActivity": 42,
159
+ "I-HealthCareRelatedOrganization": 44,
160
+ "I-IndividualBehavior": 46,
161
+ "I-InjuryOrPoisoning": 48,
162
+ "I-MachineActivity": 50,
163
+ "I-ManufacturedObject": 52,
164
+ "I-MolecularSequence": 54,
165
+ "I-NaturalPhenomenonOrProcess": 56,
166
+ "I-NucleicAcidNucleosideOrNucleotide": 58,
167
+ "I-Organism": 60,
168
+ "I-OrganismAttribute": 62,
169
+ "I-PathologicFunction": 64,
170
+ "I-PatientOrDisabledGroup": 66,
171
+ "I-PharmacologicSubstance": 68,
172
+ "I-PopulationGroup": 70,
173
+ "I-ResearchActivity": 72,
174
+ "I-SignOrSymptom": 74,
175
+ "I-Substance": 76,
176
+ "I-TemporalConcept": 78,
177
+ "I-Virus": 80,
178
+ "O": 0
179
+ },
180
+ "layer_norm_eps": 1e-12,
181
+ "max_position_embeddings": 512,
182
+ "model_type": "bert",
183
+ "num_attention_heads": 12,
184
+ "num_hidden_layers": 12,
185
+ "pad_token_id": 0,
186
+ "position_embedding_type": "absolute",
187
+ "torch_dtype": "float32",
188
+ "transformers_version": "4.26.1",
189
+ "type_vocab_size": 2,
190
+ "use_cache": true,
191
+ "vocab_size": 30522
192
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19ce3a2c15c865d9e807518d63e910da894fa6dfdb214961e73c17cea0176f67
3
+ size 871748229
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f3697dfcce520a4da59079e2627aec409e52c32ce19b201504fa7d358083232
3
+ size 435887917
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:424a791bcbf10f2ca8311d366d8cc2f5d4f54c2f10f7c9970c6c72864c8a4cfd
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e734486cb51a0df8832377e5554a87b45ec1cf32a80b5faf4d09c6052fa024a
3
+ size 627
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_lower_case": true,
4
+ "mask_token": "[MASK]",
5
+ "model_max_length": 512,
6
+ "name_or_path": "bert-base-uncased",
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "special_tokens_map_file": null,
10
+ "strip_accents": null,
11
+ "tokenize_chinese_chars": true,
12
+ "tokenizer_class": "BertTokenizer",
13
+ "unk_token": "[UNK]"
14
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7681f9f5a54f82cbba8b6c6247c0eb32b0882d87c56bf933af995945651ac3f7
3
+ size 3515
vocab.txt ADDED
The diff for this file is too large to render. See raw diff