lgsilvaesilva commited on
Commit
69075f5
·
verified ·
1 Parent(s): 3414aaa

Push model using huggingface_hub.

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ unigram.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": false,
4
+ "pooling_mode_mean_tokens": true,
5
+ "pooling_mode_max_tokens": false,
6
+ "pooling_mode_mean_sqrt_len_tokens": false,
7
+ "pooling_mode_weightedmean_tokens": false,
8
+ "pooling_mode_lasttoken": false,
9
+ "include_prompt": true
10
+ }
README.md ADDED
@@ -0,0 +1,504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: Strengthen macro-fiscal resilience through risk-informed public investment
9
+ planning, including scenario-based budgeting and contingent financing arrangements.
10
+ - text: 'finding environmentally sustainable energy solutions is central to the document.
11
+ it seeks to facilitate cultural, institutional and technological change in a way
12
+ that supports ''''aggressive'''' advances in energy efficiency and conservation,
13
+ minimises greenhouse emissions and ultimately provides green growth. these energy
14
+ efficiency and conservation goals are seen as ''''no regrets'''' mitigation actions
15
+ that can have positive impacts on society and the economy, principally by reducing
16
+ costs and dependency on fossil fuel imports. overall the policy propose to reduce
17
+ the percentage of petroleum in the country''''s energy supply mix from the current
18
+ 95 percent (does not state to what level) and increase the percentage of renewables
19
+ in the energy mix with proposed targets of 11 percent by 2012, 12.5 percent by
20
+ 2015 and 20 percent by 2030. six sub-policies exist to support the national energy
21
+ policy, namely: - a carbon emissions trading policy developed to address jamaica''''s
22
+ participation in the clean development mechanism - energy-from-waste policy -
23
+ national renewable energy policy 2010-2030 - national energy from waste policy
24
+ 2010-2030 - energy conservation and efficiency policy - biofuels policy'
25
+ - text: 'objetivos: 1. promover la garantía del derecho a la alimentación para la
26
+ población general y en especial para las personas y grupos de mayor vulnerabilidad.
27
+ 2. respetar la identidad cultural, las necesidades nutricionales según el ciclo
28
+ de vida y la diversidad de formas de producción, de consumo y comercialización
29
+ agropecuaria, fortaleciendo los mercados locales, sin contraponerse al comercio
30
+ agroalimentario internacional, favoreciéndose la producción nacional en granos
31
+ básicos, frutas y vegetales. 3. promover la igualdad entre hombres y mujeres,
32
+ dando las mismas posibilidades de acceso a recursos productivos, servicios y oportunidades
33
+ para asumir responsabilidades y roles en la seguridad alimentaria y nutricional.
34
+ 4.transformar el enfoque de las políticas públicas y sociales, para que pasen
35
+ las personas de ser clientela pasiva y vulnerable que requiere de asistencia,
36
+ a personas sujetos de derechos.'
37
+ - text: Regulatory arrangements will be reformed to accelerate innovation in agriculture,
38
+ including pilot programs, regulatory sandboxes for new inputs and services, clear
39
+ intellectual property protection, and predictable approval timelines for agrochemical
40
+ and digital solutions that meet safety and environmental criteria.
41
+ - text: Climate-smart strategies will protect livelihoods by diversifying income sources,
42
+ expanding agroforestry and drought-resistant crops, and implementing risk-transfer
43
+ mechanisms that shield poor households from shocks, thereby contributing to sustained
44
+ declines in poverty levels.
45
+ metrics:
46
+ - accuracy
47
+ pipeline_tag: text-classification
48
+ library_name: setfit
49
+ inference: false
50
+ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
51
+ ---
52
+
53
+ # SetFit with sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
54
+
55
+ This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2) as the Sentence Transformer embedding model. A OneVsRestClassifier instance is used for classification.
56
+
57
+ The model has been trained using an efficient few-shot learning technique that involves:
58
+
59
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
60
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
61
+
62
+ ## Model Details
63
+
64
+ ### Model Description
65
+ - **Model Type:** SetFit
66
+ - **Sentence Transformer body:** [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2)
67
+ - **Classification head:** a OneVsRestClassifier instance
68
+ - **Maximum Sequence Length:** 128 tokens
69
+ <!-- - **Number of Classes:** Unknown -->
70
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
71
+ <!-- - **Language:** Unknown -->
72
+ <!-- - **License:** Unknown -->
73
+
74
+ ### Model Sources
75
+
76
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
77
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
78
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
79
+
80
+ ## Uses
81
+
82
+ ### Direct Use for Inference
83
+
84
+ First install the SetFit library:
85
+
86
+ ```bash
87
+ pip install setfit
88
+ ```
89
+
90
+ Then you can load this model and run inference.
91
+
92
+ ```python
93
+ from setfit import SetFitModel
94
+
95
+ # Download from the 🤗 Hub
96
+ model = SetFitModel.from_pretrained("faodl/model_cca_multilabel_MiniLM-L12-70prop-data-augmented")
97
+ # Run inference
98
+ preds = model("Strengthen macro-fiscal resilience through risk-informed public investment planning, including scenario-based budgeting and contingent financing arrangements.")
99
+ ```
100
+
101
+ <!--
102
+ ### Downstream Use
103
+
104
+ *List how someone could finetune this model on their own dataset.*
105
+ -->
106
+
107
+ <!--
108
+ ### Out-of-Scope Use
109
+
110
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
111
+ -->
112
+
113
+ <!--
114
+ ## Bias, Risks and Limitations
115
+
116
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
117
+ -->
118
+
119
+ <!--
120
+ ### Recommendations
121
+
122
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
123
+ -->
124
+
125
+ ## Training Details
126
+
127
+ ### Training Set Metrics
128
+ | Training set | Min | Median | Max |
129
+ |:-------------|:----|:--------|:----|
130
+ | Word count | 1 | 69.0403 | 951 |
131
+
132
+ ### Training Hyperparameters
133
+ - batch_size: (16, 16)
134
+ - num_epochs: (2, 2)
135
+ - max_steps: -1
136
+ - sampling_strategy: oversampling
137
+ - num_iterations: 20
138
+ - body_learning_rate: (2e-05, 2e-05)
139
+ - head_learning_rate: 2e-05
140
+ - loss: CosineSimilarityLoss
141
+ - distance_metric: cosine_distance
142
+ - margin: 0.25
143
+ - end_to_end: False
144
+ - use_amp: False
145
+ - warmup_proportion: 0.1
146
+ - l2_weight: 0.01
147
+ - seed: 42
148
+ - eval_max_steps: -1
149
+ - load_best_model_at_end: False
150
+
151
+ ### Training Results
152
+ | Epoch | Step | Training Loss | Validation Loss |
153
+ |:------:|:-----:|:-------------:|:---------------:|
154
+ | 0.0001 | 1 | 0.2247 | - |
155
+ | 0.0065 | 50 | 0.2105 | - |
156
+ | 0.0130 | 100 | 0.1984 | - |
157
+ | 0.0195 | 150 | 0.1899 | - |
158
+ | 0.0260 | 200 | 0.1916 | - |
159
+ | 0.0325 | 250 | 0.1769 | - |
160
+ | 0.0390 | 300 | 0.1679 | - |
161
+ | 0.0455 | 350 | 0.1677 | - |
162
+ | 0.0520 | 400 | 0.1591 | - |
163
+ | 0.0585 | 450 | 0.1521 | - |
164
+ | 0.0650 | 500 | 0.1522 | - |
165
+ | 0.0715 | 550 | 0.1497 | - |
166
+ | 0.0780 | 600 | 0.1494 | - |
167
+ | 0.0845 | 650 | 0.1457 | - |
168
+ | 0.0910 | 700 | 0.1503 | - |
169
+ | 0.0975 | 750 | 0.1328 | - |
170
+ | 0.1040 | 800 | 0.1251 | - |
171
+ | 0.1105 | 850 | 0.1395 | - |
172
+ | 0.1170 | 900 | 0.1298 | - |
173
+ | 0.1235 | 950 | 0.1221 | - |
174
+ | 0.1300 | 1000 | 0.1313 | - |
175
+ | 0.1365 | 1050 | 0.1267 | - |
176
+ | 0.1429 | 1100 | 0.1367 | - |
177
+ | 0.1494 | 1150 | 0.1324 | - |
178
+ | 0.1559 | 1200 | 0.1201 | - |
179
+ | 0.1624 | 1250 | 0.1244 | - |
180
+ | 0.1689 | 1300 | 0.1231 | - |
181
+ | 0.1754 | 1350 | 0.1214 | - |
182
+ | 0.1819 | 1400 | 0.1098 | - |
183
+ | 0.1884 | 1450 | 0.1152 | - |
184
+ | 0.1949 | 1500 | 0.1149 | - |
185
+ | 0.2014 | 1550 | 0.1185 | - |
186
+ | 0.2079 | 1600 | 0.1123 | - |
187
+ | 0.2144 | 1650 | 0.1092 | - |
188
+ | 0.2209 | 1700 | 0.1097 | - |
189
+ | 0.2274 | 1750 | 0.1159 | - |
190
+ | 0.2339 | 1800 | 0.1076 | - |
191
+ | 0.2404 | 1850 | 0.114 | - |
192
+ | 0.2469 | 1900 | 0.1055 | - |
193
+ | 0.2534 | 1950 | 0.1033 | - |
194
+ | 0.2599 | 2000 | 0.1016 | - |
195
+ | 0.2664 | 2050 | 0.1004 | - |
196
+ | 0.2729 | 2100 | 0.0973 | - |
197
+ | 0.2794 | 2150 | 0.1051 | - |
198
+ | 0.2859 | 2200 | 0.0954 | - |
199
+ | 0.2924 | 2250 | 0.0998 | - |
200
+ | 0.2989 | 2300 | 0.0984 | - |
201
+ | 0.3054 | 2350 | 0.0906 | - |
202
+ | 0.3119 | 2400 | 0.0939 | - |
203
+ | 0.3184 | 2450 | 0.1023 | - |
204
+ | 0.3249 | 2500 | 0.0983 | - |
205
+ | 0.3314 | 2550 | 0.0952 | - |
206
+ | 0.3379 | 2600 | 0.099 | - |
207
+ | 0.3444 | 2650 | 0.0994 | - |
208
+ | 0.3509 | 2700 | 0.0975 | - |
209
+ | 0.3574 | 2750 | 0.0871 | - |
210
+ | 0.3639 | 2800 | 0.0969 | - |
211
+ | 0.3704 | 2850 | 0.0845 | - |
212
+ | 0.3769 | 2900 | 0.1007 | - |
213
+ | 0.3834 | 2950 | 0.0887 | - |
214
+ | 0.3899 | 3000 | 0.0807 | - |
215
+ | 0.3964 | 3050 | 0.0859 | - |
216
+ | 0.4029 | 3100 | 0.0826 | - |
217
+ | 0.4094 | 3150 | 0.0784 | - |
218
+ | 0.4159 | 3200 | 0.0851 | - |
219
+ | 0.4224 | 3250 | 0.0834 | - |
220
+ | 0.4288 | 3300 | 0.0922 | - |
221
+ | 0.4353 | 3350 | 0.0862 | - |
222
+ | 0.4418 | 3400 | 0.0856 | - |
223
+ | 0.4483 | 3450 | 0.0848 | - |
224
+ | 0.4548 | 3500 | 0.0735 | - |
225
+ | 0.4613 | 3550 | 0.0752 | - |
226
+ | 0.4678 | 3600 | 0.0881 | - |
227
+ | 0.4743 | 3650 | 0.0836 | - |
228
+ | 0.4808 | 3700 | 0.0808 | - |
229
+ | 0.4873 | 3750 | 0.0963 | - |
230
+ | 0.4938 | 3800 | 0.0816 | - |
231
+ | 0.5003 | 3850 | 0.0809 | - |
232
+ | 0.5068 | 3900 | 0.0833 | - |
233
+ | 0.5133 | 3950 | 0.0852 | - |
234
+ | 0.5198 | 4000 | 0.0788 | - |
235
+ | 0.5263 | 4050 | 0.0742 | - |
236
+ | 0.5328 | 4100 | 0.0693 | - |
237
+ | 0.5393 | 4150 | 0.0856 | - |
238
+ | 0.5458 | 4200 | 0.072 | - |
239
+ | 0.5523 | 4250 | 0.0805 | - |
240
+ | 0.5588 | 4300 | 0.0741 | - |
241
+ | 0.5653 | 4350 | 0.0845 | - |
242
+ | 0.5718 | 4400 | 0.0753 | - |
243
+ | 0.5783 | 4450 | 0.0814 | - |
244
+ | 0.5848 | 4500 | 0.0691 | - |
245
+ | 0.5913 | 4550 | 0.0823 | - |
246
+ | 0.5978 | 4600 | 0.0847 | - |
247
+ | 0.6043 | 4650 | 0.0714 | - |
248
+ | 0.6108 | 4700 | 0.0879 | - |
249
+ | 0.6173 | 4750 | 0.0711 | - |
250
+ | 0.6238 | 4800 | 0.0697 | - |
251
+ | 0.6303 | 4850 | 0.0741 | - |
252
+ | 0.6368 | 4900 | 0.0771 | - |
253
+ | 0.6433 | 4950 | 0.0837 | - |
254
+ | 0.6498 | 5000 | 0.0743 | - |
255
+ | 0.6563 | 5050 | 0.0755 | - |
256
+ | 0.6628 | 5100 | 0.0739 | - |
257
+ | 0.6693 | 5150 | 0.0816 | - |
258
+ | 0.6758 | 5200 | 0.0782 | - |
259
+ | 0.6823 | 5250 | 0.0755 | - |
260
+ | 0.6888 | 5300 | 0.0712 | - |
261
+ | 0.6953 | 5350 | 0.0639 | - |
262
+ | 0.7018 | 5400 | 0.0694 | - |
263
+ | 0.7083 | 5450 | 0.0806 | - |
264
+ | 0.7147 | 5500 | 0.071 | - |
265
+ | 0.7212 | 5550 | 0.0707 | - |
266
+ | 0.7277 | 5600 | 0.0751 | - |
267
+ | 0.7342 | 5650 | 0.0724 | - |
268
+ | 0.7407 | 5700 | 0.0688 | - |
269
+ | 0.7472 | 5750 | 0.067 | - |
270
+ | 0.7537 | 5800 | 0.0718 | - |
271
+ | 0.7602 | 5850 | 0.0681 | - |
272
+ | 0.7667 | 5900 | 0.0694 | - |
273
+ | 0.7732 | 5950 | 0.0693 | - |
274
+ | 0.7797 | 6000 | 0.0731 | - |
275
+ | 0.7862 | 6050 | 0.0626 | - |
276
+ | 0.7927 | 6100 | 0.0691 | - |
277
+ | 0.7992 | 6150 | 0.0711 | - |
278
+ | 0.8057 | 6200 | 0.0627 | - |
279
+ | 0.8122 | 6250 | 0.0726 | - |
280
+ | 0.8187 | 6300 | 0.068 | - |
281
+ | 0.8252 | 6350 | 0.0766 | - |
282
+ | 0.8317 | 6400 | 0.0617 | - |
283
+ | 0.8382 | 6450 | 0.0671 | - |
284
+ | 0.8447 | 6500 | 0.0645 | - |
285
+ | 0.8512 | 6550 | 0.0722 | - |
286
+ | 0.8577 | 6600 | 0.0751 | - |
287
+ | 0.8642 | 6650 | 0.0591 | - |
288
+ | 0.8707 | 6700 | 0.0664 | - |
289
+ | 0.8772 | 6750 | 0.0735 | - |
290
+ | 0.8837 | 6800 | 0.0709 | - |
291
+ | 0.8902 | 6850 | 0.0632 | - |
292
+ | 0.8967 | 6900 | 0.0679 | - |
293
+ | 0.9032 | 6950 | 0.0596 | - |
294
+ | 0.9097 | 7000 | 0.0676 | - |
295
+ | 0.9162 | 7050 | 0.066 | - |
296
+ | 0.9227 | 7100 | 0.069 | - |
297
+ | 0.9292 | 7150 | 0.0615 | - |
298
+ | 0.9357 | 7200 | 0.0579 | - |
299
+ | 0.9422 | 7250 | 0.0576 | - |
300
+ | 0.9487 | 7300 | 0.0558 | - |
301
+ | 0.9552 | 7350 | 0.0556 | - |
302
+ | 0.9617 | 7400 | 0.0637 | - |
303
+ | 0.9682 | 7450 | 0.0615 | - |
304
+ | 0.9747 | 7500 | 0.0677 | - |
305
+ | 0.9812 | 7550 | 0.0584 | - |
306
+ | 0.9877 | 7600 | 0.0661 | - |
307
+ | 0.9942 | 7650 | 0.0583 | - |
308
+ | 1.0006 | 7700 | 0.0639 | - |
309
+ | 1.0071 | 7750 | 0.0598 | - |
310
+ | 1.0136 | 7800 | 0.0586 | - |
311
+ | 1.0201 | 7850 | 0.055 | - |
312
+ | 1.0266 | 7900 | 0.0636 | - |
313
+ | 1.0331 | 7950 | 0.0623 | - |
314
+ | 1.0396 | 8000 | 0.0661 | - |
315
+ | 1.0461 | 8050 | 0.0633 | - |
316
+ | 1.0526 | 8100 | 0.056 | - |
317
+ | 1.0591 | 8150 | 0.0555 | - |
318
+ | 1.0656 | 8200 | 0.0608 | - |
319
+ | 1.0721 | 8250 | 0.0491 | - |
320
+ | 1.0786 | 8300 | 0.0592 | - |
321
+ | 1.0851 | 8350 | 0.0645 | - |
322
+ | 1.0916 | 8400 | 0.0553 | - |
323
+ | 1.0981 | 8450 | 0.0547 | - |
324
+ | 1.1046 | 8500 | 0.0494 | - |
325
+ | 1.1111 | 8550 | 0.0594 | - |
326
+ | 1.1176 | 8600 | 0.058 | - |
327
+ | 1.1241 | 8650 | 0.0589 | - |
328
+ | 1.1306 | 8700 | 0.0552 | - |
329
+ | 1.1371 | 8750 | 0.0554 | - |
330
+ | 1.1436 | 8800 | 0.0566 | - |
331
+ | 1.1501 | 8850 | 0.0558 | - |
332
+ | 1.1566 | 8900 | 0.0596 | - |
333
+ | 1.1631 | 8950 | 0.0551 | - |
334
+ | 1.1696 | 9000 | 0.061 | - |
335
+ | 1.1761 | 9050 | 0.0689 | - |
336
+ | 1.1826 | 9100 | 0.0565 | - |
337
+ | 1.1891 | 9150 | 0.0581 | - |
338
+ | 1.1956 | 9200 | 0.0606 | - |
339
+ | 1.2021 | 9250 | 0.057 | - |
340
+ | 1.2086 | 9300 | 0.0577 | - |
341
+ | 1.2151 | 9350 | 0.0629 | - |
342
+ | 1.2216 | 9400 | 0.0592 | - |
343
+ | 1.2281 | 9450 | 0.0547 | - |
344
+ | 1.2346 | 9500 | 0.0606 | - |
345
+ | 1.2411 | 9550 | 0.0588 | - |
346
+ | 1.2476 | 9600 | 0.0581 | - |
347
+ | 1.2541 | 9650 | 0.0624 | - |
348
+ | 1.2606 | 9700 | 0.0589 | - |
349
+ | 1.2671 | 9750 | 0.0646 | - |
350
+ | 1.2736 | 9800 | 0.0559 | - |
351
+ | 1.2801 | 9850 | 0.0594 | - |
352
+ | 1.2865 | 9900 | 0.0586 | - |
353
+ | 1.2930 | 9950 | 0.0552 | - |
354
+ | 1.2995 | 10000 | 0.0513 | - |
355
+ | 1.3060 | 10050 | 0.0565 | - |
356
+ | 1.3125 | 10100 | 0.0626 | - |
357
+ | 1.3190 | 10150 | 0.0483 | - |
358
+ | 1.3255 | 10200 | 0.0643 | - |
359
+ | 1.3320 | 10250 | 0.0524 | - |
360
+ | 1.3385 | 10300 | 0.0559 | - |
361
+ | 1.3450 | 10350 | 0.0589 | - |
362
+ | 1.3515 | 10400 | 0.0562 | - |
363
+ | 1.3580 | 10450 | 0.0592 | - |
364
+ | 1.3645 | 10500 | 0.047 | - |
365
+ | 1.3710 | 10550 | 0.0531 | - |
366
+ | 1.3775 | 10600 | 0.0506 | - |
367
+ | 1.3840 | 10650 | 0.0579 | - |
368
+ | 1.3905 | 10700 | 0.0569 | - |
369
+ | 1.3970 | 10750 | 0.0579 | - |
370
+ | 1.4035 | 10800 | 0.0504 | - |
371
+ | 1.4100 | 10850 | 0.0547 | - |
372
+ | 1.4165 | 10900 | 0.0497 | - |
373
+ | 1.4230 | 10950 | 0.0533 | - |
374
+ | 1.4295 | 11000 | 0.0488 | - |
375
+ | 1.4360 | 11050 | 0.0537 | - |
376
+ | 1.4425 | 11100 | 0.0544 | - |
377
+ | 1.4490 | 11150 | 0.0548 | - |
378
+ | 1.4555 | 11200 | 0.0475 | - |
379
+ | 1.4620 | 11250 | 0.0519 | - |
380
+ | 1.4685 | 11300 | 0.0568 | - |
381
+ | 1.4750 | 11350 | 0.0567 | - |
382
+ | 1.4815 | 11400 | 0.0473 | - |
383
+ | 1.4880 | 11450 | 0.0535 | - |
384
+ | 1.4945 | 11500 | 0.0531 | - |
385
+ | 1.5010 | 11550 | 0.0567 | - |
386
+ | 1.5075 | 11600 | 0.0529 | - |
387
+ | 1.5140 | 11650 | 0.0544 | - |
388
+ | 1.5205 | 11700 | 0.0612 | - |
389
+ | 1.5270 | 11750 | 0.055 | - |
390
+ | 1.5335 | 11800 | 0.0474 | - |
391
+ | 1.5400 | 11850 | 0.0572 | - |
392
+ | 1.5465 | 11900 | 0.0484 | - |
393
+ | 1.5530 | 11950 | 0.0553 | - |
394
+ | 1.5595 | 12000 | 0.0519 | - |
395
+ | 1.5660 | 12050 | 0.0565 | - |
396
+ | 1.5724 | 12100 | 0.0466 | - |
397
+ | 1.5789 | 12150 | 0.0502 | - |
398
+ | 1.5854 | 12200 | 0.0525 | - |
399
+ | 1.5919 | 12250 | 0.054 | - |
400
+ | 1.5984 | 12300 | 0.0556 | - |
401
+ | 1.6049 | 12350 | 0.0515 | - |
402
+ | 1.6114 | 12400 | 0.0476 | - |
403
+ | 1.6179 | 12450 | 0.0579 | - |
404
+ | 1.6244 | 12500 | 0.0567 | - |
405
+ | 1.6309 | 12550 | 0.0551 | - |
406
+ | 1.6374 | 12600 | 0.0518 | - |
407
+ | 1.6439 | 12650 | 0.0508 | - |
408
+ | 1.6504 | 12700 | 0.0503 | - |
409
+ | 1.6569 | 12750 | 0.0484 | - |
410
+ | 1.6634 | 12800 | 0.0531 | - |
411
+ | 1.6699 | 12850 | 0.0553 | - |
412
+ | 1.6764 | 12900 | 0.0588 | - |
413
+ | 1.6829 | 12950 | 0.0547 | - |
414
+ | 1.6894 | 13000 | 0.0587 | - |
415
+ | 1.6959 | 13050 | 0.0562 | - |
416
+ | 1.7024 | 13100 | 0.0558 | - |
417
+ | 1.7089 | 13150 | 0.0559 | - |
418
+ | 1.7154 | 13200 | 0.0547 | - |
419
+ | 1.7219 | 13250 | 0.059 | - |
420
+ | 1.7284 | 13300 | 0.053 | - |
421
+ | 1.7349 | 13350 | 0.0532 | - |
422
+ | 1.7414 | 13400 | 0.0552 | - |
423
+ | 1.7479 | 13450 | 0.0443 | - |
424
+ | 1.7544 | 13500 | 0.058 | - |
425
+ | 1.7609 | 13550 | 0.0503 | - |
426
+ | 1.7674 | 13600 | 0.0499 | - |
427
+ | 1.7739 | 13650 | 0.0478 | - |
428
+ | 1.7804 | 13700 | 0.0569 | - |
429
+ | 1.7869 | 13750 | 0.052 | - |
430
+ | 1.7934 | 13800 | 0.0458 | - |
431
+ | 1.7999 | 13850 | 0.0551 | - |
432
+ | 1.8064 | 13900 | 0.0567 | - |
433
+ | 1.8129 | 13950 | 0.0511 | - |
434
+ | 1.8194 | 14000 | 0.0546 | - |
435
+ | 1.8259 | 14050 | 0.058 | - |
436
+ | 1.8324 | 14100 | 0.0539 | - |
437
+ | 1.8389 | 14150 | 0.0544 | - |
438
+ | 1.8454 | 14200 | 0.061 | - |
439
+ | 1.8519 | 14250 | 0.0521 | - |
440
+ | 1.8583 | 14300 | 0.046 | - |
441
+ | 1.8648 | 14350 | 0.0494 | - |
442
+ | 1.8713 | 14400 | 0.0604 | - |
443
+ | 1.8778 | 14450 | 0.0543 | - |
444
+ | 1.8843 | 14500 | 0.0522 | - |
445
+ | 1.8908 | 14550 | 0.0533 | - |
446
+ | 1.8973 | 14600 | 0.0469 | - |
447
+ | 1.9038 | 14650 | 0.0525 | - |
448
+ | 1.9103 | 14700 | 0.0516 | - |
449
+ | 1.9168 | 14750 | 0.0485 | - |
450
+ | 1.9233 | 14800 | 0.0601 | - |
451
+ | 1.9298 | 14850 | 0.0487 | - |
452
+ | 1.9363 | 14900 | 0.0496 | - |
453
+ | 1.9428 | 14950 | 0.0529 | - |
454
+ | 1.9493 | 15000 | 0.054 | - |
455
+ | 1.9558 | 15050 | 0.0431 | - |
456
+ | 1.9623 | 15100 | 0.0449 | - |
457
+ | 1.9688 | 15150 | 0.0602 | - |
458
+ | 1.9753 | 15200 | 0.0447 | - |
459
+ | 1.9818 | 15250 | 0.0506 | - |
460
+ | 1.9883 | 15300 | 0.0503 | - |
461
+ | 1.9948 | 15350 | 0.0515 | - |
462
+
463
+ ### Framework Versions
464
+ - Python: 3.12.12
465
+ - SetFit: 1.1.3
466
+ - Sentence Transformers: 5.1.1
467
+ - Transformers: 4.57.1
468
+ - PyTorch: 2.8.0+cu126
469
+ - Datasets: 4.0.0
470
+ - Tokenizers: 0.22.1
471
+
472
+ ## Citation
473
+
474
+ ### BibTeX
475
+ ```bibtex
476
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
477
+ doi = {10.48550/ARXIV.2209.11055},
478
+ url = {https://arxiv.org/abs/2209.11055},
479
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
480
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
481
+ title = {Efficient Few-Shot Learning Without Prompts},
482
+ publisher = {arXiv},
483
+ year = {2022},
484
+ copyright = {Creative Commons Attribution 4.0 International}
485
+ }
486
+ ```
487
+
488
+ <!--
489
+ ## Glossary
490
+
491
+ *Clearly define terms in order to be accessible across audiences.*
492
+ -->
493
+
494
+ <!--
495
+ ## Model Card Authors
496
+
497
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
498
+ -->
499
+
500
+ <!--
501
+ ## Model Card Contact
502
+
503
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
504
+ -->
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "transformers_version": "4.57.1",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 250037
25
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.1",
4
+ "transformers": "4.57.1",
5
+ "pytorch": "2.8.0+cu126"
6
+ },
7
+ "model_type": "SentenceTransformer",
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
config_setfit.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "normalize_embeddings": false,
3
+ "labels": null
4
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6cff76e52e20fd5c33f0146ce583994b879245a846ab7ffb83f8864781e3608d
3
+ size 470637416
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86585e0007e8d42d8979f82abcbe133968010fa6fb996d4fe336ba2aa13fc408
3
+ size 324772
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "idx": 0,
4
+ "name": "0",
5
+ "path": "",
6
+ "type": "sentence_transformers.models.Transformer"
7
+ },
8
+ {
9
+ "idx": 1,
10
+ "name": "1",
11
+ "path": "1_Pooling",
12
+ "type": "sentence_transformers.models.Pooling"
13
+ }
14
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 128,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
3
+ size 17082987
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": true,
48
+ "eos_token": "</s>",
49
+ "extra_special_tokens": {},
50
+ "mask_token": "<mask>",
51
+ "max_length": 128,
52
+ "model_max_length": 128,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "<pad>",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "</s>",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "<unk>"
65
+ }
unigram.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
3
+ size 14763260