connorboyle
commited on
Commit
•
71d61d6
1
Parent(s):
d698976
Update Model to Properly Truncated Version
Browse filesThe old version was trained on truncated strings that only had one [CLS]
at the very beginning and one [SEP] at the very end. This version is
trained on truncated strings that each have a [CLS] and [SEP] on either
end.
- config.json +50 -50
- pytorch_model.bin +1 -1
config.json
CHANGED
@@ -9,55 +9,55 @@
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
-
"id2label":
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
"
|
41 |
-
"
|
42 |
-
"
|
43 |
-
"
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
48 |
-
"
|
49 |
-
"
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
58 |
-
"
|
59 |
-
"
|
60 |
-
|
61 |
"initializer_range": 0.02,
|
62 |
"intermediate_size": 3072,
|
63 |
"label2id": {
|
@@ -117,7 +117,7 @@
|
|
117 |
"pad_token_id": 0,
|
118 |
"position_embedding_type": "absolute",
|
119 |
"torch_dtype": "float32",
|
120 |
-
"transformers_version": "4.
|
121 |
"type_vocab_size": 2,
|
122 |
"use_cache": true,
|
123 |
"vocab_size": 28996
|
|
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
+
"id2label": [
|
13 |
+
"O",
|
14 |
+
"B-AGE",
|
15 |
+
"I-AGE",
|
16 |
+
"B-BIOID",
|
17 |
+
"I-BIOID",
|
18 |
+
"B-CITY",
|
19 |
+
"I-CITY",
|
20 |
+
"B-COUNTRY",
|
21 |
+
"I-COUNTRY",
|
22 |
+
"B-DATE",
|
23 |
+
"I-DATE",
|
24 |
+
"B-DEVICE",
|
25 |
+
"I-DEVICE",
|
26 |
+
"B-DOCTOR",
|
27 |
+
"I-DOCTOR",
|
28 |
+
"B-EMAIL",
|
29 |
+
"I-EMAIL",
|
30 |
+
"B-FAX",
|
31 |
+
"I-FAX",
|
32 |
+
"B-HEALTHPLAN",
|
33 |
+
"I-HEALTHPLAN",
|
34 |
+
"B-HOSPITAL",
|
35 |
+
"I-HOSPITAL",
|
36 |
+
"B-IDNUM",
|
37 |
+
"I-IDNUM",
|
38 |
+
"B-LOCATION-OTHER",
|
39 |
+
"I-LOCATION-OTHER",
|
40 |
+
"B-MEDICALRECORD",
|
41 |
+
"I-MEDICALRECORD",
|
42 |
+
"B-ORGANIZATION",
|
43 |
+
"I-ORGANIZATION",
|
44 |
+
"B-PATIENT",
|
45 |
+
"I-PATIENT",
|
46 |
+
"B-PHONE",
|
47 |
+
"I-PHONE",
|
48 |
+
"B-PROFESSION",
|
49 |
+
"I-PROFESSION",
|
50 |
+
"B-STATE",
|
51 |
+
"I-STATE",
|
52 |
+
"B-STREET",
|
53 |
+
"I-STREET",
|
54 |
+
"B-URL",
|
55 |
+
"I-URL",
|
56 |
+
"B-USERNAME",
|
57 |
+
"I-USERNAME",
|
58 |
+
"B-ZIP",
|
59 |
+
"I-ZIP"
|
60 |
+
],
|
61 |
"initializer_range": 0.02,
|
62 |
"intermediate_size": 3072,
|
63 |
"label2id": {
|
|
|
117 |
"pad_token_id": 0,
|
118 |
"position_embedding_type": "absolute",
|
119 |
"torch_dtype": "float32",
|
120 |
+
"transformers_version": "4.12.5",
|
121 |
"type_vocab_size": 2,
|
122 |
"use_cache": true,
|
123 |
"vocab_size": 28996
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 431103857
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a3d3e06242764250aa36e3d4aef0384ec0cc3719a73d2adb3ad8da6e41f2234
|
3 |
size 431103857
|