Misha24-10
commited on
Commit
•
61ba515
1
Parent(s):
ea3c577
Upload RemBertForTokenClassification
Browse files- config.json +181 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/content/google/rembert-ft_for_multi_ner",
|
3 |
+
"architectures": [
|
4 |
+
"RemBertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0,
|
7 |
+
"bos_token_id": 312,
|
8 |
+
"classifier_dropout_prob": 0.1,
|
9 |
+
"embedding_dropout_prob": 0,
|
10 |
+
"embedding_size": 256,
|
11 |
+
"eos_token_id": 313,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0,
|
14 |
+
"hidden_size": 1152,
|
15 |
+
"id2label": {
|
16 |
+
"0": "B-Disease",
|
17 |
+
"1": "I-Disease",
|
18 |
+
"2": "B-Symptom",
|
19 |
+
"3": "I-Symptom",
|
20 |
+
"4": "B-AnatomicalStructure",
|
21 |
+
"5": "I-AnatomicalStructure",
|
22 |
+
"6": "B-MedicalProcedure",
|
23 |
+
"7": "I-MedicalProcedure",
|
24 |
+
"8": "B-Medication/Vaccine",
|
25 |
+
"9": "I-Medication/Vaccine",
|
26 |
+
"10": "B-OtherPROD",
|
27 |
+
"11": "I-OtherPROD",
|
28 |
+
"12": "B-Drink",
|
29 |
+
"13": "I-Drink",
|
30 |
+
"14": "B-Food",
|
31 |
+
"15": "I-Food",
|
32 |
+
"16": "B-Vehicle",
|
33 |
+
"17": "I-Vehicle",
|
34 |
+
"18": "B-Clothing",
|
35 |
+
"19": "I-Clothing",
|
36 |
+
"20": "B-OtherPER",
|
37 |
+
"21": "I-OtherPER",
|
38 |
+
"22": "B-SportsManager",
|
39 |
+
"23": "I-SportsManager",
|
40 |
+
"24": "B-Cleric",
|
41 |
+
"25": "I-Cleric",
|
42 |
+
"26": "B-Politician",
|
43 |
+
"27": "I-Politician",
|
44 |
+
"28": "B-Athlete",
|
45 |
+
"29": "I-Athlete",
|
46 |
+
"30": "B-Artist",
|
47 |
+
"31": "I-Artist",
|
48 |
+
"32": "B-Scientist",
|
49 |
+
"33": "I-Scientist",
|
50 |
+
"34": "B-ORG",
|
51 |
+
"35": "I-ORG",
|
52 |
+
"36": "B-TechCorp",
|
53 |
+
"37": "I-TechCorp",
|
54 |
+
"38": "B-CarManufacturer",
|
55 |
+
"39": "I-CarManufacturer",
|
56 |
+
"40": "B-SportsGRP",
|
57 |
+
"41": "I-SportsGRP",
|
58 |
+
"42": "B-AerospaceManufacturer",
|
59 |
+
"43": "I-AerospaceManufacturer",
|
60 |
+
"44": "B-OtherCorp",
|
61 |
+
"45": "I-OtherCorp",
|
62 |
+
"46": "B-PrivateCorp",
|
63 |
+
"47": "I-PrivateCorp",
|
64 |
+
"48": "B-PublicCorp",
|
65 |
+
"49": "I-PublicCorp",
|
66 |
+
"50": "B-MusicalGRP",
|
67 |
+
"51": "I-MusicalGRP",
|
68 |
+
"52": "B-OtherCW",
|
69 |
+
"53": "I-OtherCW",
|
70 |
+
"54": "B-Software",
|
71 |
+
"55": "I-Software",
|
72 |
+
"56": "B-ArtWork",
|
73 |
+
"57": "I-ArtWork",
|
74 |
+
"58": "B-WrittenWork",
|
75 |
+
"59": "I-WrittenWork",
|
76 |
+
"60": "B-MusicalWork",
|
77 |
+
"61": "I-MusicalWork",
|
78 |
+
"62": "B-VisualWork",
|
79 |
+
"63": "I-VisualWork",
|
80 |
+
"64": "B-Station",
|
81 |
+
"65": "I-Station",
|
82 |
+
"66": "B-HumanSettlement",
|
83 |
+
"67": "I-HumanSettlement",
|
84 |
+
"68": "B-OtherLOC",
|
85 |
+
"69": "I-OtherLOC",
|
86 |
+
"70": "B-Facility",
|
87 |
+
"71": "I-Facility",
|
88 |
+
"72": "O"
|
89 |
+
},
|
90 |
+
"initializer_range": 0.02,
|
91 |
+
"input_embedding_size": 256,
|
92 |
+
"intermediate_size": 4608,
|
93 |
+
"label2id": {
|
94 |
+
"B-AerospaceManufacturer": 42,
|
95 |
+
"B-AnatomicalStructure": 4,
|
96 |
+
"B-ArtWork": 56,
|
97 |
+
"B-Artist": 30,
|
98 |
+
"B-Athlete": 28,
|
99 |
+
"B-CarManufacturer": 38,
|
100 |
+
"B-Cleric": 24,
|
101 |
+
"B-Clothing": 18,
|
102 |
+
"B-Disease": 0,
|
103 |
+
"B-Drink": 12,
|
104 |
+
"B-Facility": 70,
|
105 |
+
"B-Food": 14,
|
106 |
+
"B-HumanSettlement": 66,
|
107 |
+
"B-MedicalProcedure": 6,
|
108 |
+
"B-Medication/Vaccine": 8,
|
109 |
+
"B-MusicalGRP": 50,
|
110 |
+
"B-MusicalWork": 60,
|
111 |
+
"B-ORG": 34,
|
112 |
+
"B-OtherCW": 52,
|
113 |
+
"B-OtherCorp": 44,
|
114 |
+
"B-OtherLOC": 68,
|
115 |
+
"B-OtherPER": 20,
|
116 |
+
"B-OtherPROD": 10,
|
117 |
+
"B-Politician": 26,
|
118 |
+
"B-PrivateCorp": 46,
|
119 |
+
"B-PublicCorp": 48,
|
120 |
+
"B-Scientist": 32,
|
121 |
+
"B-Software": 54,
|
122 |
+
"B-SportsGRP": 40,
|
123 |
+
"B-SportsManager": 22,
|
124 |
+
"B-Station": 64,
|
125 |
+
"B-Symptom": 2,
|
126 |
+
"B-TechCorp": 36,
|
127 |
+
"B-Vehicle": 16,
|
128 |
+
"B-VisualWork": 62,
|
129 |
+
"B-WrittenWork": 58,
|
130 |
+
"I-AerospaceManufacturer": 43,
|
131 |
+
"I-AnatomicalStructure": 5,
|
132 |
+
"I-ArtWork": 57,
|
133 |
+
"I-Artist": 31,
|
134 |
+
"I-Athlete": 29,
|
135 |
+
"I-CarManufacturer": 39,
|
136 |
+
"I-Cleric": 25,
|
137 |
+
"I-Clothing": 19,
|
138 |
+
"I-Disease": 1,
|
139 |
+
"I-Drink": 13,
|
140 |
+
"I-Facility": 71,
|
141 |
+
"I-Food": 15,
|
142 |
+
"I-HumanSettlement": 67,
|
143 |
+
"I-MedicalProcedure": 7,
|
144 |
+
"I-Medication/Vaccine": 9,
|
145 |
+
"I-MusicalGRP": 51,
|
146 |
+
"I-MusicalWork": 61,
|
147 |
+
"I-ORG": 35,
|
148 |
+
"I-OtherCW": 53,
|
149 |
+
"I-OtherCorp": 45,
|
150 |
+
"I-OtherLOC": 69,
|
151 |
+
"I-OtherPER": 21,
|
152 |
+
"I-OtherPROD": 11,
|
153 |
+
"I-Politician": 27,
|
154 |
+
"I-PrivateCorp": 47,
|
155 |
+
"I-PublicCorp": 49,
|
156 |
+
"I-Scientist": 33,
|
157 |
+
"I-Software": 55,
|
158 |
+
"I-SportsGRP": 41,
|
159 |
+
"I-SportsManager": 23,
|
160 |
+
"I-Station": 65,
|
161 |
+
"I-Symptom": 3,
|
162 |
+
"I-TechCorp": 37,
|
163 |
+
"I-Vehicle": 17,
|
164 |
+
"I-VisualWork": 63,
|
165 |
+
"I-WrittenWork": 59,
|
166 |
+
"O": 72
|
167 |
+
},
|
168 |
+
"layer_norm_eps": 1e-12,
|
169 |
+
"max_position_embeddings": 512,
|
170 |
+
"model_type": "rembert",
|
171 |
+
"num_attention_heads": 18,
|
172 |
+
"num_hidden_layers": 32,
|
173 |
+
"output_embedding_size": 1664,
|
174 |
+
"pad_token_id": 0,
|
175 |
+
"tie_word_embeddings": false,
|
176 |
+
"torch_dtype": "float32",
|
177 |
+
"transformers_version": "4.26.1",
|
178 |
+
"type_vocab_size": 2,
|
179 |
+
"use_cache": true,
|
180 |
+
"vocab_size": 250300
|
181 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6adb5a71f15001c2a97d05302ae4f61857b0fd0528f1e880d1a2c93eaacf53f7
|
3 |
+
size 2298882357
|