Update spaCy pipeline
Browse files- README.md +9 -9
- config.cfg +5 -5
- en_t1_pipeline-any-py3-none-any.whl +2 -2
- meta.json +21 -21
- ner/model +0 -0
- tok2vec/model +2 -2
- vocab/key2row +2 -2
- vocab/strings.json +2 -2
- vocab/vectors +2 -2
README.md
CHANGED
@@ -13,13 +13,13 @@ model-index:
|
|
13 |
metrics:
|
14 |
- name: NER Precision
|
15 |
type: precision
|
16 |
-
value: 0.
|
17 |
- name: NER Recall
|
18 |
type: recall
|
19 |
-
value: 0.
|
20 |
- name: NER F Score
|
21 |
type: f_score
|
22 |
-
value: 0.
|
23 |
---
|
24 |
| Feature | Description |
|
25 |
| --- | --- |
|
@@ -28,7 +28,7 @@ model-index:
|
|
28 |
| **spaCy** | `>=3.7.2,<3.8.0` |
|
29 |
| **Default Pipeline** | `tok2vec`, `ner` |
|
30 |
| **Components** | `tok2vec`, `ner` |
|
31 |
-
| **Vectors** |
|
32 |
| **Sources** | n/a |
|
33 |
| **License** | n/a |
|
34 |
| **Author** | [n/a]() |
|
@@ -49,8 +49,8 @@ model-index:
|
|
49 |
|
50 |
| Type | Score |
|
51 |
| --- | --- |
|
52 |
-
| `ENTS_F` | 98.
|
53 |
-
| `ENTS_P` | 98.
|
54 |
-
| `ENTS_R` | 98.
|
55 |
-
| `TOK2VEC_LOSS` |
|
56 |
-
| `NER_LOSS` |
|
|
|
13 |
metrics:
|
14 |
- name: NER Precision
|
15 |
type: precision
|
16 |
+
value: 0.9898959627
|
17 |
- name: NER Recall
|
18 |
type: recall
|
19 |
+
value: 0.9868960219
|
20 |
- name: NER F Score
|
21 |
type: f_score
|
22 |
+
value: 0.9883937159
|
23 |
---
|
24 |
| Feature | Description |
|
25 |
| --- | --- |
|
|
|
28 |
| **spaCy** | `>=3.7.2,<3.8.0` |
|
29 |
| **Default Pipeline** | `tok2vec`, `ner` |
|
30 |
| **Components** | `tok2vec`, `ner` |
|
31 |
+
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
|
32 |
| **Sources** | n/a |
|
33 |
| **License** | n/a |
|
34 |
| **Author** | [n/a]() |
|
|
|
49 |
|
50 |
| Type | Score |
|
51 |
| --- | --- |
|
52 |
+
| `ENTS_F` | 98.84 |
|
53 |
+
| `ENTS_P` | 98.99 |
|
54 |
+
| `ENTS_R` | 98.69 |
|
55 |
+
| `TOK2VEC_LOSS` | 510175.31 |
|
56 |
+
| `NER_LOSS` | 282233.89 |
|
config.cfg
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
[paths]
|
2 |
train = "./train.spacy"
|
3 |
dev = "./train.spacy"
|
4 |
-
vectors =
|
5 |
init_tok2vec = null
|
6 |
|
7 |
[system]
|
@@ -53,12 +53,12 @@ factory = "tok2vec"
|
|
53 |
width = ${components.tok2vec.model.encode.width}
|
54 |
attrs = ["NORM","PREFIX","SUFFIX","SHAPE"]
|
55 |
rows = [5000,1000,2500,2500]
|
56 |
-
include_static_vectors =
|
57 |
|
58 |
[components.tok2vec.model.encode]
|
59 |
@architectures = "spacy.MaxoutWindowEncoder.v2"
|
60 |
-
width =
|
61 |
-
depth =
|
62 |
window_size = 1
|
63 |
maxout_pieces = 3
|
64 |
|
@@ -88,7 +88,7 @@ gpu_allocator = ${system.gpu_allocator}
|
|
88 |
dropout = 0.1
|
89 |
accumulate_gradient = 1
|
90 |
patience = 1600
|
91 |
-
max_epochs =
|
92 |
max_steps = 20000
|
93 |
eval_frequency = 200
|
94 |
frozen_components = []
|
|
|
1 |
[paths]
|
2 |
train = "./train.spacy"
|
3 |
dev = "./train.spacy"
|
4 |
+
vectors = null
|
5 |
init_tok2vec = null
|
6 |
|
7 |
[system]
|
|
|
53 |
width = ${components.tok2vec.model.encode.width}
|
54 |
attrs = ["NORM","PREFIX","SUFFIX","SHAPE"]
|
55 |
rows = [5000,1000,2500,2500]
|
56 |
+
include_static_vectors = false
|
57 |
|
58 |
[components.tok2vec.model.encode]
|
59 |
@architectures = "spacy.MaxoutWindowEncoder.v2"
|
60 |
+
width = 96
|
61 |
+
depth = 4
|
62 |
window_size = 1
|
63 |
maxout_pieces = 3
|
64 |
|
|
|
88 |
dropout = 0.1
|
89 |
accumulate_gradient = 1
|
90 |
patience = 1600
|
91 |
+
max_epochs = 75
|
92 |
max_steps = 20000
|
93 |
eval_frequency = 200
|
94 |
frozen_components = []
|
en_t1_pipeline-any-py3-none-any.whl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fcfa5e39ca1976b388daebb6da59bab5a969d6d9ede50640321ef08434bb3338
|
3 |
+
size 5758176
|
meta.json
CHANGED
@@ -10,10 +10,10 @@
|
|
10 |
"spacy_version":">=3.7.2,<3.8.0",
|
11 |
"spacy_git_version":"a89eae928",
|
12 |
"vectors":{
|
13 |
-
"width":
|
14 |
-
"vectors":
|
15 |
-
"keys":
|
16 |
-
"name":
|
17 |
},
|
18 |
"labels":{
|
19 |
"tok2vec":[
|
@@ -39,29 +39,29 @@
|
|
39 |
|
40 |
],
|
41 |
"performance":{
|
42 |
-
"ents_f":0.
|
43 |
-
"ents_p":0.
|
44 |
-
"ents_r":0.
|
45 |
"ents_per_type":{
|
46 |
"Other":{
|
47 |
-
"p":0.
|
48 |
-
"r":0.
|
49 |
-
"f":0.
|
50 |
},
|
51 |
"treatment":{
|
52 |
-
"p":0.
|
53 |
-
"r":0.
|
54 |
-
"f":0.
|
55 |
},
|
56 |
"chronic_disease":{
|
57 |
-
"p":0.
|
58 |
-
"r":0.
|
59 |
-
"f":0.
|
60 |
},
|
61 |
"cancer":{
|
62 |
-
"p":0.
|
63 |
-
"r":0.
|
64 |
-
"f":0.
|
65 |
},
|
66 |
"allergy_name":{
|
67 |
"p":0.984375,
|
@@ -69,8 +69,8 @@
|
|
69 |
"f":0.9882352941
|
70 |
}
|
71 |
},
|
72 |
-
"tok2vec_loss":
|
73 |
-
"ner_loss":
|
74 |
},
|
75 |
"requirements":[
|
76 |
|
|
|
10 |
"spacy_version":">=3.7.2,<3.8.0",
|
11 |
"spacy_git_version":"a89eae928",
|
12 |
"vectors":{
|
13 |
+
"width":0,
|
14 |
+
"vectors":0,
|
15 |
+
"keys":0,
|
16 |
+
"name":null
|
17 |
},
|
18 |
"labels":{
|
19 |
"tok2vec":[
|
|
|
39 |
|
40 |
],
|
41 |
"performance":{
|
42 |
+
"ents_f":0.9883937159,
|
43 |
+
"ents_p":0.9898959627,
|
44 |
+
"ents_r":0.9868960219,
|
45 |
"ents_per_type":{
|
46 |
"Other":{
|
47 |
+
"p":0.989752913,
|
48 |
+
"r":0.9887723933,
|
49 |
+
"f":0.9892624102
|
50 |
},
|
51 |
"treatment":{
|
52 |
+
"p":0.9919921875,
|
53 |
+
"r":0.9848749273,
|
54 |
+
"f":0.9884207454
|
55 |
},
|
56 |
"chronic_disease":{
|
57 |
+
"p":0.9891008174,
|
58 |
+
"r":0.9859665007,
|
59 |
+
"f":0.9875311721
|
60 |
},
|
61 |
"cancer":{
|
62 |
+
"p":0.9871273713,
|
63 |
+
"r":0.9804845222,
|
64 |
+
"f":0.9837947333
|
65 |
},
|
66 |
"allergy_name":{
|
67 |
"p":0.984375,
|
|
|
69 |
"f":0.9882352941
|
70 |
}
|
71 |
},
|
72 |
+
"tok2vec_loss":5101.7531072482,
|
73 |
+
"ner_loss":2822.3388507159
|
74 |
},
|
75 |
"requirements":[
|
76 |
|
ner/model
CHANGED
Binary files a/ner/model and b/ner/model differ
|
|
tok2vec/model
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:904562cb1ffe3d307087bd83ceb9de72247309507a9568f7aa672c67f1579ecd
|
3 |
+
size 6009091
|
vocab/key2row
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76be8b528d0075f7aae98d6fa57a6d3c83ae480a8469e668d7b0af968995ac71
|
3 |
+
size 1
|
vocab/strings.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f4c67c6a6b68ca74352635de2364b74c4aa280fb8745f9042f03f38220cb107f
|
3 |
+
size 176719
|
vocab/vectors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14772b683e726436d5948ad3fff2b43d036ef2ebbe3458aafed6004e05a40706
|
3 |
+
size 128
|