fadyabdo commited on
Commit
4f859a1
1 Parent(s): 922ff98

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,539 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
3
+ library_name: setfit
4
+ metrics:
5
+ - accuracy
6
+ pipeline_tag: text-classification
7
+ tags:
8
+ - setfit
9
+ - sentence-transformers
10
+ - text-classification
11
+ - generated_from_setfit_trainer
12
+ widget:
13
+ - text: au revoir
14
+ - text: quand auront lieu les matchs de Aston Villa
15
+ - text: any upcoming fixtures for Juventus
16
+ - text: qui êtes-vous
17
+ - text: what is the score of Brentford match
18
+ inference: true
19
+ model-index:
20
+ - name: SetFit with sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
21
+ results:
22
+ - task:
23
+ type: text-classification
24
+ name: Text Classification
25
+ dataset:
26
+ name: Unknown
27
+ type: unknown
28
+ split: test
29
+ metrics:
30
+ - type: accuracy
31
+ value: 1.0
32
+ name: Accuracy
33
+ ---
34
+
35
+ # SetFit with sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
36
+
37
+ 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 [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance is used for classification.
38
+
39
+ The model has been trained using an efficient few-shot learning technique that involves:
40
+
41
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
42
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
43
+
44
+ ## Model Details
45
+
46
+ ### Model Description
47
+ - **Model Type:** SetFit
48
+ - **Sentence Transformer body:** [sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2](https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2)
49
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
50
+ - **Maximum Sequence Length:** 128 tokens
51
+ - **Number of Classes:** 6 classes
52
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
53
+ <!-- - **Language:** Unknown -->
54
+ <!-- - **License:** Unknown -->
55
+
56
+ ### Model Sources
57
+
58
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
59
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
60
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
61
+
62
+ ### Model Labels
63
+ | Label | Examples |
64
+ |:------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------|
65
+ | matches-match_time | <ul><li>'Norwich City vs Newcastle United'</li><li>'will Manchester United play with chelsea'</li><li>'est-ce que Manchester United jouera avec chelsea'</li></ul> |
66
+ | matches-match_result | <ul><li>'Liverpool and West Ham result'</li><li>'what is the score of Wolverhampton match'</li><li>'who won in Liverpool vs Newcastle United match'</li></ul> |
67
+ | greet-who_are_you | <ul><li>'how can you help me'</li><li>"pourquoi j'ai besoin de toi"</li><li>'je ne te comprends pas'</li></ul> |
68
+ | matches-team_next_match | <ul><li>'Real Madrid fixtures'</li><li>'quels sont les prochains matchs de Borussia Dortmund'</li><li>'próximos partidos de Atletico Madrid'</li></ul> |
69
+ | greet-good_bye | <ul><li>'See you later'</li><li>'A plus tard'</li><li>'stop'</li></ul> |
70
+ | greet-hi | <ul><li>'Hello buddy'</li><li>'Salut'</li><li>'Hey'</li></ul> |
71
+
72
+ ## Evaluation
73
+
74
+ ### Metrics
75
+ | Label | Accuracy |
76
+ |:--------|:---------|
77
+ | **all** | 1.0 |
78
+
79
+ ## Uses
80
+
81
+ ### Direct Use for Inference
82
+
83
+ First install the SetFit library:
84
+
85
+ ```bash
86
+ pip install setfit
87
+ ```
88
+
89
+ Then you can load this model and run inference.
90
+
91
+ ```python
92
+ from setfit import SetFitModel
93
+
94
+ # Download from the 🤗 Hub
95
+ model = SetFitModel.from_pretrained("fadyabdo/botpress_football_sft_model")
96
+ # Run inference
97
+ preds = model("au revoir")
98
+ ```
99
+
100
+ <!--
101
+ ### Downstream Use
102
+
103
+ *List how someone could finetune this model on their own dataset.*
104
+ -->
105
+
106
+ <!--
107
+ ### Out-of-Scope Use
108
+
109
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
110
+ -->
111
+
112
+ <!--
113
+ ## Bias, Risks and Limitations
114
+
115
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
116
+ -->
117
+
118
+ <!--
119
+ ### Recommendations
120
+
121
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
122
+ -->
123
+
124
+ ## Training Details
125
+
126
+ ### Training Set Metrics
127
+ | Training set | Min | Median | Max |
128
+ |:-------------|:----|:-------|:----|
129
+ | Word count | 1 | 5.2 | 10 |
130
+
131
+ | Label | Training Sample Count |
132
+ |:------------------------|:----------------------|
133
+ | greet-hi | 5 |
134
+ | greet-who_are_you | 7 |
135
+ | greet-good_bye | 5 |
136
+ | matches-team_next_match | 21 |
137
+ | matches-match_time | 12 |
138
+ | matches-match_result | 15 |
139
+
140
+ ### Training Hyperparameters
141
+ - batch_size: (4, 4)
142
+ - num_epochs: (4, 4)
143
+ - max_steps: -1
144
+ - sampling_strategy: oversampling
145
+ - body_learning_rate: (2e-05, 1e-05)
146
+ - head_learning_rate: 0.01
147
+ - loss: CosineSimilarityLoss
148
+ - distance_metric: cosine_distance
149
+ - margin: 0.25
150
+ - end_to_end: False
151
+ - use_amp: False
152
+ - warmup_proportion: 0.1
153
+ - seed: 42
154
+ - eval_max_steps: -1
155
+ - load_best_model_at_end: True
156
+
157
+ ### Training Results
158
+ | Epoch | Step | Training Loss | Validation Loss |
159
+ |:-------:|:--------:|:-------------:|:---------------:|
160
+ | 0.0012 | 1 | 0.1544 | - |
161
+ | 0.0121 | 10 | 0.0658 | - |
162
+ | 0.0241 | 20 | 0.1235 | - |
163
+ | 0.0362 | 30 | 0.2422 | - |
164
+ | 0.0483 | 40 | 0.2876 | - |
165
+ | 0.0603 | 50 | 0.1208 | - |
166
+ | 0.0724 | 60 | 0.1358 | - |
167
+ | 0.0844 | 70 | 0.1494 | - |
168
+ | 0.0965 | 80 | 0.1284 | - |
169
+ | 0.1086 | 90 | 0.1107 | - |
170
+ | 0.1206 | 100 | 0.2395 | - |
171
+ | 0.1327 | 110 | 0.0661 | - |
172
+ | 0.1448 | 120 | 0.1554 | - |
173
+ | 0.1568 | 130 | 0.0258 | - |
174
+ | 0.1689 | 140 | 0.0279 | - |
175
+ | 0.1809 | 150 | 0.1162 | - |
176
+ | 0.1930 | 160 | 0.0244 | - |
177
+ | 0.2051 | 170 | 0.0221 | - |
178
+ | 0.2171 | 180 | 0.0813 | - |
179
+ | 0.2292 | 190 | 0.0188 | - |
180
+ | 0.2413 | 200 | 0.03 | - |
181
+ | 0.2533 | 210 | 0.0019 | - |
182
+ | 0.2654 | 220 | 0.0076 | - |
183
+ | 0.2774 | 230 | 0.01 | - |
184
+ | 0.2895 | 240 | 0.0025 | - |
185
+ | 0.3016 | 250 | 0.0705 | - |
186
+ | 0.3136 | 260 | 0.0044 | - |
187
+ | 0.3257 | 270 | 0.0038 | - |
188
+ | 0.3378 | 280 | 0.006 | - |
189
+ | 0.3498 | 290 | 0.0018 | - |
190
+ | 0.3619 | 300 | 0.0003 | - |
191
+ | 0.3739 | 310 | 0.0007 | - |
192
+ | 0.3860 | 320 | 0.0128 | - |
193
+ | 0.3981 | 330 | 0.0022 | - |
194
+ | 0.4101 | 340 | 0.0008 | - |
195
+ | 0.4222 | 350 | 0.004 | - |
196
+ | 0.4343 | 360 | 0.0006 | - |
197
+ | 0.4463 | 370 | 0.0007 | - |
198
+ | 0.4584 | 380 | 0.0005 | - |
199
+ | 0.4704 | 390 | 0.0057 | - |
200
+ | 0.4825 | 400 | 0.0007 | - |
201
+ | 0.4946 | 410 | 0.0022 | - |
202
+ | 0.5066 | 420 | 0.0012 | - |
203
+ | 0.5187 | 430 | 0.0009 | - |
204
+ | 0.5308 | 440 | 0.0004 | - |
205
+ | 0.5428 | 450 | 0.0032 | - |
206
+ | 0.5549 | 460 | 0.0007 | - |
207
+ | 0.5669 | 470 | 0.0008 | - |
208
+ | 0.5790 | 480 | 0.0005 | - |
209
+ | 0.5911 | 490 | 0.0005 | - |
210
+ | 0.6031 | 500 | 0.0008 | - |
211
+ | 0.6152 | 510 | 0.0008 | - |
212
+ | 0.6273 | 520 | 0.0004 | - |
213
+ | 0.6393 | 530 | 0.0015 | - |
214
+ | 0.6514 | 540 | 0.0002 | - |
215
+ | 0.6634 | 550 | 0.0006 | - |
216
+ | 0.6755 | 560 | 0.0015 | - |
217
+ | 0.6876 | 570 | 0.0024 | - |
218
+ | 0.6996 | 580 | 0.0004 | - |
219
+ | 0.7117 | 590 | 0.0005 | - |
220
+ | 0.7238 | 600 | 0.0011 | - |
221
+ | 0.7358 | 610 | 0.0008 | - |
222
+ | 0.7479 | 620 | 0.0002 | - |
223
+ | 0.7600 | 630 | 0.0006 | - |
224
+ | 0.7720 | 640 | 0.0003 | - |
225
+ | 0.7841 | 650 | 0.0002 | - |
226
+ | 0.7961 | 660 | 0.0007 | - |
227
+ | 0.8082 | 670 | 0.0009 | - |
228
+ | 0.8203 | 680 | 0.0002 | - |
229
+ | 0.8323 | 690 | 0.0006 | - |
230
+ | 0.8444 | 700 | 0.0015 | - |
231
+ | 0.8565 | 710 | 0.0003 | - |
232
+ | 0.8685 | 720 | 0.0003 | - |
233
+ | 0.8806 | 730 | 0.0003 | - |
234
+ | 0.8926 | 740 | 0.0015 | - |
235
+ | 0.9047 | 750 | 0.0003 | - |
236
+ | 0.9168 | 760 | 0.0005 | - |
237
+ | 0.9288 | 770 | 0.0002 | - |
238
+ | 0.9409 | 780 | 0.0003 | - |
239
+ | 0.9530 | 790 | 0.0002 | - |
240
+ | 0.9650 | 800 | 0.0004 | - |
241
+ | 0.9771 | 810 | 0.0003 | - |
242
+ | 0.9891 | 820 | 0.001 | - |
243
+ | 1.0 | 829 | - | 0.0216 |
244
+ | 1.0012 | 830 | 0.0003 | - |
245
+ | 1.0133 | 840 | 0.0007 | - |
246
+ | 1.0253 | 850 | 0.0004 | - |
247
+ | 1.0374 | 860 | 0.0001 | - |
248
+ | 1.0495 | 870 | 0.0008 | - |
249
+ | 1.0615 | 880 | 0.0003 | - |
250
+ | 1.0736 | 890 | 0.0006 | - |
251
+ | 1.0856 | 900 | 0.0001 | - |
252
+ | 1.0977 | 910 | 0.0018 | - |
253
+ | 1.1098 | 920 | 0.0 | - |
254
+ | 1.1218 | 930 | 0.0001 | - |
255
+ | 1.1339 | 940 | 0.0007 | - |
256
+ | 1.1460 | 950 | 0.0009 | - |
257
+ | 1.1580 | 960 | 0.0004 | - |
258
+ | 1.1701 | 970 | 0.0003 | - |
259
+ | 1.1821 | 980 | 0.0015 | - |
260
+ | 1.1942 | 990 | 0.0002 | - |
261
+ | 1.2063 | 1000 | 0.0005 | - |
262
+ | 1.2183 | 1010 | 0.0002 | - |
263
+ | 1.2304 | 1020 | 0.0003 | - |
264
+ | 1.2425 | 1030 | 0.0001 | - |
265
+ | 1.2545 | 1040 | 0.0002 | - |
266
+ | 1.2666 | 1050 | 0.0004 | - |
267
+ | 1.2786 | 1060 | 0.0001 | - |
268
+ | 1.2907 | 1070 | 0.0002 | - |
269
+ | 1.3028 | 1080 | 0.0001 | - |
270
+ | 1.3148 | 1090 | 0.0002 | - |
271
+ | 1.3269 | 1100 | 0.0001 | - |
272
+ | 1.3390 | 1110 | 0.0002 | - |
273
+ | 1.3510 | 1120 | 0.0003 | - |
274
+ | 1.3631 | 1130 | 0.0001 | - |
275
+ | 1.3752 | 1140 | 0.0001 | - |
276
+ | 1.3872 | 1150 | 0.0001 | - |
277
+ | 1.3993 | 1160 | 0.0002 | - |
278
+ | 1.4113 | 1170 | 0.0001 | - |
279
+ | 1.4234 | 1180 | 0.0005 | - |
280
+ | 1.4355 | 1190 | 0.0002 | - |
281
+ | 1.4475 | 1200 | 0.0002 | - |
282
+ | 1.4596 | 1210 | 0.0002 | - |
283
+ | 1.4717 | 1220 | 0.0001 | - |
284
+ | 1.4837 | 1230 | 0.0001 | - |
285
+ | 1.4958 | 1240 | 0.0001 | - |
286
+ | 1.5078 | 1250 | 0.0001 | - |
287
+ | 1.5199 | 1260 | 0.001 | - |
288
+ | 1.5320 | 1270 | 0.0001 | - |
289
+ | 1.5440 | 1280 | 0.0003 | - |
290
+ | 1.5561 | 1290 | 0.0001 | - |
291
+ | 1.5682 | 1300 | 0.0002 | - |
292
+ | 1.5802 | 1310 | 0.0005 | - |
293
+ | 1.5923 | 1320 | 0.0002 | - |
294
+ | 1.6043 | 1330 | 0.0001 | - |
295
+ | 1.6164 | 1340 | 0.0004 | - |
296
+ | 1.6285 | 1350 | 0.0002 | - |
297
+ | 1.6405 | 1360 | 0.0001 | - |
298
+ | 1.6526 | 1370 | 0.0004 | - |
299
+ | 1.6647 | 1380 | 0.0003 | - |
300
+ | 1.6767 | 1390 | 0.0002 | - |
301
+ | 1.6888 | 1400 | 0.0001 | - |
302
+ | 1.7008 | 1410 | 0.0008 | - |
303
+ | 1.7129 | 1420 | 0.0003 | - |
304
+ | 1.7250 | 1430 | 0.0005 | - |
305
+ | 1.7370 | 1440 | 0.0001 | - |
306
+ | 1.7491 | 1450 | 0.0001 | - |
307
+ | 1.7612 | 1460 | 0.0001 | - |
308
+ | 1.7732 | 1470 | 0.0007 | - |
309
+ | 1.7853 | 1480 | 0.0001 | - |
310
+ | 1.7973 | 1490 | 0.0002 | - |
311
+ | 1.8094 | 1500 | 0.0001 | - |
312
+ | 1.8215 | 1510 | 0.001 | - |
313
+ | 1.8335 | 1520 | 0.0002 | - |
314
+ | 1.8456 | 1530 | 0.0003 | - |
315
+ | 1.8577 | 1540 | 0.0004 | - |
316
+ | 1.8697 | 1550 | 0.0005 | - |
317
+ | 1.8818 | 1560 | 0.0001 | - |
318
+ | 1.8938 | 1570 | 0.0006 | - |
319
+ | 1.9059 | 1580 | 0.0005 | - |
320
+ | 1.9180 | 1590 | 0.0002 | - |
321
+ | 1.9300 | 1600 | 0.0002 | - |
322
+ | 1.9421 | 1610 | 0.0001 | - |
323
+ | 1.9542 | 1620 | 0.0003 | - |
324
+ | 1.9662 | 1630 | 0.0005 | - |
325
+ | 1.9783 | 1640 | 0.0007 | - |
326
+ | 1.9903 | 1650 | 0.0001 | - |
327
+ | 2.0 | 1658 | - | 0.0186 |
328
+ | 2.0024 | 1660 | 0.0 | - |
329
+ | 2.0145 | 1670 | 0.0001 | - |
330
+ | 2.0265 | 1680 | 0.0002 | - |
331
+ | 2.0386 | 1690 | 0.0001 | - |
332
+ | 2.0507 | 1700 | 0.0002 | - |
333
+ | 2.0627 | 1710 | 0.0001 | - |
334
+ | 2.0748 | 1720 | 0.0001 | - |
335
+ | 2.0869 | 1730 | 0.0002 | - |
336
+ | 2.0989 | 1740 | 0.0001 | - |
337
+ | 2.1110 | 1750 | 0.0002 | - |
338
+ | 2.1230 | 1760 | 0.0001 | - |
339
+ | 2.1351 | 1770 | 0.0003 | - |
340
+ | 2.1472 | 1780 | 0.0006 | - |
341
+ | 2.1592 | 1790 | 0.0001 | - |
342
+ | 2.1713 | 1800 | 0.0002 | - |
343
+ | 2.1834 | 1810 | 0.0002 | - |
344
+ | 2.1954 | 1820 | 0.0001 | - |
345
+ | 2.2075 | 1830 | 0.0 | - |
346
+ | 2.2195 | 1840 | 0.0001 | - |
347
+ | 2.2316 | 1850 | 0.0002 | - |
348
+ | 2.2437 | 1860 | 0.0004 | - |
349
+ | 2.2557 | 1870 | 0.0003 | - |
350
+ | 2.2678 | 1880 | 0.0002 | - |
351
+ | 2.2799 | 1890 | 0.0002 | - |
352
+ | 2.2919 | 1900 | 0.0004 | - |
353
+ | 2.3040 | 1910 | 0.0002 | - |
354
+ | 2.3160 | 1920 | 0.0001 | - |
355
+ | 2.3281 | 1930 | 0.0 | - |
356
+ | 2.3402 | 1940 | 0.0002 | - |
357
+ | 2.3522 | 1950 | 0.0001 | - |
358
+ | 2.3643 | 1960 | 0.0 | - |
359
+ | 2.3764 | 1970 | 0.0003 | - |
360
+ | 2.3884 | 1980 | 0.0002 | - |
361
+ | 2.4005 | 1990 | 0.0001 | - |
362
+ | 2.4125 | 2000 | 0.0003 | - |
363
+ | 2.4246 | 2010 | 0.0003 | - |
364
+ | 2.4367 | 2020 | 0.0002 | - |
365
+ | 2.4487 | 2030 | 0.0002 | - |
366
+ | 2.4608 | 2040 | 0.0002 | - |
367
+ | 2.4729 | 2050 | 0.0001 | - |
368
+ | 2.4849 | 2060 | 0.0001 | - |
369
+ | 2.4970 | 2070 | 0.0002 | - |
370
+ | 2.5090 | 2080 | 0.0 | - |
371
+ | 2.5211 | 2090 | 0.0002 | - |
372
+ | 2.5332 | 2100 | 0.0004 | - |
373
+ | 2.5452 | 2110 | 0.0005 | - |
374
+ | 2.5573 | 2120 | 0.0003 | - |
375
+ | 2.5694 | 2130 | 0.0001 | - |
376
+ | 2.5814 | 2140 | 0.0002 | - |
377
+ | 2.5935 | 2150 | 0.0008 | - |
378
+ | 2.6055 | 2160 | 0.0002 | - |
379
+ | 2.6176 | 2170 | 0.0003 | - |
380
+ | 2.6297 | 2180 | 0.0001 | - |
381
+ | 2.6417 | 2190 | 0.0002 | - |
382
+ | 2.6538 | 2200 | 0.0001 | - |
383
+ | 2.6659 | 2210 | 0.0001 | - |
384
+ | 2.6779 | 2220 | 0.0 | - |
385
+ | 2.6900 | 2230 | 0.0002 | - |
386
+ | 2.7021 | 2240 | 0.0 | - |
387
+ | 2.7141 | 2250 | 0.0001 | - |
388
+ | 2.7262 | 2260 | 0.0001 | - |
389
+ | 2.7382 | 2270 | 0.0003 | - |
390
+ | 2.7503 | 2280 | 0.0001 | - |
391
+ | 2.7624 | 2290 | 0.0003 | - |
392
+ | 2.7744 | 2300 | 0.0001 | - |
393
+ | 2.7865 | 2310 | 0.0002 | - |
394
+ | 2.7986 | 2320 | 0.0001 | - |
395
+ | 2.8106 | 2330 | 0.0001 | - |
396
+ | 2.8227 | 2340 | 0.0001 | - |
397
+ | 2.8347 | 2350 | 0.0001 | - |
398
+ | 2.8468 | 2360 | 0.0002 | - |
399
+ | 2.8589 | 2370 | 0.0001 | - |
400
+ | 2.8709 | 2380 | 0.0001 | - |
401
+ | 2.8830 | 2390 | 0.0 | - |
402
+ | 2.8951 | 2400 | 0.0 | - |
403
+ | 2.9071 | 2410 | 0.0 | - |
404
+ | 2.9192 | 2420 | 0.0001 | - |
405
+ | 2.9312 | 2430 | 0.0002 | - |
406
+ | 2.9433 | 2440 | 0.0001 | - |
407
+ | 2.9554 | 2450 | 0.0001 | - |
408
+ | 2.9674 | 2460 | 0.0001 | - |
409
+ | 2.9795 | 2470 | 0.0003 | - |
410
+ | 2.9916 | 2480 | 0.0001 | - |
411
+ | **3.0** | **2487** | **-** | **0.0176** |
412
+ | 3.0036 | 2490 | 0.0001 | - |
413
+ | 3.0157 | 2500 | 0.0 | - |
414
+ | 3.0277 | 2510 | 0.0002 | - |
415
+ | 3.0398 | 2520 | 0.0 | - |
416
+ | 3.0519 | 2530 | 0.0002 | - |
417
+ | 3.0639 | 2540 | 0.0002 | - |
418
+ | 3.0760 | 2550 | 0.0 | - |
419
+ | 3.0881 | 2560 | 0.0001 | - |
420
+ | 3.1001 | 2570 | 0.0001 | - |
421
+ | 3.1122 | 2580 | 0.0003 | - |
422
+ | 3.1242 | 2590 | 0.0003 | - |
423
+ | 3.1363 | 2600 | 0.0001 | - |
424
+ | 3.1484 | 2610 | 0.0 | - |
425
+ | 3.1604 | 2620 | 0.0002 | - |
426
+ | 3.1725 | 2630 | 0.0001 | - |
427
+ | 3.1846 | 2640 | 0.0001 | - |
428
+ | 3.1966 | 2650 | 0.0001 | - |
429
+ | 3.2087 | 2660 | 0.0003 | - |
430
+ | 3.2207 | 2670 | 0.0001 | - |
431
+ | 3.2328 | 2680 | 0.0001 | - |
432
+ | 3.2449 | 2690 | 0.0001 | - |
433
+ | 3.2569 | 2700 | 0.0001 | - |
434
+ | 3.2690 | 2710 | 0.0002 | - |
435
+ | 3.2811 | 2720 | 0.0001 | - |
436
+ | 3.2931 | 2730 | 0.0005 | - |
437
+ | 3.3052 | 2740 | 0.0 | - |
438
+ | 3.3172 | 2750 | 0.0001 | - |
439
+ | 3.3293 | 2760 | 0.0002 | - |
440
+ | 3.3414 | 2770 | 0.0003 | - |
441
+ | 3.3534 | 2780 | 0.0001 | - |
442
+ | 3.3655 | 2790 | 0.0001 | - |
443
+ | 3.3776 | 2800 | 0.0001 | - |
444
+ | 3.3896 | 2810 | 0.0004 | - |
445
+ | 3.4017 | 2820 | 0.0001 | - |
446
+ | 3.4138 | 2830 | 0.0002 | - |
447
+ | 3.4258 | 2840 | 0.0001 | - |
448
+ | 3.4379 | 2850 | 0.0003 | - |
449
+ | 3.4499 | 2860 | 0.0001 | - |
450
+ | 3.4620 | 2870 | 0.0002 | - |
451
+ | 3.4741 | 2880 | 0.0001 | - |
452
+ | 3.4861 | 2890 | 0.0003 | - |
453
+ | 3.4982 | 2900 | 0.0003 | - |
454
+ | 3.5103 | 2910 | 0.0001 | - |
455
+ | 3.5223 | 2920 | 0.0 | - |
456
+ | 3.5344 | 2930 | 0.0 | - |
457
+ | 3.5464 | 2940 | 0.0001 | - |
458
+ | 3.5585 | 2950 | 0.0002 | - |
459
+ | 3.5706 | 2960 | 0.0002 | - |
460
+ | 3.5826 | 2970 | 0.0001 | - |
461
+ | 3.5947 | 2980 | 0.0 | - |
462
+ | 3.6068 | 2990 | 0.0001 | - |
463
+ | 3.6188 | 3000 | 0.0003 | - |
464
+ | 3.6309 | 3010 | 0.0001 | - |
465
+ | 3.6429 | 3020 | 0.0 | - |
466
+ | 3.6550 | 3030 | 0.0002 | - |
467
+ | 3.6671 | 3040 | 0.0003 | - |
468
+ | 3.6791 | 3050 | 0.0005 | - |
469
+ | 3.6912 | 3060 | 0.0001 | - |
470
+ | 3.7033 | 3070 | 0.0 | - |
471
+ | 3.7153 | 3080 | 0.0001 | - |
472
+ | 3.7274 | 3090 | 0.0002 | - |
473
+ | 3.7394 | 3100 | 0.0001 | - |
474
+ | 3.7515 | 3110 | 0.0001 | - |
475
+ | 3.7636 | 3120 | 0.0002 | - |
476
+ | 3.7756 | 3130 | 0.0001 | - |
477
+ | 3.7877 | 3140 | 0.0 | - |
478
+ | 3.7998 | 3150 | 0.0001 | - |
479
+ | 3.8118 | 3160 | 0.0001 | - |
480
+ | 3.8239 | 3170 | 0.0001 | - |
481
+ | 3.8359 | 3180 | 0.0001 | - |
482
+ | 3.8480 | 3190 | 0.0005 | - |
483
+ | 3.8601 | 3200 | 0.0 | - |
484
+ | 3.8721 | 3210 | 0.0001 | - |
485
+ | 3.8842 | 3220 | 0.0001 | - |
486
+ | 3.8963 | 3230 | 0.0001 | - |
487
+ | 3.9083 | 3240 | 0.0001 | - |
488
+ | 3.9204 | 3250 | 0.0001 | - |
489
+ | 3.9324 | 3260 | 0.0 | - |
490
+ | 3.9445 | 3270 | 0.0001 | - |
491
+ | 3.9566 | 3280 | 0.0001 | - |
492
+ | 3.9686 | 3290 | 0.0002 | - |
493
+ | 3.9807 | 3300 | 0.0002 | - |
494
+ | 3.9928 | 3310 | 0.0001 | - |
495
+ | 4.0 | 3316 | - | 0.0187 |
496
+
497
+ * The bold row denotes the saved checkpoint.
498
+ ### Framework Versions
499
+ - Python: 3.10.12
500
+ - SetFit: 1.0.3
501
+ - Sentence Transformers: 3.0.1
502
+ - Transformers: 4.37.0
503
+ - PyTorch: 2.3.0+cu121
504
+ - Datasets: 2.20.0
505
+ - Tokenizers: 0.15.2
506
+
507
+ ## Citation
508
+
509
+ ### BibTeX
510
+ ```bibtex
511
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
512
+ doi = {10.48550/ARXIV.2209.11055},
513
+ url = {https://arxiv.org/abs/2209.11055},
514
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
515
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
516
+ title = {Efficient Few-Shot Learning Without Prompts},
517
+ publisher = {arXiv},
518
+ year = {2022},
519
+ copyright = {Creative Commons Attribution 4.0 International}
520
+ }
521
+ ```
522
+
523
+ <!--
524
+ ## Glossary
525
+
526
+ *Clearly define terms in order to be accessible across audiences.*
527
+ -->
528
+
529
+ <!--
530
+ ## Model Card Authors
531
+
532
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
533
+ -->
534
+
535
+ <!--
536
+ ## Model Card Contact
537
+
538
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
539
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "checkpoints/step_2487",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
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
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.37.0",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 250037
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.0.1",
4
+ "transformers": "4.37.0",
5
+ "pytorch": "2.3.0+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
config_setfit.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "normalize_embeddings": false,
3
+ "labels": [
4
+ "greet-hi",
5
+ "greet-who_are_you",
6
+ "greet-good_bye",
7
+ "matches-team_next_match",
8
+ "matches-match_time",
9
+ "matches-match_result"
10
+ ]
11
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9085385caebdadfbd4dffa7f53b818117561cf419abb7764591af524ed4b3fb1
3
+ size 470637416
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9b16d27ca082f4d5c532d0e5616b118546b9c8c60518dde2957c72e55934ec11
3
+ size 19367
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:fa685fc160bbdbab64058d4fc91b60e62d207e8dc60b9af5c002c5ab946ded00
3
+ size 17083009
tokenizer_config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
46
+ "cls_token": "<s>",
47
+ "do_lower_case": true,
48
+ "eos_token": "</s>",
49
+ "mask_token": "<mask>",
50
+ "max_length": 128,
51
+ "model_max_length": 128,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "<pad>",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "</s>",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "<unk>"
64
+ }
unigram.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da145b5e7700ae40f16691ec32a0b1fdc1ee3298db22a31ea55f57a966c4a65d
3
+ size 14763260