Lilya commited on
Commit
a586ccf
·
1 Parent(s): e26fd31

Update spaCy pipeline

Browse files
README.md CHANGED
@@ -13,18 +13,18 @@ model-index:
13
  metrics:
14
  - name: NER Precision
15
  type: precision
16
- value: 0.7942407169
17
  - name: NER Recall
18
  type: recall
19
- value: 0.71703501
20
  - name: NER F Score
21
  type: f_score
22
- value: 0.7536657808
23
  ---
24
  | Feature | Description |
25
  | --- | --- |
26
  | **Name** | `en_ner_sender_recipient` |
27
- | **Version** | `0.0.0` |
28
  | **spaCy** | `>=3.5.0,<3.6.0` |
29
  | **Default Pipeline** | `tok2vec`, `ner` |
30
  | **Components** | `tok2vec`, `ner` |
@@ -49,8 +49,8 @@ model-index:
49
 
50
  | Type | Score |
51
  | --- | --- |
52
- | `ENTS_F` | 75.37 |
53
  | `ENTS_P` | 79.42 |
54
- | `ENTS_R` | 71.70 |
55
- | `TOK2VEC_LOSS` | 166456.96 |
56
- | `NER_LOSS` | 208150.03 |
 
13
  metrics:
14
  - name: NER Precision
15
  type: precision
16
+ value: 0.7942124225
17
  - name: NER Recall
18
  type: recall
19
+ value: 0.7429116388
20
  - name: NER F Score
21
  type: f_score
22
+ value: 0.767705961
23
  ---
24
  | Feature | Description |
25
  | --- | --- |
26
  | **Name** | `en_ner_sender_recipient` |
27
+ | **Version** | `1.0.0` |
28
  | **spaCy** | `>=3.5.0,<3.6.0` |
29
  | **Default Pipeline** | `tok2vec`, `ner` |
30
  | **Components** | `tok2vec`, `ner` |
 
49
 
50
  | Type | Score |
51
  | --- | --- |
52
+ | `ENTS_F` | 76.77 |
53
  | `ENTS_P` | 79.42 |
54
+ | `ENTS_R` | 74.29 |
55
+ | `TOK2VEC_LOSS` | 172291.20 |
56
+ | `NER_LOSS` | 173143.05 |
config.cfg CHANGED
@@ -38,7 +38,7 @@ nO = null
38
 
39
  [components.ner.model.tok2vec]
40
  @architectures = "spacy.Tok2VecListener.v1"
41
- width = ${components.tok2vec.model.encode.width}
42
  upstream = "*"
43
 
44
  [components.tok2vec]
@@ -49,7 +49,7 @@ factory = "tok2vec"
49
 
50
  [components.tok2vec.model.embed]
51
  @architectures = "spacy.MultiHashEmbed.v2"
52
- width = ${components.tok2vec.model.encode.width}
53
  attrs = ["NORM","PREFIX","SUFFIX","SHAPE"]
54
  rows = [5000,1000,2500,2500]
55
  include_static_vectors = true
@@ -87,8 +87,8 @@ gpu_allocator = ${system.gpu_allocator}
87
  dropout = 0.1
88
  accumulate_gradient = 1
89
  patience = 1600
90
- max_epochs = 0
91
- max_steps = 20000
92
  eval_frequency = 200
93
  frozen_components = []
94
  annotating_components = []
 
38
 
39
  [components.ner.model.tok2vec]
40
  @architectures = "spacy.Tok2VecListener.v1"
41
+ width = 256
42
  upstream = "*"
43
 
44
  [components.tok2vec]
 
49
 
50
  [components.tok2vec.model.embed]
51
  @architectures = "spacy.MultiHashEmbed.v2"
52
+ width = 256
53
  attrs = ["NORM","PREFIX","SUFFIX","SHAPE"]
54
  rows = [5000,1000,2500,2500]
55
  include_static_vectors = true
 
87
  dropout = 0.1
88
  accumulate_gradient = 1
89
  patience = 1600
90
+ max_epochs = 5
91
+ max_steps = 0
92
  eval_frequency = 200
93
  frozen_components = []
94
  annotating_components = []
en_ner_sender_recipient-any-py3-none-any.whl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:679084b74ea114e08d7f3fd5fe40579803d49a8d3a9d507cc3aa62ff1c5f1ee6
3
- size 609328692
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d076aac37f7b494848f38fe3643b8621b027b08911e83908a324cb4bb43b47c
3
+ size 609293302
meta.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "lang":"en",
3
  "name":"ner_sender_recipient",
4
- "version":"0.0.0",
5
  "description":"",
6
  "author":"",
7
  "email":"",
@@ -36,23 +36,23 @@
36
 
37
  ],
38
  "performance":{
39
- "ents_f":0.7536657808,
40
- "ents_p":0.7942407169,
41
- "ents_r":0.71703501,
42
  "ents_per_type":{
43
- "RECIPIENT":{
44
- "p":0.7338451522,
45
- "r":0.6955414995,
46
- "f":0.7141801093
47
- },
48
  "SENDER":{
49
- "p":0.8353232087,
50
- "r":0.7305252965,
51
- "f":0.7794173353
 
 
 
 
 
52
  }
53
  },
54
- "tok2vec_loss":1664.5696175106,
55
- "ner_loss":2081.5002597319
56
  },
57
  "requirements":[
58
 
 
1
  {
2
  "lang":"en",
3
  "name":"ner_sender_recipient",
4
+ "version":"1.0.0",
5
  "description":"",
6
  "author":"",
7
  "email":"",
 
36
 
37
  ],
38
  "performance":{
39
+ "ents_f":0.767705961,
40
+ "ents_p":0.7942124225,
41
+ "ents_r":0.7429116388,
42
  "ents_per_type":{
 
 
 
 
 
43
  "SENDER":{
44
+ "p":0.8125488862,
45
+ "r":0.7678192686,
46
+ "f":0.7895510798
47
+ },
48
+ "RECIPIENT":{
49
+ "p":0.7641248849,
50
+ "r":0.7031141691,
51
+ "f":0.7323510536
52
  }
53
  },
54
+ "tok2vec_loss":1722.9120263289,
55
+ "ner_loss":1731.4304592674
56
  },
57
  "requirements":[
58
 
ner/model CHANGED
Binary files a/ner/model and b/ner/model differ
 
ner/moves CHANGED
@@ -1 +1 @@
1
- ��movesټ{"0":{},"1":{"SENDER":712399,"RECIPIENT":442859},"2":{"SENDER":712399,"RECIPIENT":442859},"3":{"SENDER":712399,"RECIPIENT":442859},"4":{"SENDER":712399,"RECIPIENT":442859,"":1},"5":{"":1}}�cfg��neg_key�
 
1
+ ��movesټ{"0":{},"1":{"SENDER":715881,"RECIPIENT":443513},"2":{"SENDER":715881,"RECIPIENT":443513},"3":{"SENDER":715881,"RECIPIENT":443513},"4":{"SENDER":715881,"RECIPIENT":443513,"":1},"5":{"":1}}�cfg��neg_key�
tok2vec/model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:714bb5c610558b488d86173b070365449308df7a6cb52f29d54902e009e99a46
3
  size 34434008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec0b6dc2503fce703d6b6a9a6662220b2742f20fad2c8a182f96b244559cff26
3
  size 34434008
vocab/strings.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c204c2415827fa82f7e104e87d3892708d3e40bf8419a37b18c9aeca88d2923
3
- size 19575809
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:864dd5fb6ca96ec48236f10235d2c15629c0e7f7a31ca453f60879448432f954
3
+ size 19532895