Hulyyy commited on
Commit
870c2ce
·
verified ·
1 Parent(s): 6cc4a05

Push model using huggingface_hub.

Browse files
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,657 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: Shunting mode is the term used to describe the application that will regulate and control
9
+ user access to facilities and features in the mobile while it is being used for shunting
10
+ communications. (I)
11
+ - text: RAM scrub shall [SRS275] not scrub the area used for telemetry data.
12
+ - text: 2.4.4 It should be possible for the network to prevent the identity of certain
13
+ users from being displayed on the mobile, either when being called, calling or
14
+ both. (O) Priority and pre-emption
15
+ - text: If acknowledgement is specified the driver shall acknowledge transfer from
16
+ Full Supervision to Partial Supervision within 5 seconds
17
+ - text: 5.3.6 Requirements on electromagnetic emissions for the Cab radio are
18
+ to be more stringent than those defined for other radio types due to close proximity
19
+ to other train-mounted control and protection equipment, and higher transmission
20
+ power. (I)
21
+ metrics:
22
+ - accuracy
23
+ pipeline_tag: text-classification
24
+ library_name: setfit
25
+ inference: false
26
+ base_model: sentence-transformers/all-MiniLM-L6-v2
27
+ model-index:
28
+ - name: SetFit with sentence-transformers/all-MiniLM-L6-v2
29
+ results:
30
+ - task:
31
+ type: text-classification
32
+ name: Text Classification
33
+ dataset:
34
+ name: Unknown
35
+ type: unknown
36
+ split: test
37
+ metrics:
38
+ - type: accuracy
39
+ value: 0.5268817204301075
40
+ name: Accuracy
41
+ ---
42
+
43
+ # SetFit with sentence-transformers/all-MiniLM-L6-v2
44
+
45
+ This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) as the Sentence Transformer embedding model. A ClassifierChain instance is used for classification.
46
+
47
+ The model has been trained using an efficient few-shot learning technique that involves:
48
+
49
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
50
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
51
+
52
+ ## Model Details
53
+
54
+ ### Model Description
55
+ - **Model Type:** SetFit
56
+ - **Sentence Transformer body:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)
57
+ - **Classification head:** a ClassifierChain instance
58
+ - **Maximum Sequence Length:** 256 tokens
59
+ <!-- - **Number of Classes:** Unknown -->
60
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
61
+ <!-- - **Language:** Unknown -->
62
+ <!-- - **License:** Unknown -->
63
+
64
+ ### Model Sources
65
+
66
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
67
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
68
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
69
+
70
+ ## Evaluation
71
+
72
+ ### Metrics
73
+ | Label | Accuracy |
74
+ |:--------|:---------|
75
+ | **all** | 0.5269 |
76
+
77
+ ## Uses
78
+
79
+ ### Direct Use for Inference
80
+
81
+ First install the SetFit library:
82
+
83
+ ```bash
84
+ pip install setfit
85
+ ```
86
+
87
+ Then you can load this model and run inference.
88
+
89
+ ```python
90
+ from setfit import SetFitModel
91
+
92
+ # Download from the 🤗 Hub
93
+ model = SetFitModel.from_pretrained("Hulyyy/req-quality-setfit-2")
94
+ # Run inference
95
+ preds = model("RAM scrub shall [SRS275] not scrub the area used for telemetry data.")
96
+ ```
97
+
98
+ <!--
99
+ ### Downstream Use
100
+
101
+ *List how someone could finetune this model on their own dataset.*
102
+ -->
103
+
104
+ <!--
105
+ ### Out-of-Scope Use
106
+
107
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
108
+ -->
109
+
110
+ <!--
111
+ ## Bias, Risks and Limitations
112
+
113
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
114
+ -->
115
+
116
+ <!--
117
+ ### Recommendations
118
+
119
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
120
+ -->
121
+
122
+ ## Training Details
123
+
124
+ ### Training Set Metrics
125
+ | Training set | Min | Median | Max |
126
+ |:-------------|:----|:--------|:-----|
127
+ | Word count | 4 | 42.6799 | 1156 |
128
+
129
+ ### Training Hyperparameters
130
+ - batch_size: (256, 256)
131
+ - num_epochs: (2, 2)
132
+ - max_steps: -1
133
+ - sampling_strategy: oversampling
134
+ - num_iterations: 1000
135
+ - body_learning_rate: (3e-05, 3e-05)
136
+ - head_learning_rate: 3e-05
137
+ - loss: CosineSimilarityLoss
138
+ - distance_metric: cosine_distance
139
+ - margin: 0.25
140
+ - end_to_end: False
141
+ - use_amp: True
142
+ - warmup_proportion: 0.1
143
+ - l2_weight: 0.01
144
+ - seed: 42
145
+ - eval_max_steps: -1
146
+ - load_best_model_at_end: False
147
+
148
+ ### Training Results
149
+ | Epoch | Step | Training Loss | Validation Loss |
150
+ |:------:|:-----:|:-------------:|:---------------:|
151
+ | 0.0001 | 1 | 0.3496 | - |
152
+ | 0.0043 | 50 | 0.3562 | - |
153
+ | 0.0086 | 100 | 0.3152 | - |
154
+ | 0.0129 | 150 | 0.2646 | - |
155
+ | 0.0173 | 200 | 0.2472 | - |
156
+ | 0.0216 | 250 | 0.2392 | - |
157
+ | 0.0259 | 300 | 0.2328 | - |
158
+ | 0.0302 | 350 | 0.2269 | - |
159
+ | 0.0345 | 400 | 0.2215 | - |
160
+ | 0.0388 | 450 | 0.2137 | - |
161
+ | 0.0431 | 500 | 0.2062 | - |
162
+ | 0.0474 | 550 | 0.1998 | - |
163
+ | 0.0518 | 600 | 0.1891 | - |
164
+ | 0.0561 | 650 | 0.1813 | - |
165
+ | 0.0604 | 700 | 0.1727 | - |
166
+ | 0.0647 | 750 | 0.1611 | - |
167
+ | 0.0690 | 800 | 0.152 | - |
168
+ | 0.0733 | 850 | 0.1407 | - |
169
+ | 0.0776 | 900 | 0.1339 | - |
170
+ | 0.0819 | 950 | 0.1247 | - |
171
+ | 0.0863 | 1000 | 0.1189 | - |
172
+ | 0.0906 | 1050 | 0.1108 | - |
173
+ | 0.0949 | 1100 | 0.1037 | - |
174
+ | 0.0992 | 1150 | 0.1005 | - |
175
+ | 0.1035 | 1200 | 0.0968 | - |
176
+ | 0.1078 | 1250 | 0.0918 | - |
177
+ | 0.1121 | 1300 | 0.0916 | - |
178
+ | 0.1164 | 1350 | 0.0878 | - |
179
+ | 0.1208 | 1400 | 0.0869 | - |
180
+ | 0.1251 | 1450 | 0.0829 | - |
181
+ | 0.1294 | 1500 | 0.0825 | - |
182
+ | 0.1337 | 1550 | 0.0818 | - |
183
+ | 0.1380 | 1600 | 0.0813 | - |
184
+ | 0.1423 | 1650 | 0.0793 | - |
185
+ | 0.1466 | 1700 | 0.079 | - |
186
+ | 0.1509 | 1750 | 0.0767 | - |
187
+ | 0.1553 | 1800 | 0.0725 | - |
188
+ | 0.1596 | 1850 | 0.0741 | - |
189
+ | 0.1639 | 1900 | 0.0705 | - |
190
+ | 0.1682 | 1950 | 0.0724 | - |
191
+ | 0.1725 | 2000 | 0.0692 | - |
192
+ | 0.1768 | 2050 | 0.0673 | - |
193
+ | 0.1811 | 2100 | 0.0665 | - |
194
+ | 0.1854 | 2150 | 0.0643 | - |
195
+ | 0.1898 | 2200 | 0.0625 | - |
196
+ | 0.1941 | 2250 | 0.0618 | - |
197
+ | 0.1984 | 2300 | 0.0602 | - |
198
+ | 0.2027 | 2350 | 0.0602 | - |
199
+ | 0.2070 | 2400 | 0.059 | - |
200
+ | 0.2113 | 2450 | 0.0593 | - |
201
+ | 0.2156 | 2500 | 0.0577 | - |
202
+ | 0.2199 | 2550 | 0.0566 | - |
203
+ | 0.2243 | 2600 | 0.0558 | - |
204
+ | 0.2286 | 2650 | 0.0578 | - |
205
+ | 0.2329 | 2700 | 0.0549 | - |
206
+ | 0.2372 | 2750 | 0.0581 | - |
207
+ | 0.2415 | 2800 | 0.0529 | - |
208
+ | 0.2458 | 2850 | 0.0533 | - |
209
+ | 0.2501 | 2900 | 0.0533 | - |
210
+ | 0.2544 | 2950 | 0.0535 | - |
211
+ | 0.2588 | 3000 | 0.0539 | - |
212
+ | 0.2631 | 3050 | 0.0526 | - |
213
+ | 0.2674 | 3100 | 0.0514 | - |
214
+ | 0.2717 | 3150 | 0.0535 | - |
215
+ | 0.2760 | 3200 | 0.0531 | - |
216
+ | 0.2803 | 3250 | 0.0518 | - |
217
+ | 0.2846 | 3300 | 0.0534 | - |
218
+ | 0.2889 | 3350 | 0.0519 | - |
219
+ | 0.2933 | 3400 | 0.0521 | - |
220
+ | 0.2976 | 3450 | 0.052 | - |
221
+ | 0.3019 | 3500 | 0.0504 | - |
222
+ | 0.3062 | 3550 | 0.0502 | - |
223
+ | 0.3105 | 3600 | 0.0518 | - |
224
+ | 0.3148 | 3650 | 0.0514 | - |
225
+ | 0.3191 | 3700 | 0.0493 | - |
226
+ | 0.3234 | 3750 | 0.0507 | - |
227
+ | 0.3278 | 3800 | 0.0532 | - |
228
+ | 0.3321 | 3850 | 0.053 | - |
229
+ | 0.3364 | 3900 | 0.0507 | - |
230
+ | 0.3407 | 3950 | 0.0508 | - |
231
+ | 0.3450 | 4000 | 0.051 | - |
232
+ | 0.3493 | 4050 | 0.0495 | - |
233
+ | 0.3536 | 4100 | 0.0505 | - |
234
+ | 0.3579 | 4150 | 0.0499 | - |
235
+ | 0.3623 | 4200 | 0.0508 | - |
236
+ | 0.3666 | 4250 | 0.0493 | - |
237
+ | 0.3709 | 4300 | 0.0503 | - |
238
+ | 0.3752 | 4350 | 0.0495 | - |
239
+ | 0.3795 | 4400 | 0.0493 | - |
240
+ | 0.3838 | 4450 | 0.0503 | - |
241
+ | 0.3881 | 4500 | 0.0486 | - |
242
+ | 0.3924 | 4550 | 0.0481 | - |
243
+ | 0.3968 | 4600 | 0.0507 | - |
244
+ | 0.4011 | 4650 | 0.0506 | - |
245
+ | 0.4054 | 4700 | 0.049 | - |
246
+ | 0.4097 | 4750 | 0.05 | - |
247
+ | 0.4140 | 4800 | 0.0502 | - |
248
+ | 0.4183 | 4850 | 0.0498 | - |
249
+ | 0.4226 | 4900 | 0.0487 | - |
250
+ | 0.4269 | 4950 | 0.0493 | - |
251
+ | 0.4313 | 5000 | 0.05 | - |
252
+ | 0.4356 | 5050 | 0.0508 | - |
253
+ | 0.4399 | 5100 | 0.0482 | - |
254
+ | 0.4442 | 5150 | 0.0502 | - |
255
+ | 0.4485 | 5200 | 0.0493 | - |
256
+ | 0.4528 | 5250 | 0.0492 | - |
257
+ | 0.4571 | 5300 | 0.0475 | - |
258
+ | 0.4614 | 5350 | 0.0487 | - |
259
+ | 0.4658 | 5400 | 0.0495 | - |
260
+ | 0.4701 | 5450 | 0.0487 | - |
261
+ | 0.4744 | 5500 | 0.0494 | - |
262
+ | 0.4787 | 5550 | 0.048 | - |
263
+ | 0.4830 | 5600 | 0.0472 | - |
264
+ | 0.4873 | 5650 | 0.0496 | - |
265
+ | 0.4916 | 5700 | 0.0484 | - |
266
+ | 0.4959 | 5750 | 0.0508 | - |
267
+ | 0.5003 | 5800 | 0.0486 | - |
268
+ | 0.5046 | 5850 | 0.0489 | - |
269
+ | 0.5089 | 5900 | 0.0479 | - |
270
+ | 0.5132 | 5950 | 0.048 | - |
271
+ | 0.5175 | 6000 | 0.0482 | - |
272
+ | 0.5218 | 6050 | 0.0484 | - |
273
+ | 0.5261 | 6100 | 0.0482 | - |
274
+ | 0.5304 | 6150 | 0.0478 | - |
275
+ | 0.5348 | 6200 | 0.0477 | - |
276
+ | 0.5391 | 6250 | 0.049 | - |
277
+ | 0.5434 | 6300 | 0.0475 | - |
278
+ | 0.5477 | 6350 | 0.0484 | - |
279
+ | 0.5520 | 6400 | 0.0483 | - |
280
+ | 0.5563 | 6450 | 0.048 | - |
281
+ | 0.5606 | 6500 | 0.0494 | - |
282
+ | 0.5649 | 6550 | 0.0479 | - |
283
+ | 0.5693 | 6600 | 0.0483 | - |
284
+ | 0.5736 | 6650 | 0.0472 | - |
285
+ | 0.5779 | 6700 | 0.0478 | - |
286
+ | 0.5822 | 6750 | 0.0471 | - |
287
+ | 0.5865 | 6800 | 0.0478 | - |
288
+ | 0.5908 | 6850 | 0.0479 | - |
289
+ | 0.5951 | 6900 | 0.0487 | - |
290
+ | 0.5994 | 6950 | 0.0463 | - |
291
+ | 0.6038 | 7000 | 0.0481 | - |
292
+ | 0.6081 | 7050 | 0.0471 | - |
293
+ | 0.6124 | 7100 | 0.0471 | - |
294
+ | 0.6167 | 7150 | 0.0477 | - |
295
+ | 0.6210 | 7200 | 0.0484 | - |
296
+ | 0.6253 | 7250 | 0.0486 | - |
297
+ | 0.6296 | 7300 | 0.0468 | - |
298
+ | 0.6339 | 7350 | 0.0476 | - |
299
+ | 0.6383 | 7400 | 0.0475 | - |
300
+ | 0.6426 | 7450 | 0.048 | - |
301
+ | 0.6469 | 7500 | 0.0477 | - |
302
+ | 0.6512 | 7550 | 0.0465 | - |
303
+ | 0.6555 | 7600 | 0.0476 | - |
304
+ | 0.6598 | 7650 | 0.049 | - |
305
+ | 0.6641 | 7700 | 0.0485 | - |
306
+ | 0.6684 | 7750 | 0.0488 | - |
307
+ | 0.6728 | 7800 | 0.0481 | - |
308
+ | 0.6771 | 7850 | 0.0477 | - |
309
+ | 0.6814 | 7900 | 0.0469 | - |
310
+ | 0.6857 | 7950 | 0.0471 | - |
311
+ | 0.6900 | 8000 | 0.0476 | - |
312
+ | 0.6943 | 8050 | 0.0487 | - |
313
+ | 0.6986 | 8100 | 0.0469 | - |
314
+ | 0.7029 | 8150 | 0.0474 | - |
315
+ | 0.7073 | 8200 | 0.0483 | - |
316
+ | 0.7116 | 8250 | 0.0486 | - |
317
+ | 0.7159 | 8300 | 0.0478 | - |
318
+ | 0.7202 | 8350 | 0.0493 | - |
319
+ | 0.7245 | 8400 | 0.0467 | - |
320
+ | 0.7288 | 8450 | 0.0476 | - |
321
+ | 0.7331 | 8500 | 0.0475 | - |
322
+ | 0.7375 | 8550 | 0.0461 | - |
323
+ | 0.7418 | 8600 | 0.0471 | - |
324
+ | 0.7461 | 8650 | 0.049 | - |
325
+ | 0.7504 | 8700 | 0.0476 | - |
326
+ | 0.7547 | 8750 | 0.0475 | - |
327
+ | 0.7590 | 8800 | 0.0482 | - |
328
+ | 0.7633 | 8850 | 0.0475 | - |
329
+ | 0.7676 | 8900 | 0.0459 | - |
330
+ | 0.7720 | 8950 | 0.0489 | - |
331
+ | 0.7763 | 9000 | 0.0472 | - |
332
+ | 0.7806 | 9050 | 0.0479 | - |
333
+ | 0.7849 | 9100 | 0.0477 | - |
334
+ | 0.7892 | 9150 | 0.048 | - |
335
+ | 0.7935 | 9200 | 0.0479 | - |
336
+ | 0.7978 | 9250 | 0.0472 | - |
337
+ | 0.8021 | 9300 | 0.0464 | - |
338
+ | 0.8065 | 9350 | 0.0467 | - |
339
+ | 0.8108 | 9400 | 0.0477 | - |
340
+ | 0.8151 | 9450 | 0.0481 | - |
341
+ | 0.8194 | 9500 | 0.0473 | - |
342
+ | 0.8237 | 9550 | 0.0489 | - |
343
+ | 0.8280 | 9600 | 0.0473 | - |
344
+ | 0.8323 | 9650 | 0.0465 | - |
345
+ | 0.8366 | 9700 | 0.0461 | - |
346
+ | 0.8410 | 9750 | 0.0462 | - |
347
+ | 0.8453 | 9800 | 0.0469 | - |
348
+ | 0.8496 | 9850 | 0.047 | - |
349
+ | 0.8539 | 9900 | 0.0459 | - |
350
+ | 0.8582 | 9950 | 0.0475 | - |
351
+ | 0.8625 | 10000 | 0.0473 | - |
352
+ | 0.8668 | 10050 | 0.0465 | - |
353
+ | 0.8711 | 10100 | 0.0464 | - |
354
+ | 0.8755 | 10150 | 0.0468 | - |
355
+ | 0.8798 | 10200 | 0.0471 | - |
356
+ | 0.8841 | 10250 | 0.0475 | - |
357
+ | 0.8884 | 10300 | 0.0468 | - |
358
+ | 0.8927 | 10350 | 0.0466 | - |
359
+ | 0.8970 | 10400 | 0.0479 | - |
360
+ | 0.9013 | 10450 | 0.0459 | - |
361
+ | 0.9056 | 10500 | 0.0474 | - |
362
+ | 0.9100 | 10550 | 0.047 | - |
363
+ | 0.9143 | 10600 | 0.0467 | - |
364
+ | 0.9186 | 10650 | 0.0468 | - |
365
+ | 0.9229 | 10700 | 0.0471 | - |
366
+ | 0.9272 | 10750 | 0.0459 | - |
367
+ | 0.9315 | 10800 | 0.0465 | - |
368
+ | 0.9358 | 10850 | 0.046 | - |
369
+ | 0.9401 | 10900 | 0.0471 | - |
370
+ | 0.9445 | 10950 | 0.0473 | - |
371
+ | 0.9488 | 11000 | 0.0458 | - |
372
+ | 0.9531 | 11050 | 0.0462 | - |
373
+ | 0.9574 | 11100 | 0.0471 | - |
374
+ | 0.9617 | 11150 | 0.0478 | - |
375
+ | 0.9660 | 11200 | 0.0449 | - |
376
+ | 0.9703 | 11250 | 0.0475 | - |
377
+ | 0.9746 | 11300 | 0.0475 | - |
378
+ | 0.9790 | 11350 | 0.0493 | - |
379
+ | 0.9833 | 11400 | 0.0472 | - |
380
+ | 0.9876 | 11450 | 0.0464 | - |
381
+ | 0.9919 | 11500 | 0.0451 | - |
382
+ | 0.9962 | 11550 | 0.0464 | - |
383
+ | 1.0005 | 11600 | 0.0478 | - |
384
+ | 1.0048 | 11650 | 0.0481 | - |
385
+ | 1.0091 | 11700 | 0.0483 | - |
386
+ | 1.0135 | 11750 | 0.0479 | - |
387
+ | 1.0178 | 11800 | 0.0454 | - |
388
+ | 1.0221 | 11850 | 0.0478 | - |
389
+ | 1.0264 | 11900 | 0.0466 | - |
390
+ | 1.0307 | 11950 | 0.0454 | - |
391
+ | 1.0350 | 12000 | 0.0474 | - |
392
+ | 1.0393 | 12050 | 0.0466 | - |
393
+ | 1.0436 | 12100 | 0.0458 | - |
394
+ | 1.0480 | 12150 | 0.0482 | - |
395
+ | 1.0523 | 12200 | 0.0475 | - |
396
+ | 1.0566 | 12250 | 0.0463 | - |
397
+ | 1.0609 | 12300 | 0.0465 | - |
398
+ | 1.0652 | 12350 | 0.0457 | - |
399
+ | 1.0695 | 12400 | 0.0478 | - |
400
+ | 1.0738 | 12450 | 0.046 | - |
401
+ | 1.0781 | 12500 | 0.0468 | - |
402
+ | 1.0825 | 12550 | 0.0482 | - |
403
+ | 1.0868 | 12600 | 0.0466 | - |
404
+ | 1.0911 | 12650 | 0.0469 | - |
405
+ | 1.0954 | 12700 | 0.0467 | - |
406
+ | 1.0997 | 12750 | 0.0474 | - |
407
+ | 1.1040 | 12800 | 0.0466 | - |
408
+ | 1.1083 | 12850 | 0.0473 | - |
409
+ | 1.1126 | 12900 | 0.0462 | - |
410
+ | 1.1170 | 12950 | 0.046 | - |
411
+ | 1.1213 | 13000 | 0.0452 | - |
412
+ | 1.1256 | 13050 | 0.0471 | - |
413
+ | 1.1299 | 13100 | 0.0463 | - |
414
+ | 1.1342 | 13150 | 0.0461 | - |
415
+ | 1.1385 | 13200 | 0.0475 | - |
416
+ | 1.1428 | 13250 | 0.0457 | - |
417
+ | 1.1471 | 13300 | 0.0464 | - |
418
+ | 1.1515 | 13350 | 0.0486 | - |
419
+ | 1.1558 | 13400 | 0.0465 | - |
420
+ | 1.1601 | 13450 | 0.0463 | - |
421
+ | 1.1644 | 13500 | 0.0456 | - |
422
+ | 1.1687 | 13550 | 0.0452 | - |
423
+ | 1.1730 | 13600 | 0.0459 | - |
424
+ | 1.1773 | 13650 | 0.0458 | - |
425
+ | 1.1816 | 13700 | 0.0463 | - |
426
+ | 1.1860 | 13750 | 0.0469 | - |
427
+ | 1.1903 | 13800 | 0.0459 | - |
428
+ | 1.1946 | 13850 | 0.0473 | - |
429
+ | 1.1989 | 13900 | 0.0473 | - |
430
+ | 1.2032 | 13950 | 0.0473 | - |
431
+ | 1.2075 | 14000 | 0.0469 | - |
432
+ | 1.2118 | 14050 | 0.047 | - |
433
+ | 1.2161 | 14100 | 0.0464 | - |
434
+ | 1.2205 | 14150 | 0.047 | - |
435
+ | 1.2248 | 14200 | 0.0466 | - |
436
+ | 1.2291 | 14250 | 0.0473 | - |
437
+ | 1.2334 | 14300 | 0.0468 | - |
438
+ | 1.2377 | 14350 | 0.0486 | - |
439
+ | 1.2420 | 14400 | 0.0463 | - |
440
+ | 1.2463 | 14450 | 0.0458 | - |
441
+ | 1.2506 | 14500 | 0.0476 | - |
442
+ | 1.2550 | 14550 | 0.046 | - |
443
+ | 1.2593 | 14600 | 0.0471 | - |
444
+ | 1.2636 | 14650 | 0.0478 | - |
445
+ | 1.2679 | 14700 | 0.047 | - |
446
+ | 1.2722 | 14750 | 0.0464 | - |
447
+ | 1.2765 | 14800 | 0.0471 | - |
448
+ | 1.2808 | 14850 | 0.0477 | - |
449
+ | 1.2851 | 14900 | 0.0459 | - |
450
+ | 1.2895 | 14950 | 0.0464 | - |
451
+ | 1.2938 | 15000 | 0.0474 | - |
452
+ | 1.2981 | 15050 | 0.0457 | - |
453
+ | 1.3024 | 15100 | 0.0468 | - |
454
+ | 1.3067 | 15150 | 0.0462 | - |
455
+ | 1.3110 | 15200 | 0.047 | - |
456
+ | 1.3153 | 15250 | 0.0472 | - |
457
+ | 1.3196 | 15300 | 0.0474 | - |
458
+ | 1.3240 | 15350 | 0.0468 | - |
459
+ | 1.3283 | 15400 | 0.0479 | - |
460
+ | 1.3326 | 15450 | 0.0457 | - |
461
+ | 1.3369 | 15500 | 0.0474 | - |
462
+ | 1.3412 | 15550 | 0.0471 | - |
463
+ | 1.3455 | 15600 | 0.047 | - |
464
+ | 1.3498 | 15650 | 0.0469 | - |
465
+ | 1.3541 | 15700 | 0.0468 | - |
466
+ | 1.3585 | 15750 | 0.0457 | - |
467
+ | 1.3628 | 15800 | 0.0489 | - |
468
+ | 1.3671 | 15850 | 0.0468 | - |
469
+ | 1.3714 | 15900 | 0.0451 | - |
470
+ | 1.3757 | 15950 | 0.0483 | - |
471
+ | 1.3800 | 16000 | 0.0454 | - |
472
+ | 1.3843 | 16050 | 0.0468 | - |
473
+ | 1.3886 | 16100 | 0.046 | - |
474
+ | 1.3930 | 16150 | 0.0465 | - |
475
+ | 1.3973 | 16200 | 0.047 | - |
476
+ | 1.4016 | 16250 | 0.0471 | - |
477
+ | 1.4059 | 16300 | 0.0464 | - |
478
+ | 1.4102 | 16350 | 0.0448 | - |
479
+ | 1.4145 | 16400 | 0.0468 | - |
480
+ | 1.4188 | 16450 | 0.0455 | - |
481
+ | 1.4231 | 16500 | 0.0476 | - |
482
+ | 1.4275 | 16550 | 0.0458 | - |
483
+ | 1.4318 | 16600 | 0.0464 | - |
484
+ | 1.4361 | 16650 | 0.0466 | - |
485
+ | 1.4404 | 16700 | 0.0451 | - |
486
+ | 1.4447 | 16750 | 0.0459 | - |
487
+ | 1.4490 | 16800 | 0.0465 | - |
488
+ | 1.4533 | 16850 | 0.0462 | - |
489
+ | 1.4577 | 16900 | 0.0468 | - |
490
+ | 1.4620 | 16950 | 0.0478 | - |
491
+ | 1.4663 | 17000 | 0.0449 | - |
492
+ | 1.4706 | 17050 | 0.0458 | - |
493
+ | 1.4749 | 17100 | 0.0448 | - |
494
+ | 1.4792 | 17150 | 0.0458 | - |
495
+ | 1.4835 | 17200 | 0.0457 | - |
496
+ | 1.4878 | 17250 | 0.0462 | - |
497
+ | 1.4922 | 17300 | 0.0449 | - |
498
+ | 1.4965 | 17350 | 0.047 | - |
499
+ | 1.5008 | 17400 | 0.0467 | - |
500
+ | 1.5051 | 17450 | 0.0476 | - |
501
+ | 1.5094 | 17500 | 0.0466 | - |
502
+ | 1.5137 | 17550 | 0.0462 | - |
503
+ | 1.5180 | 17600 | 0.0472 | - |
504
+ | 1.5223 | 17650 | 0.0475 | - |
505
+ | 1.5267 | 17700 | 0.0468 | - |
506
+ | 1.5310 | 17750 | 0.0465 | - |
507
+ | 1.5353 | 17800 | 0.0466 | - |
508
+ | 1.5396 | 17850 | 0.0451 | - |
509
+ | 1.5439 | 17900 | 0.0454 | - |
510
+ | 1.5482 | 17950 | 0.0456 | - |
511
+ | 1.5525 | 18000 | 0.0451 | - |
512
+ | 1.5568 | 18050 | 0.0452 | - |
513
+ | 1.5612 | 18100 | 0.0456 | - |
514
+ | 1.5655 | 18150 | 0.0459 | - |
515
+ | 1.5698 | 18200 | 0.0462 | - |
516
+ | 1.5741 | 18250 | 0.0468 | - |
517
+ | 1.5784 | 18300 | 0.045 | - |
518
+ | 1.5827 | 18350 | 0.0467 | - |
519
+ | 1.5870 | 18400 | 0.0463 | - |
520
+ | 1.5913 | 18450 | 0.0476 | - |
521
+ | 1.5957 | 18500 | 0.0456 | - |
522
+ | 1.6000 | 18550 | 0.046 | - |
523
+ | 1.6043 | 18600 | 0.0473 | - |
524
+ | 1.6086 | 18650 | 0.0453 | - |
525
+ | 1.6129 | 18700 | 0.0461 | - |
526
+ | 1.6172 | 18750 | 0.0458 | - |
527
+ | 1.6215 | 18800 | 0.0458 | - |
528
+ | 1.6258 | 18850 | 0.0462 | - |
529
+ | 1.6302 | 18900 | 0.0471 | - |
530
+ | 1.6345 | 18950 | 0.0453 | - |
531
+ | 1.6388 | 19000 | 0.0465 | - |
532
+ | 1.6431 | 19050 | 0.0456 | - |
533
+ | 1.6474 | 19100 | 0.0469 | - |
534
+ | 1.6517 | 19150 | 0.0462 | - |
535
+ | 1.6560 | 19200 | 0.0459 | - |
536
+ | 1.6603 | 19250 | 0.0462 | - |
537
+ | 1.6647 | 19300 | 0.0461 | - |
538
+ | 1.6690 | 19350 | 0.0475 | - |
539
+ | 1.6733 | 19400 | 0.0471 | - |
540
+ | 1.6776 | 19450 | 0.0457 | - |
541
+ | 1.6819 | 19500 | 0.0461 | - |
542
+ | 1.6862 | 19550 | 0.0471 | - |
543
+ | 1.6905 | 19600 | 0.046 | - |
544
+ | 1.6948 | 19650 | 0.0456 | - |
545
+ | 1.6992 | 19700 | 0.046 | - |
546
+ | 1.7035 | 19750 | 0.0466 | - |
547
+ | 1.7078 | 19800 | 0.0478 | - |
548
+ | 1.7121 | 19850 | 0.0467 | - |
549
+ | 1.7164 | 19900 | 0.0462 | - |
550
+ | 1.7207 | 19950 | 0.0474 | - |
551
+ | 1.7250 | 20000 | 0.047 | - |
552
+ | 1.7293 | 20050 | 0.0464 | - |
553
+ | 1.7337 | 20100 | 0.0464 | - |
554
+ | 1.7380 | 20150 | 0.0466 | - |
555
+ | 1.7423 | 20200 | 0.0468 | - |
556
+ | 1.7466 | 20250 | 0.0449 | - |
557
+ | 1.7509 | 20300 | 0.0467 | - |
558
+ | 1.7552 | 20350 | 0.0459 | - |
559
+ | 1.7595 | 20400 | 0.0461 | - |
560
+ | 1.7638 | 20450 | 0.0463 | - |
561
+ | 1.7682 | 20500 | 0.0458 | - |
562
+ | 1.7725 | 20550 | 0.0464 | - |
563
+ | 1.7768 | 20600 | 0.0478 | - |
564
+ | 1.7811 | 20650 | 0.0485 | - |
565
+ | 1.7854 | 20700 | 0.0458 | - |
566
+ | 1.7897 | 20750 | 0.0472 | - |
567
+ | 1.7940 | 20800 | 0.0444 | - |
568
+ | 1.7983 | 20850 | 0.0467 | - |
569
+ | 1.8027 | 20900 | 0.0467 | - |
570
+ | 1.8070 | 20950 | 0.0458 | - |
571
+ | 1.8113 | 21000 | 0.0467 | - |
572
+ | 1.8156 | 21050 | 0.0464 | - |
573
+ | 1.8199 | 21100 | 0.0463 | - |
574
+ | 1.8242 | 21150 | 0.0467 | - |
575
+ | 1.8285 | 21200 | 0.0465 | - |
576
+ | 1.8328 | 21250 | 0.0455 | - |
577
+ | 1.8372 | 21300 | 0.0462 | - |
578
+ | 1.8415 | 21350 | 0.0471 | - |
579
+ | 1.8458 | 21400 | 0.0452 | - |
580
+ | 1.8501 | 21450 | 0.0464 | - |
581
+ | 1.8544 | 21500 | 0.0464 | - |
582
+ | 1.8587 | 21550 | 0.0464 | - |
583
+ | 1.8630 | 21600 | 0.046 | - |
584
+ | 1.8673 | 21650 | 0.0454 | - |
585
+ | 1.8717 | 21700 | 0.0464 | - |
586
+ | 1.8760 | 21750 | 0.0458 | - |
587
+ | 1.8803 | 21800 | 0.0448 | - |
588
+ | 1.8846 | 21850 | 0.0462 | - |
589
+ | 1.8889 | 21900 | 0.0465 | - |
590
+ | 1.8932 | 21950 | 0.0461 | - |
591
+ | 1.8975 | 22000 | 0.0456 | - |
592
+ | 1.9018 | 22050 | 0.0466 | - |
593
+ | 1.9062 | 22100 | 0.0462 | - |
594
+ | 1.9105 | 22150 | 0.0462 | - |
595
+ | 1.9148 | 22200 | 0.0469 | - |
596
+ | 1.9191 | 22250 | 0.0465 | - |
597
+ | 1.9234 | 22300 | 0.0457 | - |
598
+ | 1.9277 | 22350 | 0.0464 | - |
599
+ | 1.9320 | 22400 | 0.0472 | - |
600
+ | 1.9363 | 22450 | 0.0472 | - |
601
+ | 1.9407 | 22500 | 0.0461 | - |
602
+ | 1.9450 | 22550 | 0.0454 | - |
603
+ | 1.9493 | 22600 | 0.0465 | - |
604
+ | 1.9536 | 22650 | 0.0461 | - |
605
+ | 1.9579 | 22700 | 0.0467 | - |
606
+ | 1.9622 | 22750 | 0.0467 | - |
607
+ | 1.9665 | 22800 | 0.0459 | - |
608
+ | 1.9708 | 22850 | 0.0465 | - |
609
+ | 1.9752 | 22900 | 0.0458 | - |
610
+ | 1.9795 | 22950 | 0.046 | - |
611
+ | 1.9838 | 23000 | 0.0468 | - |
612
+ | 1.9881 | 23050 | 0.0455 | - |
613
+ | 1.9924 | 23100 | 0.0458 | - |
614
+ | 1.9967 | 23150 | 0.0477 | - |
615
+
616
+ ### Framework Versions
617
+ - Python: 3.13.7
618
+ - SetFit: 1.1.3
619
+ - Sentence Transformers: 5.1.1
620
+ - Transformers: 4.57.0
621
+ - PyTorch: 2.8.0+cu129
622
+ - Datasets: 4.2.0
623
+ - Tokenizers: 0.22.1
624
+
625
+ ## Citation
626
+
627
+ ### BibTeX
628
+ ```bibtex
629
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
630
+ doi = {10.48550/ARXIV.2209.11055},
631
+ url = {https://arxiv.org/abs/2209.11055},
632
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
633
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
634
+ title = {Efficient Few-Shot Learning Without Prompts},
635
+ publisher = {arXiv},
636
+ year = {2022},
637
+ copyright = {Creative Commons Attribution 4.0 International}
638
+ }
639
+ ```
640
+
641
+ <!--
642
+ ## Glossary
643
+
644
+ *Clearly define terms in order to be accessible across audiences.*
645
+ -->
646
+
647
+ <!--
648
+ ## Model Card Authors
649
+
650
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
651
+ -->
652
+
653
+ <!--
654
+ ## Model Card Contact
655
+
656
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
657
+ -->
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": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "transformers_version": "4.57.0",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.1",
4
+ "transformers": "4.57.0",
5
+ "pytorch": "2.8.0+cu129"
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
+ "labels": null,
3
+ "normalize_embeddings": false
4
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5945448f3ea44e16e8979aeb58a1f20a1fb82189e7075d37e2a3e54bbce5c0ba
3
+ size 90864192
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b254381fb2518598729d08a83ed3ce8fec0510125e2bad70ba71fd7ef69c2260
3
+ size 28833
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "mask_token": {
10
+ "content": "[MASK]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "sep_token": {
24
+ "content": "[SEP]",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "unk_token": {
31
+ "content": "[UNK]",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ }
37
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
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
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff