oMateos2020 commited on
Commit
f2359f4
1 Parent(s): 84e439e

Update spaCy pipeline

Browse files
README.md CHANGED
@@ -7,36 +7,3 @@ model-index:
7
  - name: en_pipeline
8
  results: []
9
  ---
10
- | Feature | Description |
11
- | --- | --- |
12
- | **Name** | `en_pipeline` |
13
- | **Version** | `0.0.0` |
14
- | **spaCy** | `>=3.4.1,<3.5.0` |
15
- | **Default Pipeline** | `transformer`, `spancat` |
16
- | **Components** | `transformer`, `spancat` |
17
- | **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
18
- | **Sources** | n/a |
19
- | **License** | n/a |
20
- | **Author** | [n/a]() |
21
-
22
- ### Label Scheme
23
-
24
- <details>
25
-
26
- <summary>View label scheme (1 labels for 1 components)</summary>
27
-
28
- | Component | Labels |
29
- | --- | --- |
30
- | **`spancat`** | `COMP` |
31
-
32
- </details>
33
-
34
- ### Accuracy
35
-
36
- | Type | Score |
37
- | --- | --- |
38
- | `SPANS_SC_F` | 75.30 |
39
- | `SPANS_SC_P` | 73.20 |
40
- | `SPANS_SC_R` | 77.52 |
41
- | `TRANSFORMER_LOSS` | 1705.81 |
42
- | `SPANCAT_LOSS` | 51292.83 |
 
7
  - name: en_pipeline
8
  results: []
9
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.cfg CHANGED
@@ -32,7 +32,7 @@ threshold = 0.5
32
 
33
  [components.spancat.model.reducer]
34
  @layers = "spacy.mean_max_reducer.v1"
35
- hidden_size = 128
36
 
37
  [components.spancat.model.scorer]
38
  @layers = "spacy.LinearLogistic.v1"
@@ -90,16 +90,16 @@ limit = 0
90
  augmenter = null
91
 
92
  [training]
93
- accumulate_gradient = 3
94
  dev_corpus = "corpora.dev"
95
  train_corpus = "corpora.train"
96
  frozen_components = []
97
- dropout = 0.1
 
98
  max_epochs = 0
99
  max_steps = 25000
100
  seed = ${system.seed}
101
  gpu_allocator = ${system.gpu_allocator}
102
- patience = 5000
103
  eval_frequency = 200
104
  annotating_components = []
105
  before_to_disk = null
@@ -128,8 +128,8 @@ use_averages = false
128
  [training.optimizer.learn_rate]
129
  @schedules = "warmup_linear.v1"
130
  warmup_steps = 250
131
- total_steps = 25000
132
- initial_rate = 0.00005
133
 
134
  [training.score_weights]
135
  spans_sc_f = 1.0
 
32
 
33
  [components.spancat.model.reducer]
34
  @layers = "spacy.mean_max_reducer.v1"
35
+ hidden_size = 256
36
 
37
  [components.spancat.model.scorer]
38
  @layers = "spacy.LinearLogistic.v1"
 
90
  augmenter = null
91
 
92
  [training]
93
+ accumulate_gradient = 5
94
  dev_corpus = "corpora.dev"
95
  train_corpus = "corpora.train"
96
  frozen_components = []
97
+ dropout = 0.0
98
+ patience = 10000
99
  max_epochs = 0
100
  max_steps = 25000
101
  seed = ${system.seed}
102
  gpu_allocator = ${system.gpu_allocator}
 
103
  eval_frequency = 200
104
  annotating_components = []
105
  before_to_disk = null
 
128
  [training.optimizer.learn_rate]
129
  @schedules = "warmup_linear.v1"
130
  warmup_steps = 250
131
+ total_steps = 20000
132
+ initial_rate = 0.00003
133
 
134
  [training.score_weights]
135
  spans_sc_f = 1.0
en_pipeline-any-py3-none-any.whl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c454770b2f8026fdd2273147e62f921ca44902c66ae63b52840413b64aea77c5
3
- size 434870984
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aa9b012ca42a49356294b686911d7ef0410e962cfc92d342ec65e42bc6c8924
3
+ size 439235489
meta.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "lang":"en",
3
  "name":"pipeline",
4
- "version":"0.0.0",
5
- "description":"",
6
- "author":"",
7
  "email":"",
8
  "url":"",
9
  "license":"",
@@ -35,11 +35,11 @@
35
 
36
  ],
37
  "performance":{
38
- "spans_sc_f":0.7530064755,
39
- "spans_sc_p":0.7320143885,
40
- "spans_sc_r":0.7752380952,
41
- "transformer_loss":17.0580949257,
42
- "spancat_loss":512.928282738
43
  },
44
  "requirements":[
45
  "spacy-transformers>=1.1.8,<1.2.0"
 
1
  {
2
  "lang":"en",
3
  "name":"pipeline",
4
+ "version":"0.0.1",
5
+ "description":"Span Categorizer for Company names",
6
+ "author":"oMateos2020",
7
  "email":"",
8
  "url":"",
9
  "license":"",
 
35
 
36
  ],
37
  "performance":{
38
+ "spans_sc_f":0.7580340265,
39
+ "spans_sc_p":0.7523452158,
40
+ "spans_sc_r":0.7638095238,
41
+ "transformer_loss":2.7061057311,
42
+ "spancat_loss":174.07806898
43
  },
44
  "requirements":[
45
  "spacy-transformers>=1.1.8,<1.2.0"
spancat/model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:69570e3c19d152de5c34e73dbe13980f3c07dcc4af4050b1ed287b235b1fe5f1
3
- size 4723491
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe261449c76ac7a8f4082659963e41b8583f60ea0f838dd4a13cdf90d10d5561
3
+ size 9445168
transformer/model CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d7016162ccd3d0c214477c2dde839e5533b864f54b8d4e8c9ef12fa7183475ee
3
  size 502030632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:968c50b0d5e64db1aca2096480f96164f0c2d29a961c175ac9fef4c4cd8a2990
3
  size 502030632