Decius commited on
Commit
b91e4fb
·
verified ·
1 Parent(s): 97b939b

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 CHANGED
@@ -1,3 +1,583 @@
1
- ---
2
- license: unknown
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: Modifier l’adresse du magasin
9
+ - text: أحذف المنتج من المخزن
10
+ - text: I want to change the store address
11
+ - text: I want to create a website that sells books
12
+ - text: What stores do we have?
13
+ metrics:
14
+ - accuracy
15
+ pipeline_tag: text-classification
16
+ library_name: setfit
17
+ inference: true
18
+ base_model: sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
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: 0.9743589743589743
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:** 13 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
+ | delete_category | <ul><li>'Supprimer une catégorie'</li><li>'I want to delete a product category'</li><li>'Remove a category from the list'</li></ul> |
66
+ | delete_product | <ul><li>'I want to delete the red t-shirt'</li><li>'Remove this item from inventory'</li><li>'Supprimer un produit'</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
+ | create_website | <ul><li>'أريد إنشاء موقع إلكتروني لمتجر الملابس الخاص بي'</li><li>'ساعدني في تصميم موقع أعمالي الخاصة بالتدريب الرياضي'</li><li>'ساعدني في إنشاء موقع لمطعمي'</li></ul> |
69
+ | read_category | <ul><li>'Can I see all the categories?'</li><li>'What categories are available?'</li><li>'Affiche-moi les catégories'</li></ul> |
70
+ | update_store | <ul><li>'Update store information'</li><li>'Modify the store contact details'</li><li>'Je veux changer les coordonnées du magasin'</li></ul> |
71
+ | update_category | <ul><li>'Je veux changer le nom d’une catégorie'</li><li>'Can I rename a category?'</li><li>'Update the category name to something else'</li></ul> |
72
+ | greet-good_bye | <ul><li>'See you later'</li><li>'A plus tard'</li><li>'stop'</li></ul> |
73
+ | update_product | <ul><li>'I want to change product details'</li><li>'Je veux modifier un produit'</li><li>'Edit the product information'</li></ul> |
74
+ | read_product | <ul><li>'Can I see the available items?'</li><li>'List the products'</li><li>'Affiche tous les produits'</li></ul> |
75
+ | delete_store | <ul><li>'Remove store number 3'</li><li>'Supprimer un magasin'</li><li>'Can I delete an existing store?'</li></ul> |
76
+ | read_store | <ul><li>'Quels sont les magasins disponibles ?'</li><li>'List all registered stores'</li><li>'Show me the list of stores'</li></ul> |
77
+ | greet-hi | <ul><li>'Hello buddy'</li><li>'Salut'</li><li>'Hey'</li></ul> |
78
+
79
+ ## Evaluation
80
+
81
+ ### Metrics
82
+ | Label | Accuracy |
83
+ |:--------|:---------|
84
+ | **all** | 0.9744 |
85
+
86
+ ## Uses
87
+
88
+ ### Direct Use for Inference
89
+
90
+ First install the SetFit library:
91
+
92
+ ```bash
93
+ pip install setfit
94
+ ```
95
+
96
+ Then you can load this model and run inference.
97
+
98
+ ```python
99
+ from setfit import SetFitModel
100
+
101
+ # Download from the 🤗 Hub
102
+ model = SetFitModel.from_pretrained("Decius/sft_model_project")
103
+ # Run inference
104
+ preds = model("أحذف المنتج من المخزن")
105
+ ```
106
+
107
+ <!--
108
+ ### Downstream Use
109
+
110
+ *List how someone could finetune this model on their own dataset.*
111
+ -->
112
+
113
+ <!--
114
+ ### Out-of-Scope Use
115
+
116
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
117
+ -->
118
+
119
+ <!--
120
+ ## Bias, Risks and Limitations
121
+
122
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
123
+ -->
124
+
125
+ <!--
126
+ ### Recommendations
127
+
128
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
129
+ -->
130
+
131
+ ## Training Details
132
+
133
+ ### Training Set Metrics
134
+ | Training set | Min | Median | Max |
135
+ |:-------------|:----|:-------|:----|
136
+ | Word count | 1 | 5.7846 | 13 |
137
+
138
+ | Label | Training Sample Count |
139
+ |:------------------|:----------------------|
140
+ | greet-hi | 5 |
141
+ | greet-who_are_you | 7 |
142
+ | greet-good_bye | 5 |
143
+ | create_website | 21 |
144
+ | read_category | 3 |
145
+ | update_category | 3 |
146
+ | delete_category | 3 |
147
+ | read_product | 3 |
148
+ | update_product | 3 |
149
+ | delete_product | 3 |
150
+ | read_store | 3 |
151
+ | update_store | 3 |
152
+ | delete_store | 3 |
153
+
154
+ ### Training Hyperparameters
155
+ - batch_size: (4, 4)
156
+ - num_epochs: (4, 4)
157
+ - max_steps: -1
158
+ - sampling_strategy: oversampling
159
+ - body_learning_rate: (2e-05, 1e-05)
160
+ - head_learning_rate: 0.01
161
+ - loss: CosineSimilarityLoss
162
+ - distance_metric: cosine_distance
163
+ - margin: 0.25
164
+ - end_to_end: False
165
+ - use_amp: False
166
+ - warmup_proportion: 0.1
167
+ - l2_weight: 0.01
168
+ - seed: 42
169
+ - evaluation_strategy: epoch
170
+ - eval_max_steps: -1
171
+ - load_best_model_at_end: True
172
+
173
+ ### Training Results
174
+ | Epoch | Step | Training Loss | Validation Loss |
175
+ |:------:|:----:|:-------------:|:---------------:|
176
+ | 0.0011 | 1 | 0.1475 | - |
177
+ | 0.0111 | 10 | 0.1345 | - |
178
+ | 0.0222 | 20 | 0.0807 | - |
179
+ | 0.0333 | 30 | 0.0943 | - |
180
+ | 0.0444 | 40 | 0.0785 | - |
181
+ | 0.0555 | 50 | 0.1016 | - |
182
+ | 0.0666 | 60 | 0.0756 | - |
183
+ | 0.0777 | 70 | 0.0775 | - |
184
+ | 0.0888 | 80 | 0.0368 | - |
185
+ | 0.0999 | 90 | 0.0635 | - |
186
+ | 0.1110 | 100 | 0.0395 | - |
187
+ | 0.1221 | 110 | 0.0279 | - |
188
+ | 0.1332 | 120 | 0.0217 | - |
189
+ | 0.1443 | 130 | 0.0254 | - |
190
+ | 0.1554 | 140 | 0.0406 | - |
191
+ | 0.1665 | 150 | 0.0143 | - |
192
+ | 0.1776 | 160 | 0.0482 | - |
193
+ | 0.1887 | 170 | 0.042 | - |
194
+ | 0.1998 | 180 | 0.0286 | - |
195
+ | 0.2109 | 190 | 0.012 | - |
196
+ | 0.2220 | 200 | 0.0258 | - |
197
+ | 0.2331 | 210 | 0.0193 | - |
198
+ | 0.2442 | 220 | 0.0126 | - |
199
+ | 0.2553 | 230 | 0.0342 | - |
200
+ | 0.2664 | 240 | 0.0238 | - |
201
+ | 0.2775 | 250 | 0.0111 | - |
202
+ | 0.2886 | 260 | 0.0101 | - |
203
+ | 0.2997 | 270 | 0.0099 | - |
204
+ | 0.3108 | 280 | 0.0208 | - |
205
+ | 0.3219 | 290 | 0.0089 | - |
206
+ | 0.3330 | 300 | 0.0276 | - |
207
+ | 0.3441 | 310 | 0.0099 | - |
208
+ | 0.3552 | 320 | 0.0191 | - |
209
+ | 0.3663 | 330 | 0.0199 | - |
210
+ | 0.3774 | 340 | 0.0095 | - |
211
+ | 0.3885 | 350 | 0.0142 | - |
212
+ | 0.3996 | 360 | 0.0083 | - |
213
+ | 0.4107 | 370 | 0.0079 | - |
214
+ | 0.4218 | 380 | 0.0072 | - |
215
+ | 0.4329 | 390 | 0.0098 | - |
216
+ | 0.4440 | 400 | 0.01 | - |
217
+ | 0.4550 | 410 | 0.0084 | - |
218
+ | 0.4661 | 420 | 0.0024 | - |
219
+ | 0.4772 | 430 | 0.0176 | - |
220
+ | 0.4883 | 440 | 0.0068 | - |
221
+ | 0.4994 | 450 | 0.0209 | - |
222
+ | 0.5105 | 460 | 0.0038 | - |
223
+ | 0.5216 | 470 | 0.0063 | - |
224
+ | 0.5327 | 480 | 0.034 | - |
225
+ | 0.5438 | 490 | 0.0191 | - |
226
+ | 0.5549 | 500 | 0.0159 | - |
227
+ | 0.5660 | 510 | 0.0088 | - |
228
+ | 0.5771 | 520 | 0.0032 | - |
229
+ | 0.5882 | 530 | 0.0045 | - |
230
+ | 0.5993 | 540 | 0.0192 | - |
231
+ | 0.6104 | 550 | 0.0123 | - |
232
+ | 0.6215 | 560 | 0.0048 | - |
233
+ | 0.6326 | 570 | 0.0068 | - |
234
+ | 0.6437 | 580 | 0.0036 | - |
235
+ | 0.6548 | 590 | 0.0123 | - |
236
+ | 0.6659 | 600 | 0.0104 | - |
237
+ | 0.6770 | 610 | 0.0023 | - |
238
+ | 0.6881 | 620 | 0.0062 | - |
239
+ | 0.6992 | 630 | 0.0048 | - |
240
+ | 0.7103 | 640 | 0.0063 | - |
241
+ | 0.7214 | 650 | 0.0012 | - |
242
+ | 0.7325 | 660 | 0.0026 | - |
243
+ | 0.7436 | 670 | 0.0136 | - |
244
+ | 0.7547 | 680 | 0.0144 | - |
245
+ | 0.7658 | 690 | 0.0045 | - |
246
+ | 0.7769 | 700 | 0.0013 | - |
247
+ | 0.7880 | 710 | 0.0058 | - |
248
+ | 0.7991 | 720 | 0.0056 | - |
249
+ | 0.8102 | 730 | 0.004 | - |
250
+ | 0.8213 | 740 | 0.0023 | - |
251
+ | 0.8324 | 750 | 0.0047 | - |
252
+ | 0.8435 | 760 | 0.001 | - |
253
+ | 0.8546 | 770 | 0.0028 | - |
254
+ | 0.8657 | 780 | 0.0042 | - |
255
+ | 0.8768 | 790 | 0.0016 | - |
256
+ | 0.8879 | 800 | 0.002 | - |
257
+ | 0.8990 | 810 | 0.0004 | - |
258
+ | 0.9101 | 820 | 0.0034 | - |
259
+ | 0.9212 | 830 | 0.0016 | - |
260
+ | 0.9323 | 840 | 0.0076 | - |
261
+ | 0.9434 | 850 | 0.0021 | - |
262
+ | 0.9545 | 860 | 0.0027 | - |
263
+ | 0.9656 | 870 | 0.0017 | - |
264
+ | 0.9767 | 880 | 0.0024 | - |
265
+ | 0.9878 | 890 | 0.0014 | - |
266
+ | 0.9989 | 900 | 0.0015 | - |
267
+ | 1.0 | 901 | - | 0.0316 |
268
+ | 1.0100 | 910 | 0.0014 | - |
269
+ | 1.0211 | 920 | 0.0009 | - |
270
+ | 1.0322 | 930 | 0.0015 | - |
271
+ | 1.0433 | 940 | 0.0023 | - |
272
+ | 1.0544 | 950 | 0.0004 | - |
273
+ | 1.0655 | 960 | 0.0006 | - |
274
+ | 1.0766 | 970 | 0.001 | - |
275
+ | 1.0877 | 980 | 0.0005 | - |
276
+ | 1.0988 | 990 | 0.0044 | - |
277
+ | 1.1099 | 1000 | 0.0011 | - |
278
+ | 1.1210 | 1010 | 0.0008 | - |
279
+ | 1.1321 | 1020 | 0.0008 | - |
280
+ | 1.1432 | 1030 | 0.0007 | - |
281
+ | 1.1543 | 1040 | 0.0004 | - |
282
+ | 1.1654 | 1050 | 0.0009 | - |
283
+ | 1.1765 | 1060 | 0.0017 | - |
284
+ | 1.1876 | 1070 | 0.002 | - |
285
+ | 1.1987 | 1080 | 0.0008 | - |
286
+ | 1.2098 | 1090 | 0.002 | - |
287
+ | 1.2209 | 1100 | 0.0005 | - |
288
+ | 1.2320 | 1110 | 0.0012 | - |
289
+ | 1.2431 | 1120 | 0.002 | - |
290
+ | 1.2542 | 1130 | 0.0012 | - |
291
+ | 1.2653 | 1140 | 0.0025 | - |
292
+ | 1.2764 | 1150 | 0.0008 | - |
293
+ | 1.2875 | 1160 | 0.0009 | - |
294
+ | 1.2986 | 1170 | 0.0011 | - |
295
+ | 1.3097 | 1180 | 0.0004 | - |
296
+ | 1.3208 | 1190 | 0.001 | - |
297
+ | 1.3319 | 1200 | 0.0008 | - |
298
+ | 1.3430 | 1210 | 0.0005 | - |
299
+ | 1.3541 | 1220 | 0.0006 | - |
300
+ | 1.3651 | 1230 | 0.0007 | - |
301
+ | 1.3762 | 1240 | 0.0009 | - |
302
+ | 1.3873 | 1250 | 0.0008 | - |
303
+ | 1.3984 | 1260 | 0.0009 | - |
304
+ | 1.4095 | 1270 | 0.0009 | - |
305
+ | 1.4206 | 1280 | 0.0008 | - |
306
+ | 1.4317 | 1290 | 0.0007 | - |
307
+ | 1.4428 | 1300 | 0.001 | - |
308
+ | 1.4539 | 1310 | 0.0004 | - |
309
+ | 1.4650 | 1320 | 0.0004 | - |
310
+ | 1.4761 | 1330 | 0.0008 | - |
311
+ | 1.4872 | 1340 | 0.0003 | - |
312
+ | 1.4983 | 1350 | 0.0004 | - |
313
+ | 1.5094 | 1360 | 0.0096 | - |
314
+ | 1.5205 | 1370 | 0.001 | - |
315
+ | 1.5316 | 1380 | 0.0006 | - |
316
+ | 1.5427 | 1390 | 0.0015 | - |
317
+ | 1.5538 | 1400 | 0.0008 | - |
318
+ | 1.5649 | 1410 | 0.0006 | - |
319
+ | 1.5760 | 1420 | 0.0007 | - |
320
+ | 1.5871 | 1430 | 0.0009 | - |
321
+ | 1.5982 | 1440 | 0.0004 | - |
322
+ | 1.6093 | 1450 | 0.0013 | - |
323
+ | 1.6204 | 1460 | 0.0007 | - |
324
+ | 1.6315 | 1470 | 0.0004 | - |
325
+ | 1.6426 | 1480 | 0.0005 | - |
326
+ | 1.6537 | 1490 | 0.0006 | - |
327
+ | 1.6648 | 1500 | 0.0008 | - |
328
+ | 1.6759 | 1510 | 0.0007 | - |
329
+ | 1.6870 | 1520 | 0.0005 | - |
330
+ | 1.6981 | 1530 | 0.0004 | - |
331
+ | 1.7092 | 1540 | 0.0005 | - |
332
+ | 1.7203 | 1550 | 0.0007 | - |
333
+ | 1.7314 | 1560 | 0.0006 | - |
334
+ | 1.7425 | 1570 | 0.0004 | - |
335
+ | 1.7536 | 1580 | 0.0006 | - |
336
+ | 1.7647 | 1590 | 0.0005 | - |
337
+ | 1.7758 | 1600 | 0.0006 | - |
338
+ | 1.7869 | 1610 | 0.0011 | - |
339
+ | 1.7980 | 1620 | 0.0007 | - |
340
+ | 1.8091 | 1630 | 0.0005 | - |
341
+ | 1.8202 | 1640 | 0.0005 | - |
342
+ | 1.8313 | 1650 | 0.0003 | - |
343
+ | 1.8424 | 1660 | 0.0004 | - |
344
+ | 1.8535 | 1670 | 0.0006 | - |
345
+ | 1.8646 | 1680 | 0.0005 | - |
346
+ | 1.8757 | 1690 | 0.0006 | - |
347
+ | 1.8868 | 1700 | 0.0004 | - |
348
+ | 1.8979 | 1710 | 0.0004 | - |
349
+ | 1.9090 | 1720 | 0.0002 | - |
350
+ | 1.9201 | 1730 | 0.0005 | - |
351
+ | 1.9312 | 1740 | 0.0005 | - |
352
+ | 1.9423 | 1750 | 0.001 | - |
353
+ | 1.9534 | 1760 | 0.0006 | - |
354
+ | 1.9645 | 1770 | 0.001 | - |
355
+ | 1.9756 | 1780 | 0.0004 | - |
356
+ | 1.9867 | 1790 | 0.0005 | - |
357
+ | 1.9978 | 1800 | 0.0002 | - |
358
+ | 2.0 | 1802 | - | 0.0260 |
359
+ | 2.0089 | 1810 | 0.0005 | - |
360
+ | 2.0200 | 1820 | 0.0005 | - |
361
+ | 2.0311 | 1830 | 0.0004 | - |
362
+ | 2.0422 | 1840 | 0.0005 | - |
363
+ | 2.0533 | 1850 | 0.0002 | - |
364
+ | 2.0644 | 1860 | 0.0005 | - |
365
+ | 2.0755 | 1870 | 0.0007 | - |
366
+ | 2.0866 | 1880 | 0.0005 | - |
367
+ | 2.0977 | 1890 | 0.0003 | - |
368
+ | 2.1088 | 1900 | 0.0004 | - |
369
+ | 2.1199 | 1910 | 0.0003 | - |
370
+ | 2.1310 | 1920 | 0.0014 | - |
371
+ | 2.1421 | 1930 | 0.0005 | - |
372
+ | 2.1532 | 1940 | 0.0002 | - |
373
+ | 2.1643 | 1950 | 0.0003 | - |
374
+ | 2.1754 | 1960 | 0.0007 | - |
375
+ | 2.1865 | 1970 | 0.0005 | - |
376
+ | 2.1976 | 1980 | 0.0004 | - |
377
+ | 2.2087 | 1990 | 0.0006 | - |
378
+ | 2.2198 | 2000 | 0.0005 | - |
379
+ | 2.2309 | 2010 | 0.0003 | - |
380
+ | 2.2420 | 2020 | 0.0006 | - |
381
+ | 2.2531 | 2030 | 0.0006 | - |
382
+ | 2.2642 | 2040 | 0.0006 | - |
383
+ | 2.2752 | 2050 | 0.0003 | - |
384
+ | 2.2863 | 2060 | 0.0014 | - |
385
+ | 2.2974 | 2070 | 0.0004 | - |
386
+ | 2.3085 | 2080 | 0.0005 | - |
387
+ | 2.3196 | 2090 | 0.0004 | - |
388
+ | 2.3307 | 2100 | 0.0004 | - |
389
+ | 2.3418 | 2110 | 0.0004 | - |
390
+ | 2.3529 | 2120 | 0.0004 | - |
391
+ | 2.3640 | 2130 | 0.0011 | - |
392
+ | 2.3751 | 2140 | 0.0003 | - |
393
+ | 2.3862 | 2150 | 0.0003 | - |
394
+ | 2.3973 | 2160 | 0.0005 | - |
395
+ | 2.4084 | 2170 | 0.0006 | - |
396
+ | 2.4195 | 2180 | 0.0004 | - |
397
+ | 2.4306 | 2190 | 0.0002 | - |
398
+ | 2.4417 | 2200 | 0.0002 | - |
399
+ | 2.4528 | 2210 | 0.0006 | - |
400
+ | 2.4639 | 2220 | 0.0003 | - |
401
+ | 2.4750 | 2230 | 0.0002 | - |
402
+ | 2.4861 | 2240 | 0.0006 | - |
403
+ | 2.4972 | 2250 | 0.0006 | - |
404
+ | 2.5083 | 2260 | 0.0004 | - |
405
+ | 2.5194 | 2270 | 0.0005 | - |
406
+ | 2.5305 | 2280 | 0.0004 | - |
407
+ | 2.5416 | 2290 | 0.0005 | - |
408
+ | 2.5527 | 2300 | 0.0005 | - |
409
+ | 2.5638 | 2310 | 0.0006 | - |
410
+ | 2.5749 | 2320 | 0.0005 | - |
411
+ | 2.5860 | 2330 | 0.0003 | - |
412
+ | 2.5971 | 2340 | 0.0007 | - |
413
+ | 2.6082 | 2350 | 0.0002 | - |
414
+ | 2.6193 | 2360 | 0.0003 | - |
415
+ | 2.6304 | 2370 | 0.0003 | - |
416
+ | 2.6415 | 2380 | 0.0004 | - |
417
+ | 2.6526 | 2390 | 0.0004 | - |
418
+ | 2.6637 | 2400 | 0.0005 | - |
419
+ | 2.6748 | 2410 | 0.0003 | - |
420
+ | 2.6859 | 2420 | 0.0003 | - |
421
+ | 2.6970 | 2430 | 0.0003 | - |
422
+ | 2.7081 | 2440 | 0.0005 | - |
423
+ | 2.7192 | 2450 | 0.0006 | - |
424
+ | 2.7303 | 2460 | 0.0005 | - |
425
+ | 2.7414 | 2470 | 0.0005 | - |
426
+ | 2.7525 | 2480 | 0.0006 | - |
427
+ | 2.7636 | 2490 | 0.0002 | - |
428
+ | 2.7747 | 2500 | 0.0002 | - |
429
+ | 2.7858 | 2510 | 0.0002 | - |
430
+ | 2.7969 | 2520 | 0.0007 | - |
431
+ | 2.8080 | 2530 | 0.0003 | - |
432
+ | 2.8191 | 2540 | 0.0004 | - |
433
+ | 2.8302 | 2550 | 0.0003 | - |
434
+ | 2.8413 | 2560 | 0.0002 | - |
435
+ | 2.8524 | 2570 | 0.0006 | - |
436
+ | 2.8635 | 2580 | 0.0003 | - |
437
+ | 2.8746 | 2590 | 0.0002 | - |
438
+ | 2.8857 | 2600 | 0.0002 | - |
439
+ | 2.8968 | 2610 | 0.0002 | - |
440
+ | 2.9079 | 2620 | 0.0003 | - |
441
+ | 2.9190 | 2630 | 0.0003 | - |
442
+ | 2.9301 | 2640 | 0.0002 | - |
443
+ | 2.9412 | 2650 | 0.0002 | - |
444
+ | 2.9523 | 2660 | 0.0002 | - |
445
+ | 2.9634 | 2670 | 0.0003 | - |
446
+ | 2.9745 | 2680 | 0.0003 | - |
447
+ | 2.9856 | 2690 | 0.0003 | - |
448
+ | 2.9967 | 2700 | 0.0003 | - |
449
+ | 3.0 | 2703 | - | 0.0244 |
450
+ | 3.0078 | 2710 | 0.0002 | - |
451
+ | 3.0189 | 2720 | 0.0004 | - |
452
+ | 3.0300 | 2730 | 0.0002 | - |
453
+ | 3.0411 | 2740 | 0.0003 | - |
454
+ | 3.0522 | 2750 | 0.0003 | - |
455
+ | 3.0633 | 2760 | 0.0002 | - |
456
+ | 3.0744 | 2770 | 0.0001 | - |
457
+ | 3.0855 | 2780 | 0.0002 | - |
458
+ | 3.0966 | 2790 | 0.0003 | - |
459
+ | 3.1077 | 2800 | 0.0003 | - |
460
+ | 3.1188 | 2810 | 0.0004 | - |
461
+ | 3.1299 | 2820 | 0.0005 | - |
462
+ | 3.1410 | 2830 | 0.0002 | - |
463
+ | 3.1521 | 2840 | 0.0003 | - |
464
+ | 3.1632 | 2850 | 0.0002 | - |
465
+ | 3.1743 | 2860 | 0.0003 | - |
466
+ | 3.1853 | 2870 | 0.0002 | - |
467
+ | 3.1964 | 2880 | 0.0007 | - |
468
+ | 3.2075 | 2890 | 0.0002 | - |
469
+ | 3.2186 | 2900 | 0.0002 | - |
470
+ | 3.2297 | 2910 | 0.0002 | - |
471
+ | 3.2408 | 2920 | 0.0003 | - |
472
+ | 3.2519 | 2930 | 0.0002 | - |
473
+ | 3.2630 | 2940 | 0.0002 | - |
474
+ | 3.2741 | 2950 | 0.0003 | - |
475
+ | 3.2852 | 2960 | 0.0005 | - |
476
+ | 3.2963 | 2970 | 0.0003 | - |
477
+ | 3.3074 | 2980 | 0.0002 | - |
478
+ | 3.3185 | 2990 | 0.0003 | - |
479
+ | 3.3296 | 3000 | 0.0003 | - |
480
+ | 3.3407 | 3010 | 0.0002 | - |
481
+ | 3.3518 | 3020 | 0.0002 | - |
482
+ | 3.3629 | 3030 | 0.0003 | - |
483
+ | 3.3740 | 3040 | 0.0001 | - |
484
+ | 3.3851 | 3050 | 0.0003 | - |
485
+ | 3.3962 | 3060 | 0.0003 | - |
486
+ | 3.4073 | 3070 | 0.0004 | - |
487
+ | 3.4184 | 3080 | 0.0002 | - |
488
+ | 3.4295 | 3090 | 0.0003 | - |
489
+ | 3.4406 | 3100 | 0.0003 | - |
490
+ | 3.4517 | 3110 | 0.0002 | - |
491
+ | 3.4628 | 3120 | 0.0002 | - |
492
+ | 3.4739 | 3130 | 0.0002 | - |
493
+ | 3.4850 | 3140 | 0.0004 | - |
494
+ | 3.4961 | 3150 | 0.0005 | - |
495
+ | 3.5072 | 3160 | 0.0006 | - |
496
+ | 3.5183 | 3170 | 0.0002 | - |
497
+ | 3.5294 | 3180 | 0.0002 | - |
498
+ | 3.5405 | 3190 | 0.0004 | - |
499
+ | 3.5516 | 3200 | 0.0003 | - |
500
+ | 3.5627 | 3210 | 0.0002 | - |
501
+ | 3.5738 | 3220 | 0.0001 | - |
502
+ | 3.5849 | 3230 | 0.0002 | - |
503
+ | 3.5960 | 3240 | 0.0002 | - |
504
+ | 3.6071 | 3250 | 0.0001 | - |
505
+ | 3.6182 | 3260 | 0.0002 | - |
506
+ | 3.6293 | 3270 | 0.0002 | - |
507
+ | 3.6404 | 3280 | 0.0002 | - |
508
+ | 3.6515 | 3290 | 0.0002 | - |
509
+ | 3.6626 | 3300 | 0.0003 | - |
510
+ | 3.6737 | 3310 | 0.0003 | - |
511
+ | 3.6848 | 3320 | 0.0003 | - |
512
+ | 3.6959 | 3330 | 0.0002 | - |
513
+ | 3.7070 | 3340 | 0.0001 | - |
514
+ | 3.7181 | 3350 | 0.0002 | - |
515
+ | 3.7292 | 3360 | 0.0002 | - |
516
+ | 3.7403 | 3370 | 0.0002 | - |
517
+ | 3.7514 | 3380 | 0.0002 | - |
518
+ | 3.7625 | 3390 | 0.0002 | - |
519
+ | 3.7736 | 3400 | 0.0001 | - |
520
+ | 3.7847 | 3410 | 0.0003 | - |
521
+ | 3.7958 | 3420 | 0.0002 | - |
522
+ | 3.8069 | 3430 | 0.0003 | - |
523
+ | 3.8180 | 3440 | 0.0003 | - |
524
+ | 3.8291 | 3450 | 0.0002 | - |
525
+ | 3.8402 | 3460 | 0.0002 | - |
526
+ | 3.8513 | 3470 | 0.0002 | - |
527
+ | 3.8624 | 3480 | 0.0002 | - |
528
+ | 3.8735 | 3490 | 0.0002 | - |
529
+ | 3.8846 | 3500 | 0.0002 | - |
530
+ | 3.8957 | 3510 | 0.0002 | - |
531
+ | 3.9068 | 3520 | 0.0003 | - |
532
+ | 3.9179 | 3530 | 0.0001 | - |
533
+ | 3.9290 | 3540 | 0.0002 | - |
534
+ | 3.9401 | 3550 | 0.0002 | - |
535
+ | 3.9512 | 3560 | 0.0002 | - |
536
+ | 3.9623 | 3570 | 0.0003 | - |
537
+ | 3.9734 | 3580 | 0.0003 | - |
538
+ | 3.9845 | 3590 | 0.0002 | - |
539
+ | 3.9956 | 3600 | 0.0002 | - |
540
+ | 4.0 | 3604 | - | 0.0237 |
541
+
542
+ ### Framework Versions
543
+ - Python: 3.11.11
544
+ - SetFit: 1.1.0
545
+ - Sentence Transformers: 3.4.1
546
+ - Transformers: 4.44.0
547
+ - PyTorch: 2.6.0+cu124
548
+ - Datasets: 3.5.0
549
+ - Tokenizers: 0.19.1
550
+
551
+ ## Citation
552
+
553
+ ### BibTeX
554
+ ```bibtex
555
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
556
+ doi = {10.48550/ARXIV.2209.11055},
557
+ url = {https://arxiv.org/abs/2209.11055},
558
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
559
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
560
+ title = {Efficient Few-Shot Learning Without Prompts},
561
+ publisher = {arXiv},
562
+ year = {2022},
563
+ copyright = {Creative Commons Attribution 4.0 International}
564
+ }
565
+ ```
566
+
567
+ <!--
568
+ ## Glossary
569
+
570
+ *Clearly define terms in order to be accessible across audiences.*
571
+ -->
572
+
573
+ <!--
574
+ ## Model Card Authors
575
+
576
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
577
+ -->
578
+
579
+ <!--
580
+ ## Model Card Contact
581
+
582
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
583
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
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.44.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.4.1",
4
+ "transformers": "4.44.0",
5
+ "pytorch": "2.6.0+cu124"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
config_setfit.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "normalize_embeddings": false,
3
+ "labels": [
4
+ "greet-hi",
5
+ "greet-who_are_you",
6
+ "greet-good_bye",
7
+ "create_website",
8
+ "read_category",
9
+ "update_category",
10
+ "delete_category",
11
+ "read_product",
12
+ "update_product",
13
+ "delete_product",
14
+ "read_store",
15
+ "update_store",
16
+ "delete_store"
17
+ ]
18
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6dbcea5b9df21ca034b51d1fc38830b7982919735fcbd60fec8080bddd19ae9
3
+ size 470637416
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7cfea2e0587e2274f37fc27088426857f676ad6f110aa30f77bf515c0bc503f
3
+ size 40991
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,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