mini1013 commited on
Commit
7db7d17
1 Parent(s): c94bbc8

Push model using huggingface_hub.

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 768,
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,390 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mini1013/master_domain
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: '[VDAY] 포멜로 파라디 30ml 발렌타인 세트 코랄 LOREAL > DepartmentLotteOn > 아틀리에 코롱 > Branded
14
+ > 아틀리에 코롱 LOREAL > DepartmentLotteOn > 아틀리에 코롱 > Branded > 아틀리에 코롱'
15
+ - text: 톰포드 비터 피치 오 드 퍼퓸 50ml LotteOn > 뷰티 > 향수 > 여성향수 LotteOn > 뷰티 > 향수 > 여성향수
16
+ - text: 샹스 오 드 빠르펭 35ml ssg > 뷰티 > 향수 > 여성향수 ssg > 뷰티 > 향수 > 여성향수
17
+ - text: 미라클 EDP 100ml LotteOn > 뷰티 > 향수 > 여성향수 LotteOn > 뷰티 > 향수 > 여성향수
18
+ - text: 퍼플라벤다 플라워디퓨저 150ml_P050374133 투명병/아카시아 ssg > 뷰티 > 미용기기/소품 > 거울/용기/기타소품 ssg
19
+ > 뷰티 > 미용기기/소품 > 거울/용기/기타소품
20
+ inference: true
21
+ model-index:
22
+ - name: SetFit with mini1013/master_domain
23
+ results:
24
+ - task:
25
+ type: text-classification
26
+ name: Text Classification
27
+ dataset:
28
+ name: Unknown
29
+ type: unknown
30
+ split: test
31
+ metrics:
32
+ - type: accuracy
33
+ value: 0.5350966429298067
34
+ name: Accuracy
35
+ ---
36
+
37
+ # SetFit with mini1013/master_domain
38
+
39
+ This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [mini1013/master_domain](https://huggingface.co/mini1013/master_domain) 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.
40
+
41
+ The model has been trained using an efficient few-shot learning technique that involves:
42
+
43
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
44
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
45
+
46
+ ## Model Details
47
+
48
+ ### Model Description
49
+ - **Model Type:** SetFit
50
+ - **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
51
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
52
+ - **Maximum Sequence Length:** 512 tokens
53
+ - **Number of Classes:** 4 classes
54
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
55
+ <!-- - **Language:** Unknown -->
56
+ <!-- - **License:** Unknown -->
57
+
58
+ ### Model Sources
59
+
60
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
61
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
62
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
63
+
64
+ ### Model Labels
65
+ | Label | Examples |
66
+ |:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
67
+ | 3 | <ul><li>'로즈마리 아로마 에센셜 오일 12ml 천연 디퓨저 마사지 족욕 피로 페퍼민트 본상품선택 × 1 (#M)쿠팡 홈>생활용품>헤어/바디/세안>바디로션/크림>아로마오일 Coupang > 뷰티 > 바디 > 바디로션/크림 > 아로마오일'</li><li>'루브르 알라바스트 디퓨저 스톤&리필 5ml 세트 (알라바스트 케이스+스톤+리필액 구성) 사모트라케의 승리의 여신 니케(멜 마르스) ssg > 뷰티 > 향수 > 여성향수;ssg > 뷰티 > 향수 > 캔들/디퓨저/아로마 ssg > 뷰티 > 향수 > 캔들/디퓨저/아로마'</li><li>'아이캔디 윈드스핀 매직 볼륨 헤어컬 디퓨저 ssg > 뷰티 > 헤어/바디 > 헤어케어 > 드라이샴푸;ssg > 뷰티 > 헤어/바디 > 헤어스타일링 ssg > 뷰티 > 헤어/바디 > 헤어케어 > 드라이샴푸'</li></ul> |
68
+ | 0 | <ul><li>'코롱 50ml 택 1 (+스페셜 GIFT ) 5) 라임 바질 앤 만다린 코롱 50ml (#M)신세계백화점/향수/여성향수 LOREAL > DepartmentSsg > 아틀리에 코롱 > Generic > 핸드크림'</li><li>'오 드 쏠레이 블랑 100ML SSG.COM>신세계백화점TOM FORD>FRAGRANCES>SIGNATURE FRAGRANCES;(#M)SSG.COM>신세계백화점TOM FORD>FRAGRANCE>SIGNATURE ssg > 뷰티 > 향수 > 여성향수'</li><li>'[메종마르지엘라](신세계타임스퀘어점패션관)바이 더 파이어플레이스 EDT 30ML(공식수입정품) 바이 더 파이어플레이스 30ML+선물박스포장 (#M)홈>화장품/미용>향수>남녀공용향수 Naverstore > 화장품/미용 > 향수 > 남녀공용향수'</li></ul> |
69
+ | 2 | <ul><li>'재고정리 오늘주문 내일도착 샤넬 코코 마드모아젤 우먼 오드퍼퓸 100ml 쇼핑백X (#M)11st>향수>여성향수>여성향수 11st > 뷰티 > 향수 > 여성향수'</li><li>'헉슬리 퍼퓸 블루 메디나 탠저린 15mL 홈>Fragrance;(#M)홈>프레그런스>향수 Naverstore > 화장품/미용 > 향수 > 남녀공용향수'</li><li>'조말론 오스만투스 블러썸 1온스 여성용 쾰른 스프레이 원래 언박스 단일상품 LotteOn > 뷰티 > 헤어/바디 > 바디케어 > 바디미스트/샤워코롱 LotteOn > 뷰티 > 헤어/바디 > 바디케어 > 바디미스트/샤워코롱'</li></ul> |
70
+ | 1 | <ul><li>'히어로 EDT 50ml DepartmentLotteOn > 뷰티 > 향수 > 남성용 > 31ml~50ml DepartmentLotteOn > 뷰티 > 향수 > 남성용 > 51ml~'</li><li>'에르메스 떼르 데르메스 오 뜨레 프라쉐 EDT 125ml/관 MinSellAmount (#M)바디/헤어>바디케어>바디로션 Gmarket > 뷰티 > 바디/헤어 > 바디케어 > 바디로션'</li><li>'[AK백화점][한정판] 랄프로렌 폴로 블루 베어 에디션 EDT 40ML(+단독 폴로블루 파우치) 단일상품 `1095946223` LotteOn > 뷰티 > 향수 > 향수세트 LotteOn > 뷰티 > 향수 > 향수세트'</li></ul> |
71
+
72
+ ## Evaluation
73
+
74
+ ### Metrics
75
+ | Label | Accuracy |
76
+ |:--------|:---------|
77
+ | **all** | 0.5351 |
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("mini1013/master_cate_bt_top11_test")
96
+ # Run inference
97
+ preds = model("샹스 오 드 빠르펭 35ml ssg > 뷰티 > 향수 > 여성향수 ssg > 뷰티 > 향수 > 여성향수")
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 | 12 | 21.735 | 48 |
130
+
131
+ | Label | Training Sample Count |
132
+ |:------|:----------------------|
133
+ | 0 | 50 |
134
+ | 1 | 50 |
135
+ | 2 | 50 |
136
+ | 3 | 50 |
137
+
138
+ ### Training Hyperparameters
139
+ - batch_size: (64, 64)
140
+ - num_epochs: (30, 30)
141
+ - max_steps: -1
142
+ - sampling_strategy: oversampling
143
+ - num_iterations: 100
144
+ - body_learning_rate: (2e-05, 1e-05)
145
+ - head_learning_rate: 0.01
146
+ - loss: CosineSimilarityLoss
147
+ - distance_metric: cosine_distance
148
+ - margin: 0.25
149
+ - end_to_end: False
150
+ - use_amp: False
151
+ - warmup_proportion: 0.1
152
+ - l2_weight: 0.01
153
+ - seed: 42
154
+ - eval_max_steps: -1
155
+ - load_best_model_at_end: False
156
+
157
+ ### Training Results
158
+ | Epoch | Step | Training Loss | Validation Loss |
159
+ |:-------:|:----:|:-------------:|:---------------:|
160
+ | 0.0032 | 1 | 0.4649 | - |
161
+ | 0.1597 | 50 | 0.4669 | - |
162
+ | 0.3195 | 100 | 0.4469 | - |
163
+ | 0.4792 | 150 | 0.4259 | - |
164
+ | 0.6390 | 200 | 0.3685 | - |
165
+ | 0.7987 | 250 | 0.2893 | - |
166
+ | 0.9585 | 300 | 0.2223 | - |
167
+ | 1.1182 | 350 | 0.1858 | - |
168
+ | 1.2780 | 400 | 0.1766 | - |
169
+ | 1.4377 | 450 | 0.1629 | - |
170
+ | 1.5974 | 500 | 0.1571 | - |
171
+ | 1.7572 | 550 | 0.1362 | - |
172
+ | 1.9169 | 600 | 0.1208 | - |
173
+ | 2.0767 | 650 | 0.1 | - |
174
+ | 2.2364 | 700 | 0.0746 | - |
175
+ | 2.3962 | 750 | 0.0699 | - |
176
+ | 2.5559 | 800 | 0.0635 | - |
177
+ | 2.7157 | 850 | 0.0464 | - |
178
+ | 2.8754 | 900 | 0.0246 | - |
179
+ | 3.0351 | 950 | 0.0195 | - |
180
+ | 3.1949 | 1000 | 0.0063 | - |
181
+ | 3.3546 | 1050 | 0.0004 | - |
182
+ | 3.5144 | 1100 | 0.0003 | - |
183
+ | 3.6741 | 1150 | 0.0001 | - |
184
+ | 3.8339 | 1200 | 0.0002 | - |
185
+ | 3.9936 | 1250 | 0.0007 | - |
186
+ | 4.1534 | 1300 | 0.0006 | - |
187
+ | 4.3131 | 1350 | 0.0001 | - |
188
+ | 4.4728 | 1400 | 0.0002 | - |
189
+ | 4.6326 | 1450 | 0.0001 | - |
190
+ | 4.7923 | 1500 | 0.0 | - |
191
+ | 4.9521 | 1550 | 0.0 | - |
192
+ | 5.1118 | 1600 | 0.0 | - |
193
+ | 5.2716 | 1650 | 0.0001 | - |
194
+ | 5.4313 | 1700 | 0.0 | - |
195
+ | 5.5911 | 1750 | 0.0001 | - |
196
+ | 5.7508 | 1800 | 0.0002 | - |
197
+ | 5.9105 | 1850 | 0.0 | - |
198
+ | 6.0703 | 1900 | 0.0 | - |
199
+ | 6.2300 | 1950 | 0.0 | - |
200
+ | 6.3898 | 2000 | 0.0 | - |
201
+ | 6.5495 | 2050 | 0.0 | - |
202
+ | 6.7093 | 2100 | 0.0 | - |
203
+ | 6.8690 | 2150 | 0.0 | - |
204
+ | 7.0288 | 2200 | 0.0 | - |
205
+ | 7.1885 | 2250 | 0.0002 | - |
206
+ | 7.3482 | 2300 | 0.0 | - |
207
+ | 7.5080 | 2350 | 0.0005 | - |
208
+ | 7.6677 | 2400 | 0.0003 | - |
209
+ | 7.8275 | 2450 | 0.0 | - |
210
+ | 7.9872 | 2500 | 0.0 | - |
211
+ | 8.1470 | 2550 | 0.0 | - |
212
+ | 8.3067 | 2600 | 0.0 | - |
213
+ | 8.4665 | 2650 | 0.0 | - |
214
+ | 8.6262 | 2700 | 0.0001 | - |
215
+ | 8.7859 | 2750 | 0.0 | - |
216
+ | 8.9457 | 2800 | 0.0 | - |
217
+ | 9.1054 | 2850 | 0.0005 | - |
218
+ | 9.2652 | 2900 | 0.0 | - |
219
+ | 9.4249 | 2950 | 0.0 | - |
220
+ | 9.5847 | 3000 | 0.0 | - |
221
+ | 9.7444 | 3050 | 0.0002 | - |
222
+ | 9.9042 | 3100 | 0.0047 | - |
223
+ | 10.0639 | 3150 | 0.0088 | - |
224
+ | 10.2236 | 3200 | 0.0031 | - |
225
+ | 10.3834 | 3250 | 0.0001 | - |
226
+ | 10.5431 | 3300 | 0.0 | - |
227
+ | 10.7029 | 3350 | 0.0 | - |
228
+ | 10.8626 | 3400 | 0.0 | - |
229
+ | 11.0224 | 3450 | 0.0 | - |
230
+ | 11.1821 | 3500 | 0.0 | - |
231
+ | 11.3419 | 3550 | 0.0 | - |
232
+ | 11.5016 | 3600 | 0.0 | - |
233
+ | 11.6613 | 3650 | 0.0001 | - |
234
+ | 11.8211 | 3700 | 0.0002 | - |
235
+ | 11.9808 | 3750 | 0.0025 | - |
236
+ | 12.1406 | 3800 | 0.0074 | - |
237
+ | 12.3003 | 3850 | 0.006 | - |
238
+ | 12.4601 | 3900 | 0.005 | - |
239
+ | 12.6198 | 3950 | 0.0006 | - |
240
+ | 12.7796 | 4000 | 0.0 | - |
241
+ | 12.9393 | 4050 | 0.0 | - |
242
+ | 13.0990 | 4100 | 0.0 | - |
243
+ | 13.2588 | 4150 | 0.0 | - |
244
+ | 13.4185 | 4200 | 0.0004 | - |
245
+ | 13.5783 | 4250 | 0.0 | - |
246
+ | 13.7380 | 4300 | 0.0 | - |
247
+ | 13.8978 | 4350 | 0.0 | - |
248
+ | 14.0575 | 4400 | 0.0 | - |
249
+ | 14.2173 | 4450 | 0.0 | - |
250
+ | 14.3770 | 4500 | 0.0 | - |
251
+ | 14.5367 | 4550 | 0.0 | - |
252
+ | 14.6965 | 4600 | 0.0 | - |
253
+ | 14.8562 | 4650 | 0.0 | - |
254
+ | 15.0160 | 4700 | 0.0 | - |
255
+ | 15.1757 | 4750 | 0.0 | - |
256
+ | 15.3355 | 4800 | 0.0 | - |
257
+ | 15.4952 | 4850 | 0.0 | - |
258
+ | 15.6550 | 4900 | 0.0 | - |
259
+ | 15.8147 | 4950 | 0.0 | - |
260
+ | 15.9744 | 5000 | 0.0 | - |
261
+ | 16.1342 | 5050 | 0.0 | - |
262
+ | 16.2939 | 5100 | 0.0 | - |
263
+ | 16.4537 | 5150 | 0.0 | - |
264
+ | 16.6134 | 5200 | 0.0 | - |
265
+ | 16.7732 | 5250 | 0.0 | - |
266
+ | 16.9329 | 5300 | 0.0 | - |
267
+ | 17.0927 | 5350 | 0.0 | - |
268
+ | 17.2524 | 5400 | 0.0 | - |
269
+ | 17.4121 | 5450 | 0.0 | - |
270
+ | 17.5719 | 5500 | 0.0 | - |
271
+ | 17.7316 | 5550 | 0.0 | - |
272
+ | 17.8914 | 5600 | 0.0002 | - |
273
+ | 18.0511 | 5650 | 0.0 | - |
274
+ | 18.2109 | 5700 | 0.0 | - |
275
+ | 18.3706 | 5750 | 0.0 | - |
276
+ | 18.5304 | 5800 | 0.0 | - |
277
+ | 18.6901 | 5850 | 0.0 | - |
278
+ | 18.8498 | 5900 | 0.0 | - |
279
+ | 19.0096 | 5950 | 0.0 | - |
280
+ | 19.1693 | 6000 | 0.0 | - |
281
+ | 19.3291 | 6050 | 0.0 | - |
282
+ | 19.4888 | 6100 | 0.0 | - |
283
+ | 19.6486 | 6150 | 0.0 | - |
284
+ | 19.8083 | 6200 | 0.0 | - |
285
+ | 19.9681 | 6250 | 0.0 | - |
286
+ | 20.1278 | 6300 | 0.0 | - |
287
+ | 20.2875 | 6350 | 0.0 | - |
288
+ | 20.4473 | 6400 | 0.0 | - |
289
+ | 20.6070 | 6450 | 0.0 | - |
290
+ | 20.7668 | 6500 | 0.0 | - |
291
+ | 20.9265 | 6550 | 0.0 | - |
292
+ | 21.0863 | 6600 | 0.0 | - |
293
+ | 21.2460 | 6650 | 0.0 | - |
294
+ | 21.4058 | 6700 | 0.0 | - |
295
+ | 21.5655 | 6750 | 0.0 | - |
296
+ | 21.7252 | 6800 | 0.0 | - |
297
+ | 21.8850 | 6850 | 0.0 | - |
298
+ | 22.0447 | 6900 | 0.0 | - |
299
+ | 22.2045 | 6950 | 0.0 | - |
300
+ | 22.3642 | 7000 | 0.0 | - |
301
+ | 22.5240 | 7050 | 0.0 | - |
302
+ | 22.6837 | 7100 | 0.0 | - |
303
+ | 22.8435 | 7150 | 0.0 | - |
304
+ | 23.0032 | 7200 | 0.0 | - |
305
+ | 23.1629 | 7250 | 0.0 | - |
306
+ | 23.3227 | 7300 | 0.0 | - |
307
+ | 23.4824 | 7350 | 0.0 | - |
308
+ | 23.6422 | 7400 | 0.0 | - |
309
+ | 23.8019 | 7450 | 0.0 | - |
310
+ | 23.9617 | 7500 | 0.0 | - |
311
+ | 24.1214 | 7550 | 0.0 | - |
312
+ | 24.2812 | 7600 | 0.0 | - |
313
+ | 24.4409 | 7650 | 0.0 | - |
314
+ | 24.6006 | 7700 | 0.0 | - |
315
+ | 24.7604 | 7750 | 0.0 | - |
316
+ | 24.9201 | 7800 | 0.0 | - |
317
+ | 25.0799 | 7850 | 0.0 | - |
318
+ | 25.2396 | 7900 | 0.0 | - |
319
+ | 25.3994 | 7950 | 0.0 | - |
320
+ | 25.5591 | 8000 | 0.0 | - |
321
+ | 25.7188 | 8050 | 0.0 | - |
322
+ | 25.8786 | 8100 | 0.0 | - |
323
+ | 26.0383 | 8150 | 0.0 | - |
324
+ | 26.1981 | 8200 | 0.0 | - |
325
+ | 26.3578 | 8250 | 0.0 | - |
326
+ | 26.5176 | 8300 | 0.0 | - |
327
+ | 26.6773 | 8350 | 0.0 | - |
328
+ | 26.8371 | 8400 | 0.0 | - |
329
+ | 26.9968 | 8450 | 0.0 | - |
330
+ | 27.1565 | 8500 | 0.0 | - |
331
+ | 27.3163 | 8550 | 0.0 | - |
332
+ | 27.4760 | 8600 | 0.0 | - |
333
+ | 27.6358 | 8650 | 0.0 | - |
334
+ | 27.7955 | 8700 | 0.0 | - |
335
+ | 27.9553 | 8750 | 0.0 | - |
336
+ | 28.1150 | 8800 | 0.0 | - |
337
+ | 28.2748 | 8850 | 0.0 | - |
338
+ | 28.4345 | 8900 | 0.0 | - |
339
+ | 28.5942 | 8950 | 0.0 | - |
340
+ | 28.7540 | 9000 | 0.0 | - |
341
+ | 28.9137 | 9050 | 0.0 | - |
342
+ | 29.0735 | 9100 | 0.0 | - |
343
+ | 29.2332 | 9150 | 0.0 | - |
344
+ | 29.3930 | 9200 | 0.0 | - |
345
+ | 29.5527 | 9250 | 0.0 | - |
346
+ | 29.7125 | 9300 | 0.0 | - |
347
+ | 29.8722 | 9350 | 0.0 | - |
348
+
349
+ ### Framework Versions
350
+ - Python: 3.10.12
351
+ - SetFit: 1.1.0
352
+ - Sentence Transformers: 3.3.1
353
+ - Transformers: 4.44.2
354
+ - PyTorch: 2.2.0a0+81ea7a4
355
+ - Datasets: 3.2.0
356
+ - Tokenizers: 0.19.1
357
+
358
+ ## Citation
359
+
360
+ ### BibTeX
361
+ ```bibtex
362
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
363
+ doi = {10.48550/ARXIV.2209.11055},
364
+ url = {https://arxiv.org/abs/2209.11055},
365
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
366
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
367
+ title = {Efficient Few-Shot Learning Without Prompts},
368
+ publisher = {arXiv},
369
+ year = {2022},
370
+ copyright = {Creative Commons Attribution 4.0 International}
371
+ }
372
+ ```
373
+
374
+ <!--
375
+ ## Glossary
376
+
377
+ *Clearly define terms in order to be accessible across audiences.*
378
+ -->
379
+
380
+ <!--
381
+ ## Model Card Authors
382
+
383
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
384
+ -->
385
+
386
+ <!--
387
+ ## Model Card Contact
388
+
389
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
390
+ -->
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mini1013/master_item_bt_test_flat_top",
3
+ "architectures": [
4
+ "RobertaModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 3072,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 514,
18
+ "model_type": "roberta",
19
+ "num_attention_heads": 12,
20
+ "num_hidden_layers": 12,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "tokenizer_class": "BertTokenizer",
24
+ "torch_dtype": "float32",
25
+ "transformers_version": "4.44.2",
26
+ "type_vocab_size": 1,
27
+ "use_cache": true,
28
+ "vocab_size": 32000
29
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.44.2",
5
+ "pytorch": "2.2.0a0+81ea7a4"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
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:9a7cc42928e583323f5f897850e43099ef6905006e676779fe93e108b9f3f418
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f0c198c30b5140973060ce52928fa4b9b2e235a3f693c01b77783ed8510b4e5
3
+ size 25479
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": 512,
3
+ "do_lower_case": false
4
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "[CLS]",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "[CLS]",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "[SEP]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "[MASK]",
25
+ "lstrip": false,
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": "[SEP]",
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
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[CLS]",
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": "[SEP]",
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
+ "4": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "[CLS]",
45
+ "clean_up_tokenization_spaces": false,
46
+ "cls_token": "[CLS]",
47
+ "do_basic_tokenize": true,
48
+ "do_lower_case": false,
49
+ "eos_token": "[SEP]",
50
+ "mask_token": "[MASK]",
51
+ "max_length": 512,
52
+ "model_max_length": 512,
53
+ "never_split": null,
54
+ "pad_to_multiple_of": null,
55
+ "pad_token": "[PAD]",
56
+ "pad_token_type_id": 0,
57
+ "padding_side": "right",
58
+ "sep_token": "[SEP]",
59
+ "stride": 0,
60
+ "strip_accents": null,
61
+ "tokenize_chinese_chars": true,
62
+ "tokenizer_class": "BertTokenizer",
63
+ "truncation_side": "right",
64
+ "truncation_strategy": "longest_first",
65
+ "unk_token": "[UNK]"
66
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff