tollefj commited on
Commit
a6a95d9
1 Parent(s): 64a18bb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +222 -193
README.md CHANGED
@@ -3,197 +3,226 @@ library_name: transformers
3
  tags: []
4
  ---
5
 
6
- # Model Card for Model ID
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
- <!-- Provide a quick summary of what the model is/does. -->
9
-
10
-
11
-
12
- ## Model Details
13
-
14
- ### Model Description
15
-
16
- <!-- Provide a longer summary of what this model is. -->
17
-
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
-
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
-
28
- ### Model Sources [optional]
29
-
30
- <!-- Provide the basic links for the model. -->
31
-
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
-
36
- ## Uses
37
-
38
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
-
40
- ### Direct Use
41
-
42
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
-
44
- [More Information Needed]
45
-
46
- ### Downstream Use [optional]
47
-
48
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
-
50
- [More Information Needed]
51
-
52
- ### Out-of-Scope Use
53
-
54
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
-
56
- [More Information Needed]
57
-
58
- ## Bias, Risks, and Limitations
59
-
60
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
-
62
- [More Information Needed]
63
-
64
- ### Recommendations
65
-
66
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
-
68
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
-
70
- ## How to Get Started with the Model
71
-
72
- Use the code below to get started with the model.
73
-
74
- [More Information Needed]
75
-
76
- ## Training Details
77
-
78
- ### Training Data
79
-
80
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
-
82
- [More Information Needed]
83
-
84
- ### Training Procedure
85
-
86
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
-
88
- #### Preprocessing [optional]
89
-
90
- [More Information Needed]
91
-
92
-
93
- #### Training Hyperparameters
94
-
95
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
-
97
- #### Speeds, Sizes, Times [optional]
98
-
99
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
-
101
- [More Information Needed]
102
-
103
- ## Evaluation
104
-
105
- <!-- This section describes the evaluation protocols and provides the results. -->
106
-
107
- ### Testing Data, Factors & Metrics
108
-
109
- #### Testing Data
110
-
111
- <!-- This should link to a Dataset Card if possible. -->
112
-
113
- [More Information Needed]
114
-
115
- #### Factors
116
-
117
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
-
119
- [More Information Needed]
120
-
121
- #### Metrics
122
-
123
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
-
125
- [More Information Needed]
126
-
127
- ### Results
128
-
129
- [More Information Needed]
130
-
131
- #### Summary
132
-
133
-
134
-
135
- ## Model Examination [optional]
136
-
137
- <!-- Relevant interpretability work for the model goes here -->
138
-
139
- [More Information Needed]
140
-
141
- ## Environmental Impact
142
-
143
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
-
145
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
-
147
- - **Hardware Type:** [More Information Needed]
148
- - **Hours used:** [More Information Needed]
149
- - **Cloud Provider:** [More Information Needed]
150
- - **Compute Region:** [More Information Needed]
151
- - **Carbon Emitted:** [More Information Needed]
152
-
153
- ## Technical Specifications [optional]
154
-
155
- ### Model Architecture and Objective
156
-
157
- [More Information Needed]
158
-
159
- ### Compute Infrastructure
160
-
161
- [More Information Needed]
162
-
163
- #### Hardware
164
-
165
- [More Information Needed]
166
-
167
- #### Software
168
-
169
- [More Information Needed]
170
-
171
- ## Citation [optional]
172
-
173
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
-
175
- **BibTeX:**
176
-
177
- [More Information Needed]
178
-
179
- **APA:**
180
-
181
- [More Information Needed]
182
-
183
- ## Glossary [optional]
184
-
185
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
-
187
- [More Information Needed]
188
-
189
- ## More Information [optional]
190
-
191
- [More Information Needed]
192
-
193
- ## Model Card Authors [optional]
194
-
195
- [More Information Needed]
196
-
197
- ## Model Card Contact
198
-
199
- [More Information Needed]
 
3
  tags: []
4
  ---
5
 
6
+ norbert3-small trained on wikiann (fo/is), sucx3 (se), dane (da) and norne (nb/nn)
7
+
8
+ added a custom clf head along with a character-level cnn for adding a tiny extra signal for the classification.
9
+
10
+ results:
11
+ ```css
12
+ Eval on wikiann - fo
13
+ index 0
14
+ tokens [Byrta, -, Aftur, og, aftur]
15
+ ner_tags [3, 0, 0, 0, 0]
16
+ subset fo
17
+ dataset wikiann
18
+ Name: 0, dtype: object
19
+ shape: (100, 5)
20
+ 100%
21
+  5/5 [00:01<00:00,  3.92it/s]
22
+ Loss: 0.2276667356491089
23
+ O O
24
+ B-ORG B-ORG
25
+ B-ORG B-ORG
26
+ O O
27
+ O O
28
+ O O
29
+ O O
30
+ O O
31
+ O O
32
+ O O
33
+ Validation Loss: 0.26530784368515015
34
+ Validation Accuracy: 0.9228951181745751
35
+ precision recall f1-score support
36
+
37
+ LOC 0.86 0.81 0.83 154
38
+ ORG 0.67 0.73 0.70 125
39
+ PER 0.87 0.91 0.89 79
40
+
41
+ micro avg 0.79 0.80 0.80 358
42
+ macro avg 0.80 0.82 0.81 358
43
+ weighted avg 0.79 0.80 0.80 358
44
+
45
+ ________________________________________
46
+ Eval on wikiann - is
47
+ index 100
48
+ tokens [Beltaþyrill, ''Ceryle, alcyon, '', Sjaldséð]
49
+ ner_tags [5, 0, 0, 0, 0]
50
+ subset is
51
+ dataset wikiann
52
+ Name: 0, dtype: object
53
+ shape: (1000, 5)
54
+ 100%
55
+  50/50 [00:10<00:00,  5.02it/s]
56
+ Loss: 0.22668001055717468
57
+ O O
58
+ B-LOC B-LOC
59
+ B-LOC B-LOC
60
+ B-LOC B-LOC
61
+ B-LOC B-LOC
62
+ B-LOC B-LOC
63
+ B-LOC B-LOC
64
+ O O
65
+ O O
66
+ O O
67
+ Validation Loss: 0.2526825902983546
68
+ Validation Accuracy: 0.9360383541181041
69
+ precision recall f1-score support
70
+
71
+ LOC 0.84 0.85 0.84 1983
72
+ ORG 0.81 0.80 0.80 1762
73
+ PER 0.89 0.89 0.89 1020
74
+
75
+ micro avg 0.84 0.84 0.84 4765
76
+ macro avg 0.84 0.85 0.85 4765
77
+ weighted avg 0.84 0.84 0.84 4765
78
+
79
+ ________________________________________
80
+ Eval on dane - default
81
+ index 1100
82
+ tokens [To, kendte, russiske, historikere, Andronik, ...
83
+ ner_tags [0, 0, 7, 0, 1, 2, 0, 1, 2, 0, 0, 0, 0, 5, 0, ...
84
+ subset default
85
+ dataset dane
86
+ Name: 0, dtype: object
87
+ shape: (565, 5)
88
+ 100%
89
+  29/29 [00:06<00:00,  4.75it/s]
90
+ Loss: 0.12037135660648346
91
+ O O
92
+ O O
93
+ O O
94
+ O O
95
+ O O
96
+ B-MISC B-MISC
97
+ O O
98
+ O O
99
+ B-PER B-PER
100
+ B-PER B-PER
101
+ Validation Loss: 0.11113663488228259
102
+ Validation Accuracy: 0.972018408457994
103
+ precision recall f1-score support
104
+
105
+ LOC 0.78 0.86 0.82 225
106
+ MISC 0.72 0.52 0.61 333
107
+ ORG 0.72 0.69 0.71 379
108
+ PER 0.96 0.92 0.94 298
109
+
110
+ micro avg 0.80 0.73 0.76 1235
111
+ macro avg 0.80 0.75 0.77 1235
112
+ weighted avg 0.79 0.73 0.76 1235
113
+
114
+ ________________________________________
115
+ Eval on norne - bokmaal-7
116
+ index 1665
117
+ tokens [Honnørordene, er, ", dristig, formspråk, ", ,...
118
+ ner_tags [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
119
+ subset bokmaal-7
120
+ dataset norne
121
+ Name: 0, dtype: object
122
+ shape: (1939, 5)
123
+ 100%
124
+  97/97 [00:20<00:00,  4.56it/s]
125
+ Loss: 0.0011819382198154926
126
+ O O
127
+ O O
128
+ O O
129
+ O O
130
+ O O
131
+ O O
132
+ O O
133
+ O O
134
+ O O
135
+ O O
136
+ Validation Loss: 0.04194018930858649
137
+ Validation Accuracy: 0.9876322465792248
138
+ precision recall f1-score support
139
+
140
+ LOC 0.85 0.90 0.87 498
141
+ MISC 0.81 0.74 0.78 363
142
+ ORG 0.77 0.83 0.80 499
143
+ PER 0.93 0.96 0.95 845
144
+
145
+ micro avg 0.86 0.88 0.87 2205
146
+ macro avg 0.84 0.86 0.85 2205
147
+ weighted avg 0.86 0.88 0.87 2205
148
+
149
+ ________________________________________
150
+ Eval on norne - nynorsk-7
151
+ index 3604
152
+ tokens [Den, er, mettande, og, smakfull, ,, og, det, ...
153
+ ner_tags [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
154
+ subset nynorsk-7
155
+ dataset norne
156
+ Name: 0, dtype: object
157
+ shape: (1511, 5)
158
+ 100%
159
+  76/76 [00:15<00:00,  5.82it/s]
160
+ Loss: 0.0790824368596077
161
+ O O
162
+ O O
163
+ O O
164
+ O O
165
+ O O
166
+ O O
167
+ O O
168
+ O O
169
+ O O
170
+ O O
171
+ Validation Loss: 0.05325472676725583
172
+ Validation Accuracy: 0.9867293689853402
173
+ precision recall f1-score support
174
+
175
+ LOC 0.77 0.91 0.84 365
176
+ MISC 0.80 0.76 0.78 295
177
+ ORG 0.83 0.82 0.82 397
178
+ PER 0.98 0.95 0.97 664
179
+
180
+ micro avg 0.87 0.88 0.87 1721
181
+ macro avg 0.85 0.86 0.85 1721
182
+ weighted avg 0.87 0.88 0.87 1721
183
+
184
+ ________________________________________
185
+ Eval on sucx3_ner - original_cased
186
+ index 5115
187
+ tokens [Just, i, dag, är, Saabs, företagsledning, där...
188
+ ner_tags [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
189
+ subset original_cased
190
+ dataset sucx3_ner
191
+ Name: 0, dtype: object
192
+ shape: (14383, 5)
193
+ 100%
194
+  720/720 [02:36<00:00,  5.02it/s]
195
+ Loss: 0.04177908971905708
196
+ Loss: 0.08230985613484489
197
+ Loss: 0.08399457804886486
198
+ Loss: 0.06163447560524267
199
+ Loss: 0.04787629511204947
200
+ Loss: 0.03949779063830233
201
+ Loss: 0.03397762095776484
202
+ Loss: 0.030040143460689266
203
+ O O
204
+ O O
205
+ O O
206
+ O O
207
+ O O
208
+ B-ORG B-ORG
209
+ B-ORG B-ORG
210
+ O O
211
+ O O
212
+ O O
213
+ Validation Loss: 0.02938824465528948
214
+ Validation Accuracy: 0.9919830972756728
215
+ precision recall f1-score support
216
+
217
+ LOC 0.88 0.91 0.90 4202
218
+ MISC 0.65 0.59 0.62 1899
219
+ ORG 0.74 0.76 0.75 3015
220
+ PER 0.92 0.93 0.92 5778
221
+
222
+ micro avg 0.84 0.84 0.84 14894
223
+ macro avg 0.80 0.80 0.80 14894
224
+ weighted avg 0.84 0.84 0.84 14894
225
+
226
+ ________________________________________
227
+ ```
228