teo-sanchez commited on
Commit
21ec082
1 Parent(s): f1cfc6f

Update spaCy pipeline

Browse files
Files changed (8) hide show
  1. README.md +3 -3
  2. config.cfg +18 -18
  3. en_ner_prompting-any-py3-none-any.whl +2 -2
  4. meta.json +113 -11
  5. ner/model +0 -0
  6. ner/moves +1 -1
  7. tok2vec/model +1 -1
  8. vocab/strings.json +0 -0
README.md CHANGED
@@ -13,13 +13,13 @@ model-index:
13
  metrics:
14
  - name: NER Precision
15
  type: precision
16
- value: 0.7864583333
17
  - name: NER Recall
18
  type: recall
19
- value: 0.6344537815
20
  - name: NER F Score
21
  type: f_score
22
- value: 0.7023255814
23
  ---
24
  | Feature | Description |
25
  | --- | --- |
 
13
  metrics:
14
  - name: NER Precision
15
  type: precision
16
+ value: 0.7517301038
17
  - name: NER Recall
18
  type: recall
19
+ value: 0.7376910017
20
  - name: NER F Score
21
  type: f_score
22
+ value: 0.7446443873
23
  ---
24
  | Feature | Description |
25
  | --- | --- |
config.cfg CHANGED
@@ -1,6 +1,6 @@
1
  [paths]
2
- train = "corpus/ner_prompting_training.spacy"
3
- dev = "corpus/ner_prompting_eval.spacy"
4
  vectors = "en_core_web_lg"
5
  init_tok2vec = "training/pretrain_embedding/model50.bin"
6
 
@@ -62,22 +62,22 @@ window_size = 1
62
  maxout_pieces = 3
63
 
64
  [corpora]
65
-
66
- [corpora.dev]
67
- @readers = "spacy.Corpus.v1"
68
- path = ${paths.dev}
69
- max_length = 0
70
- gold_preproc = false
71
- limit = 0
72
- augmenter = null
73
-
74
- [corpora.train]
75
- @readers = "spacy.Corpus.v1"
76
- path = ${paths.train}
77
- max_length = 0
78
- gold_preproc = false
79
- limit = 0
80
- augmenter = null
81
 
82
  [training]
83
  dev_corpus = "corpora.dev"
 
1
  [paths]
2
+ train = null
3
+ dev = null
4
  vectors = "en_core_web_lg"
5
  init_tok2vec = "training/pretrain_embedding/model50.bin"
6
 
 
62
  maxout_pieces = 3
63
 
64
  [corpora]
65
+ @readers = "prodigy.MergedCorpus.v1"
66
+ eval_split = 0.2
67
+ sample_size = 1.0
68
+ textcat = null
69
+ textcat_multilabel = null
70
+ parser = null
71
+ tagger = null
72
+ senter = null
73
+ spancat = null
74
+
75
+ [corpora.ner]
76
+ @readers = "prodigy.NERCorpus.v1"
77
+ datasets = ["prompt_ner_data"]
78
+ eval_datasets = []
79
+ default_fill = "outside"
80
+ incorrect_key = "incorrect_spans"
81
 
82
  [training]
83
  dev_corpus = "corpora.dev"
en_ner_prompting-any-py3-none-any.whl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be8004cc052f6c716f30e2682dac8bb88ef7afd21c7af9a61cb739913ec8cfe6
3
- size 606757379
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9a637faaf89ee9081fb79810bd057c57121952cbfc906847296cedcfd46d01c
3
+ size 606800932
meta.json CHANGED
@@ -8,7 +8,7 @@
8
  "url":"",
9
  "license":"",
10
  "spacy_version":">=3.4.3,<3.5.0",
11
- "spacy_git_version":"63673a792",
12
  "vectors":{
13
  "width":300,
14
  "vectors":514157,
@@ -20,7 +20,24 @@
20
 
21
  ],
22
  "ner":[
23
- "FASHION_BRAND"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  ]
25
  },
26
  "pipeline":[
@@ -35,18 +52,103 @@
35
 
36
  ],
37
  "performance":{
38
- "ents_f":0.7023255814,
39
- "ents_p":0.7864583333,
40
- "ents_r":0.6344537815,
41
  "ents_per_type":{
42
- "FASHION_BRAND":{
43
- "p":0.7864583333,
44
- "r":0.6344537815,
45
- "f":0.7023255814
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  }
47
  },
48
- "tok2vec_loss":0.0000051231,
49
- "ner_loss":0.0000050451
50
  },
51
  "requirements":[
52
 
 
8
  "url":"",
9
  "license":"",
10
  "spacy_version":">=3.4.3,<3.5.0",
11
+ "spacy_git_version":"Unknown",
12
  "vectors":{
13
  "width":300,
14
  "vectors":514157,
 
20
 
21
  ],
22
  "ner":[
23
+ "color",
24
+ "composition/scale",
25
+ "composition/view",
26
+ "context/emotion",
27
+ "context/era",
28
+ "context/weather",
29
+ "detail",
30
+ "influence/artist",
31
+ "influence/artwork",
32
+ "influence/genre",
33
+ "influence/repository",
34
+ "light",
35
+ "medium/illustration",
36
+ "medium/painting",
37
+ "medium/photography",
38
+ "medium/rendering",
39
+ "other",
40
+ "subject"
41
  ]
42
  },
43
  "pipeline":[
 
52
 
53
  ],
54
  "performance":{
55
+ "ents_f":0.7446443873,
56
+ "ents_p":0.7517301038,
57
+ "ents_r":0.7376910017,
58
  "ents_per_type":{
59
+ "context/emotion":{
60
+ "p":0.7924528302,
61
+ "r":0.6885245902,
62
+ "f":0.7368421053
63
+ },
64
+ "influence/artwork":{
65
+ "p":0.9666666667,
66
+ "r":0.7837837838,
67
+ "f":0.8656716418
68
+ },
69
+ "subject":{
70
+ "p":0.6339622642,
71
+ "r":0.6176470588,
72
+ "f":0.625698324
73
+ },
74
+ "influence/genre":{
75
+ "p":0.7222222222,
76
+ "r":0.6610169492,
77
+ "f":0.6902654867
78
+ },
79
+ "medium/illustration":{
80
+ "p":0.8153846154,
81
+ "r":0.7910447761,
82
+ "f":0.803030303
83
+ },
84
+ "influence/artist":{
85
+ "p":0.817679558,
86
+ "r":0.875739645,
87
+ "f":0.8457142857
88
+ },
89
+ "detail":{
90
+ "p":0.88,
91
+ "r":0.9462365591,
92
+ "f":0.9119170984
93
+ },
94
+ "context/era":{
95
+ "p":0.8125,
96
+ "r":0.7222222222,
97
+ "f":0.7647058824
98
+ },
99
+ "medium/painting":{
100
+ "p":0.65625,
101
+ "r":0.724137931,
102
+ "f":0.6885245902
103
+ },
104
+ "influence/repository":{
105
+ "p":0.8620689655,
106
+ "r":0.8474576271,
107
+ "f":0.8547008547
108
+ },
109
+ "medium/photography":{
110
+ "p":0.7641509434,
111
+ "r":0.7363636364,
112
+ "f":0.75
113
+ },
114
+ "light":{
115
+ "p":0.724137931,
116
+ "r":0.7636363636,
117
+ "f":0.7433628319
118
+ },
119
+ "other":{
120
+ "p":0.0,
121
+ "r":0.0,
122
+ "f":0.0
123
+ },
124
+ "medium/rendering":{
125
+ "p":0.8636363636,
126
+ "r":0.6785714286,
127
+ "f":0.76
128
+ },
129
+ "context/weather":{
130
+ "p":0.6111111111,
131
+ "r":0.6111111111,
132
+ "f":0.6111111111
133
+ },
134
+ "color":{
135
+ "p":0.5967741935,
136
+ "r":0.6851851852,
137
+ "f":0.6379310345
138
+ },
139
+ "composition/view":{
140
+ "p":0.78125,
141
+ "r":0.6578947368,
142
+ "f":0.7142857143
143
+ },
144
+ "composition/scale":{
145
+ "p":0.75,
146
+ "r":0.3333333333,
147
+ "f":0.4615384615
148
  }
149
  },
150
+ "tok2vec_loss":160.9330185827,
151
+ "ner_loss":1431.7583294513
152
  },
153
  "requirements":[
154
 
ner/model CHANGED
Binary files a/ner/model and b/ner/model differ
 
ner/moves CHANGED
@@ -1 +1 @@
1
- ��movesـ{"0":{},"1":{"FASHION_BRAND":728},"2":{"FASHION_BRAND":728},"3":{"FASHION_BRAND":728},"4":{"FASHION_BRAND":728,"":1},"5":{"":1}}�cfg��neg_key�
 
1
+ ��moves��{"0":{},"1":{"subject":4553,"influence/artist":1419,"detail":1064,"medium/photography":716,"medium/illustration":461,"light":428,"influence/repository":417,"influence/genre":390,"context/emotion":300,"composition/view":291,"medium/rendering":282,"color":270,"influence/artwork":250,"medium/painting":193,"context/era":140,"context/weather":112,"composition/scale":22,"other":2},"2":{"subject":4553,"influence/artist":1419,"detail":1064,"medium/photography":716,"medium/illustration":461,"light":428,"influence/repository":417,"influence/genre":390,"context/emotion":300,"composition/view":291,"medium/rendering":282,"color":270,"influence/artwork":250,"medium/painting":193,"context/era":140,"context/weather":112,"composition/scale":22,"other":2},"3":{"subject":4553,"influence/artist":1419,"detail":1064,"medium/photography":716,"medium/illustration":461,"light":428,"influence/repository":417,"influence/genre":390,"context/emotion":300,"composition/view":291,"medium/rendering":282,"color":270,"influence/artwork":250,"medium/painting":193,"context/era":140,"context/weather":112,"composition/scale":22,"other":2},"4":{"subject":4553,"influence/artist":1419,"detail":1064,"medium/photography":716,"medium/illustration":461,"light":428,"influence/repository":417,"influence/genre":390,"context/emotion":300,"composition/view":291,"medium/rendering":282,"color":270,"influence/artwork":250,"medium/painting":193,"context/era":140,"context/weather":112,"composition/scale":22,"other":2,"":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:26a56cdf6139b2f01a85f796d607f0f6b1e86b2c07f6c97d05ee97f670938ab4
3
  size 34434008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:892198f793ba9dadc96ba7d4d6d86e76e2fe451360647dac8bab065959cf718a
3
  size 34434008
vocab/strings.json CHANGED
The diff for this file is too large to render. See raw diff