mini1013 commited on
Commit
0eff3d1
1 Parent(s): 13259b9

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,541 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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: 폴미첼 프리즈 앤 샤인 슈퍼 스프레이 250ml x 3개 단일상품 (#M)11st>헤어케어>헤어스프레이>헤어스프레이 11st > 뷰티
14
+ > 헤어케어 > 헤어스프레이
15
+ - text: 댕기머리 뉴골드 새치머리용 한방 칼라 크림 염색약 염색제 5호 4개 Coupang > 뷰티 > 헤어 > 염색/파마 > 염색/헤어컬러
16
+ > 한방염색제(새치);(#M)쿠팡 홈>뷰티>헤어>염색/파마>염색/헤어컬러>한방염색제(새치) Coupang > 뷰티 > 헤어 > 염색/파마 >
17
+ 염색/헤어컬러 > 한방염색제(새치)
18
+ - text: 갸스비 스타일링 왁스 익사이팅 하드 80g MinSellAmount (#M)바디/헤어>헤어스타일링>헤어왁스 Gmarket > 뷰티 >
19
+ 바디/헤어 > 헤어스타일링 > 헤어왁스
20
+ - text: 이지엔 쉐이킹 푸딩 헤어칼라 6.61(멋내기용-스모키 애쉬블러썸) (#M)홈>헤어케어>염색약>멋내기 염색 Naverstore > 화장품/미용
21
+ > 헤어스타일링 > 염색약
22
+ - text: '[웰라] 아이미 앱솔루트 셋 300ml LotteOn > 뷰티 > 헤어/바디 > 헤어스타일링 > 헤어스프레이 LotteOn > 뷰티
23
+ > 헤어/바디 > 헤어스타일링 > 헤어스프레이'
24
+ inference: true
25
+ model-index:
26
+ - name: SetFit with mini1013/master_domain
27
+ results:
28
+ - task:
29
+ type: text-classification
30
+ name: Text Classification
31
+ dataset:
32
+ name: Unknown
33
+ type: unknown
34
+ split: test
35
+ metrics:
36
+ - type: accuracy
37
+ value: 0.8061538461538461
38
+ name: Accuracy
39
+ ---
40
+
41
+ # SetFit with mini1013/master_domain
42
+
43
+ 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.
44
+
45
+ The model has been trained using an efficient few-shot learning technique that involves:
46
+
47
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
48
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
49
+
50
+ ## Model Details
51
+
52
+ ### Model Description
53
+ - **Model Type:** SetFit
54
+ - **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
55
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
56
+ - **Maximum Sequence Length:** 512 tokens
57
+ - **Number of Classes:** 7 classes
58
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
59
+ <!-- - **Language:** Unknown -->
60
+ <!-- - **License:** Unknown -->
61
+
62
+ ### Model Sources
63
+
64
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
65
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
66
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
67
+
68
+ ### Model Labels
69
+ | Label | Examples |
70
+ |:------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
71
+ | 6 | <ul><li>'이희 마블 에센스 헤어 팩트 블랙 본품14g / 흑채 상세페이지 참조 (#M)쿠팡 홈>뷰티>헤어>염색/파마>헤어메이크업>흑채/증모제 Coupang > 뷰티 > 헤어 > 염색/파마 > 헤어메이크업 > 흑채/증모제'</li><li>'[TS]리뉴얼 흑채23g/식물성펄프사용,순간증모제,대머리커버 검정 (#M)GSSHOP>뷰티>헤어케어>탈모케어 GSSHOP > 뷰티 > 헤어케어 > 탈모케어'</li><li>'이희 마블 에센스 헤어 팩트 다크브라운 본품1+리필2 (#M)홈>화장품/미용>헤어케어>���모케어 Naverstore > 화장품/미용 > 헤어케어 > 탈모케어'</li></ul> |
72
+ | 2 | <ul><li>'아모스 아미노 매직 셋팅 펌 / 노멀 / 다운펌 / 스트레이트 매직약 1제노멀 2제 크림타입 (#M)홈>화장품/미용>헤어스타일링>파마약>스트레이트 Naverstore > 화장품/미용 > 헤어스타일링 > 파마약 > 스트레이트'</li><li>'아모스 아미노 매직셋팅펌 노멀 400ml+크림 500ml (#M)11st>헤어케어>파마약>파마약 11st > 뷰티 > 헤어케어 > 파마약 > 파마약'</li><li>'[눙크] 듀이트리 굿 릴랙스 애프터 수딩 패치 15g ssg > 뷰티 > 스킨케어 > 마스크/팩 > 아이패치 ssg > 뷰티 > 스킨케어 > 마스크/팩 > 아이패치'</li></ul> |
73
+ | 5 | <ul><li>'(2개)꽃을든남자 케라틴 실크프로테인 헤어젤 500ml MinSellAmount (#M)바디/헤어>헤어스타일링>헤어젤 Gmarket > 뷰티 > 바디/헤어 > 헤어스타일링 > 헤어젤'</li><li>'아베다 맨 퓨어 포먼스 그루밍 클레이 75ml (#M)11st>헤어케어>샴푸>일반 11st > 뷰티 > 헤어케어 > 샴푸 > 일반'</li><li>'아베다 - 맨 퓨어 포맨스 리퀴드 포마드 200ml/6.7oz ssg > 뷰티 > 헤어/바디 > 헤어케어 > 헤어앰플 ssg > 뷰티 > 헤어/바디 > 헤어케어 > 헤어앰플'</li></ul> |
74
+ | 0 | <ul><li>'로레알 뉴앙셀 보태닉 헤어 매니큐어 150g 왁싱 코팅 내츄럴브라운다크 (#M)11st>헤어케어>염색약>크림염색약 11st > 뷰티 > 헤어케어 > 염색약 > 크림염색약'</li><li>'사이오스 NEW 올레오 크림 프리미엄 헤어 컬러 1B 크리스탈베이지 3개 LotteOn > 뷰티 > 헤어/바디 > 헤어케어 > 트리트먼트/헤어팩 LotteOn > 뷰티 > 헤어/바디 > 헤어케어 > 트리트먼트/헤어팩'</li><li>'로레알파리 매직 리터치 75 ml1433989 10 브라운 x 5개143398910 LotteOn > 뷰티 > 헤어/바디 > 헤어스타일링 > 염색/매니큐어 LotteOn > 뷰티 > 헤어/바디 > 헤어스타일링 > 염색/매니큐어'</li></ul> |
75
+ | 4 | <ul><li>'핫템 미장센 스타일케어 헤어스프레이 300ml - O 화이트플로럴 (#M)SSG.COM/스킨케어/클렌징/클렌징오일 ssg > 뷰티 > 스킨케어 > 클렌징 > 클렌징오일'</li><li>'비레디 에어리 헤어 스프레이 LotteOn > 뷰티 > 헤어/바디 > 헤어스타일링 > 컬크림 LotteOn > 뷰티 > 헤어/바디 > 헤어스타일링 > 컬크림'</li><li>'[밀본] 밀본 니제르 홀드핏 베일 180g (#M)홈>헤어 스타일링 Naverstore > 화장품/미용 > 헤어스타일링 > 헤어스프레이'</li></ul> |
76
+ | 1 | <ul><li>'컬링 에센스 150ml 1+1 (#M)뷰티>헤어/바디/미용기기>헤어케어>에센스/앰플/오일 CJmall > 뷰티 > 헤어/바디/미용기기 > 헤어케어 > 트리트먼트/팩/마스크'</li><li>'미쟝센 스테이지 컬링에센스 2X 150ml 1개 01_미쟝센 스테이지 컬링에센스 2X 150ml 1개 위메프 > 생활·주방·반려동물 > 바디/헤어 > 샴푸/린스/헤어케어 > 트리트먼트;위메프 > 뷰티 > 바디/헤어 > 헤어염색/파마/왁스 > 염색약;위메프 > 생활·주방·반려동물 > 바디/헤어 > 샴푸/린스/헤어케어 > 샴푸/린스;위메프 > 생활·주방·반려동물 > 바디/헤어 > 바디케어/워시/제모;(#M)위메프 > 생활·주방용품 > 바디/헤어 > 샴푸/린스/헤어케어 > 트리트먼트 위메프 > 뷰티 > 바디/헤어 > 바디케어/워시/제모 > 바디워시/스크럽'</li><li>'[현대백화점][VDL] 스킨프로 미스트 아쿠아 밤 브이디엘 스킨프로 미스트 아쿠아 밤 (#M)홈>화장품/미용>베이스메이크업>베이스메이크업세트 Naverstore > 화장품/미용 > 베이스메이크업 > 베이스메이크업세트'</li></ul> |
77
+ | 3 | <ul><li>'리르 퀵 헤어 커버 쿠션 빈모 새치커버 [0006]헤어쿠션_브라운 (#M)11st>헤어케어>탈모/두피관리제>클리닉용품 기타 11st > 뷰티 > 헤어케어 > 탈모/두피관리제'</li><li>'[12월기획]비레디 헤어라인 커버스틱 다크브라운 (#M)GSSHOP>뷰티>스킨케어>스킨케어세트 GSSHOP > 뷰티 > 스킨케어 > 뷰티 합포장'</li><li>'마몽드 팡팡 헤어 섀도우 - 3.5g/택1 3호 레디쉬 브라운 화장품/향수>립케어/블러셔>블러셔/볼터치;(#M)화장품/향수>색조메이크업>블러셔 Gmarket > 뷰티 > 화장품/향수 > 색조메이크업 > 블러셔'</li></ul> |
78
+
79
+ ## Evaluation
80
+
81
+ ### Metrics
82
+ | Label | Accuracy |
83
+ |:--------|:---------|
84
+ | **all** | 0.8062 |
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("mini1013/master_cate_bt_top12_test")
103
+ # Run inference
104
+ preds = model("폴미첼 프리즈 앤 샤인 슈퍼 스프레이 250ml x 3개 단일상품 (#M)11st>헤어케어>헤어스프레이>헤어스프레이 11st > 뷰티 > 헤어케어 > 헤어스프레이")
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 | 11 | 21.3486 | 60 |
137
+
138
+ | Label | Training Sample Count |
139
+ |:------|:----------------------|
140
+ | 0 | 50 |
141
+ | 1 | 50 |
142
+ | 2 | 50 |
143
+ | 3 | 50 |
144
+ | 4 | 50 |
145
+ | 5 | 50 |
146
+ | 6 | 50 |
147
+
148
+ ### Training Hyperparameters
149
+ - batch_size: (64, 64)
150
+ - num_epochs: (30, 30)
151
+ - max_steps: -1
152
+ - sampling_strategy: oversampling
153
+ - num_iterations: 100
154
+ - body_learning_rate: (2e-05, 1e-05)
155
+ - head_learning_rate: 0.01
156
+ - loss: CosineSimilarityLoss
157
+ - distance_metric: cosine_distance
158
+ - margin: 0.25
159
+ - end_to_end: False
160
+ - use_amp: False
161
+ - warmup_proportion: 0.1
162
+ - l2_weight: 0.01
163
+ - seed: 42
164
+ - eval_max_steps: -1
165
+ - load_best_model_at_end: False
166
+
167
+ ### Training Results
168
+ | Epoch | Step | Training Loss | Validation Loss |
169
+ |:-------:|:-----:|:-------------:|:---------------:|
170
+ | 0.0018 | 1 | 0.4121 | - |
171
+ | 0.0914 | 50 | 0.4364 | - |
172
+ | 0.1828 | 100 | 0.4222 | - |
173
+ | 0.2742 | 150 | 0.395 | - |
174
+ | 0.3656 | 200 | 0.3538 | - |
175
+ | 0.4570 | 250 | 0.3385 | - |
176
+ | 0.5484 | 300 | 0.3178 | - |
177
+ | 0.6399 | 350 | 0.2704 | - |
178
+ | 0.7313 | 400 | 0.2307 | - |
179
+ | 0.8227 | 450 | 0.1968 | - |
180
+ | 0.9141 | 500 | 0.1908 | - |
181
+ | 1.0055 | 550 | 0.1629 | - |
182
+ | 1.0969 | 600 | 0.1568 | - |
183
+ | 1.1883 | 650 | 0.1495 | - |
184
+ | 1.2797 | 700 | 0.1378 | - |
185
+ | 1.3711 | 750 | 0.1215 | - |
186
+ | 1.4625 | 800 | 0.0961 | - |
187
+ | 1.5539 | 850 | 0.0704 | - |
188
+ | 1.6453 | 900 | 0.0564 | - |
189
+ | 1.7367 | 950 | 0.0565 | - |
190
+ | 1.8282 | 1000 | 0.0549 | - |
191
+ | 1.9196 | 1050 | 0.0489 | - |
192
+ | 2.0110 | 1100 | 0.0484 | - |
193
+ | 2.1024 | 1150 | 0.0471 | - |
194
+ | 2.1938 | 1200 | 0.042 | - |
195
+ | 2.2852 | 1250 | 0.0456 | - |
196
+ | 2.3766 | 1300 | 0.0329 | - |
197
+ | 2.4680 | 1350 | 0.0308 | - |
198
+ | 2.5594 | 1400 | 0.0262 | - |
199
+ | 2.6508 | 1450 | 0.0317 | - |
200
+ | 2.7422 | 1500 | 0.0267 | - |
201
+ | 2.8336 | 1550 | 0.0248 | - |
202
+ | 2.9250 | 1600 | 0.0175 | - |
203
+ | 3.0165 | 1650 | 0.0113 | - |
204
+ | 3.1079 | 1700 | 0.0111 | - |
205
+ | 3.1993 | 1750 | 0.0096 | - |
206
+ | 3.2907 | 1800 | 0.0054 | - |
207
+ | 3.3821 | 1850 | 0.004 | - |
208
+ | 3.4735 | 1900 | 0.0035 | - |
209
+ | 3.5649 | 1950 | 0.0015 | - |
210
+ | 3.6563 | 2000 | 0.0013 | - |
211
+ | 3.7477 | 2050 | 0.0015 | - |
212
+ | 3.8391 | 2100 | 0.0009 | - |
213
+ | 3.9305 | 2150 | 0.0009 | - |
214
+ | 4.0219 | 2200 | 0.0007 | - |
215
+ | 4.1133 | 2250 | 0.0007 | - |
216
+ | 4.2048 | 2300 | 0.0006 | - |
217
+ | 4.2962 | 2350 | 0.0011 | - |
218
+ | 4.3876 | 2400 | 0.0004 | - |
219
+ | 4.4790 | 2450 | 0.0004 | - |
220
+ | 4.5704 | 2500 | 0.0002 | - |
221
+ | 4.6618 | 2550 | 0.0001 | - |
222
+ | 4.7532 | 2600 | 0.0001 | - |
223
+ | 4.8446 | 2650 | 0.0001 | - |
224
+ | 4.9360 | 2700 | 0.0001 | - |
225
+ | 5.0274 | 2750 | 0.0001 | - |
226
+ | 5.1188 | 2800 | 0.0001 | - |
227
+ | 5.2102 | 2850 | 0.0001 | - |
228
+ | 5.3016 | 2900 | 0.0001 | - |
229
+ | 5.3931 | 2950 | 0.0001 | - |
230
+ | 5.4845 | 3000 | 0.0001 | - |
231
+ | 5.5759 | 3050 | 0.0 | - |
232
+ | 5.6673 | 3100 | 0.0001 | - |
233
+ | 5.7587 | 3150 | 0.0 | - |
234
+ | 5.8501 | 3200 | 0.0 | - |
235
+ | 5.9415 | 3250 | 0.0 | - |
236
+ | 6.0329 | 3300 | 0.0 | - |
237
+ | 6.1243 | 3350 | 0.0 | - |
238
+ | 6.2157 | 3400 | 0.0 | - |
239
+ | 6.3071 | 3450 | 0.0 | - |
240
+ | 6.3985 | 3500 | 0.0 | - |
241
+ | 6.4899 | 3550 | 0.0 | - |
242
+ | 6.5814 | 3600 | 0.0 | - |
243
+ | 6.6728 | 3650 | 0.0 | - |
244
+ | 6.7642 | 3700 | 0.0 | - |
245
+ | 6.8556 | 3750 | 0.0 | - |
246
+ | 6.9470 | 3800 | 0.0 | - |
247
+ | 7.0384 | 3850 | 0.0001 | - |
248
+ | 7.1298 | 3900 | 0.0 | - |
249
+ | 7.2212 | 3950 | 0.0 | - |
250
+ | 7.3126 | 4000 | 0.0 | - |
251
+ | 7.4040 | 4050 | 0.0 | - |
252
+ | 7.4954 | 4100 | 0.0 | - |
253
+ | 7.5868 | 4150 | 0.0 | - |
254
+ | 7.6782 | 4200 | 0.0 | - |
255
+ | 7.7697 | 4250 | 0.0 | - |
256
+ | 7.8611 | 4300 | 0.0 | - |
257
+ | 7.9525 | 4350 | 0.0 | - |
258
+ | 8.0439 | 4400 | 0.0 | - |
259
+ | 8.1353 | 4450 | 0.0 | - |
260
+ | 8.2267 | 4500 | 0.0 | - |
261
+ | 8.3181 | 4550 | 0.0 | - |
262
+ | 8.4095 | 4600 | 0.0002 | - |
263
+ | 8.5009 | 4650 | 0.0 | - |
264
+ | 8.5923 | 4700 | 0.0 | - |
265
+ | 8.6837 | 4750 | 0.0 | - |
266
+ | 8.7751 | 4800 | 0.0 | - |
267
+ | 8.8665 | 4850 | 0.0 | - |
268
+ | 8.9580 | 4900 | 0.0 | - |
269
+ | 9.0494 | 4950 | 0.0 | - |
270
+ | 9.1408 | 5000 | 0.0 | - |
271
+ | 9.2322 | 5050 | 0.0 | - |
272
+ | 9.3236 | 5100 | 0.0 | - |
273
+ | 9.4150 | 5150 | 0.0 | - |
274
+ | 9.5064 | 5200 | 0.0 | - |
275
+ | 9.5978 | 5250 | 0.0 | - |
276
+ | 9.6892 | 5300 | 0.0 | - |
277
+ | 9.7806 | 5350 | 0.0 | - |
278
+ | 9.8720 | 5400 | 0.0 | - |
279
+ | 9.9634 | 5450 | 0.0 | - |
280
+ | 10.0548 | 5500 | 0.0 | - |
281
+ | 10.1463 | 5550 | 0.0 | - |
282
+ | 10.2377 | 5600 | 0.0 | - |
283
+ | 10.3291 | 5650 | 0.0 | - |
284
+ | 10.4205 | 5700 | 0.0 | - |
285
+ | 10.5119 | 5750 | 0.0 | - |
286
+ | 10.6033 | 5800 | 0.0 | - |
287
+ | 10.6947 | 5850 | 0.0 | - |
288
+ | 10.7861 | 5900 | 0.0 | - |
289
+ | 10.8775 | 5950 | 0.0 | - |
290
+ | 10.9689 | 6000 | 0.0 | - |
291
+ | 11.0603 | 6050 | 0.0 | - |
292
+ | 11.1517 | 6100 | 0.0 | - |
293
+ | 11.2431 | 6150 | 0.0 | - |
294
+ | 11.3346 | 6200 | 0.0 | - |
295
+ | 11.4260 | 6250 | 0.0 | - |
296
+ | 11.5174 | 6300 | 0.0001 | - |
297
+ | 11.6088 | 6350 | 0.0 | - |
298
+ | 11.7002 | 6400 | 0.0 | - |
299
+ | 11.7916 | 6450 | 0.0 | - |
300
+ | 11.8830 | 6500 | 0.0 | - |
301
+ | 11.9744 | 6550 | 0.0 | - |
302
+ | 12.0658 | 6600 | 0.0 | - |
303
+ | 12.1572 | 6650 | 0.0 | - |
304
+ | 12.2486 | 6700 | 0.0007 | - |
305
+ | 12.3400 | 6750 | 0.0343 | - |
306
+ | 12.4314 | 6800 | 0.0285 | - |
307
+ | 12.5229 | 6850 | 0.0151 | - |
308
+ | 12.6143 | 6900 | 0.0047 | - |
309
+ | 12.7057 | 6950 | 0.003 | - |
310
+ | 12.7971 | 7000 | 0.0047 | - |
311
+ | 12.8885 | 7050 | 0.0027 | - |
312
+ | 12.9799 | 7100 | 0.0017 | - |
313
+ | 13.0713 | 7150 | 0.0002 | - |
314
+ | 13.1627 | 7200 | 0.0001 | - |
315
+ | 13.2541 | 7250 | 0.0004 | - |
316
+ | 13.3455 | 7300 | 0.0001 | - |
317
+ | 13.4369 | 7350 | 0.0 | - |
318
+ | 13.5283 | 7400 | 0.0 | - |
319
+ | 13.6197 | 7450 | 0.0 | - |
320
+ | 13.7112 | 7500 | 0.0001 | - |
321
+ | 13.8026 | 7550 | 0.0 | - |
322
+ | 13.8940 | 7600 | 0.0 | - |
323
+ | 13.9854 | 7650 | 0.0002 | - |
324
+ | 14.0768 | 7700 | 0.0002 | - |
325
+ | 14.1682 | 7750 | 0.0001 | - |
326
+ | 14.2596 | 7800 | 0.0001 | - |
327
+ | 14.3510 | 7850 | 0.0 | - |
328
+ | 14.4424 | 7900 | 0.0 | - |
329
+ | 14.5338 | 7950 | 0.0002 | - |
330
+ | 14.6252 | 8000 | 0.0 | - |
331
+ | 14.7166 | 8050 | 0.0 | - |
332
+ | 14.8080 | 8100 | 0.0 | - |
333
+ | 14.8995 | 8150 | 0.0 | - |
334
+ | 14.9909 | 8200 | 0.0 | - |
335
+ | 15.0823 | 8250 | 0.0 | - |
336
+ | 15.1737 | 8300 | 0.0 | - |
337
+ | 15.2651 | 8350 | 0.0 | - |
338
+ | 15.3565 | 8400 | 0.0 | - |
339
+ | 15.4479 | 8450 | 0.0 | - |
340
+ | 15.5393 | 8500 | 0.0 | - |
341
+ | 15.6307 | 8550 | 0.0 | - |
342
+ | 15.7221 | 8600 | 0.0 | - |
343
+ | 15.8135 | 8650 | 0.0 | - |
344
+ | 15.9049 | 8700 | 0.0 | - |
345
+ | 15.9963 | 8750 | 0.0001 | - |
346
+ | 16.0878 | 8800 | 0.0 | - |
347
+ | 16.1792 | 8850 | 0.0 | - |
348
+ | 16.2706 | 8900 | 0.0002 | - |
349
+ | 16.3620 | 8950 | 0.0 | - |
350
+ | 16.4534 | 9000 | 0.0 | - |
351
+ | 16.5448 | 9050 | 0.0001 | - |
352
+ | 16.6362 | 9100 | 0.0001 | - |
353
+ | 16.7276 | 9150 | 0.0001 | - |
354
+ | 16.8190 | 9200 | 0.0 | - |
355
+ | 16.9104 | 9250 | 0.0002 | - |
356
+ | 17.0018 | 9300 | 0.0 | - |
357
+ | 17.0932 | 9350 | 0.0002 | - |
358
+ | 17.1846 | 9400 | 0.0006 | - |
359
+ | 17.2761 | 9450 | 0.0002 | - |
360
+ | 17.3675 | 9500 | 0.0003 | - |
361
+ | 17.4589 | 9550 | 0.0 | - |
362
+ | 17.5503 | 9600 | 0.0 | - |
363
+ | 17.6417 | 9650 | 0.0 | - |
364
+ | 17.7331 | 9700 | 0.0 | - |
365
+ | 17.8245 | 9750 | 0.0 | - |
366
+ | 17.9159 | 9800 | 0.0 | - |
367
+ | 18.0073 | 9850 | 0.0 | - |
368
+ | 18.0987 | 9900 | 0.0 | - |
369
+ | 18.1901 | 9950 | 0.0 | - |
370
+ | 18.2815 | 10000 | 0.0 | - |
371
+ | 18.3729 | 10050 | 0.0 | - |
372
+ | 18.4644 | 10100 | 0.0 | - |
373
+ | 18.5558 | 10150 | 0.0 | - |
374
+ | 18.6472 | 10200 | 0.0 | - |
375
+ | 18.7386 | 10250 | 0.0 | - |
376
+ | 18.8300 | 10300 | 0.0 | - |
377
+ | 18.9214 | 10350 | 0.0 | - |
378
+ | 19.0128 | 10400 | 0.0 | - |
379
+ | 19.1042 | 10450 | 0.0 | - |
380
+ | 19.1956 | 10500 | 0.0 | - |
381
+ | 19.2870 | 10550 | 0.0 | - |
382
+ | 19.3784 | 10600 | 0.0 | - |
383
+ | 19.4698 | 10650 | 0.0 | - |
384
+ | 19.5612 | 10700 | 0.0 | - |
385
+ | 19.6527 | 10750 | 0.0 | - |
386
+ | 19.7441 | 10800 | 0.0 | - |
387
+ | 19.8355 | 10850 | 0.0 | - |
388
+ | 19.9269 | 10900 | 0.0 | - |
389
+ | 20.0183 | 10950 | 0.0002 | - |
390
+ | 20.1097 | 11000 | 0.0002 | - |
391
+ | 20.2011 | 11050 | 0.0 | - |
392
+ | 20.2925 | 11100 | 0.0 | - |
393
+ | 20.3839 | 11150 | 0.0 | - |
394
+ | 20.4753 | 11200 | 0.0 | - |
395
+ | 20.5667 | 11250 | 0.0 | - |
396
+ | 20.6581 | 11300 | 0.0 | - |
397
+ | 20.7495 | 11350 | 0.0 | - |
398
+ | 20.8410 | 11400 | 0.0 | - |
399
+ | 20.9324 | 11450 | 0.0 | - |
400
+ | 21.0238 | 11500 | 0.0 | - |
401
+ | 21.1152 | 11550 | 0.0 | - |
402
+ | 21.2066 | 11600 | 0.0 | - |
403
+ | 21.2980 | 11650 | 0.0 | - |
404
+ | 21.3894 | 11700 | 0.0 | - |
405
+ | 21.4808 | 11750 | 0.0 | - |
406
+ | 21.5722 | 11800 | 0.0 | - |
407
+ | 21.6636 | 11850 | 0.0 | - |
408
+ | 21.7550 | 11900 | 0.0 | - |
409
+ | 21.8464 | 11950 | 0.0 | - |
410
+ | 21.9378 | 12000 | 0.0 | - |
411
+ | 22.0293 | 12050 | 0.0 | - |
412
+ | 22.1207 | 12100 | 0.0 | - |
413
+ | 22.2121 | 12150 | 0.0 | - |
414
+ | 22.3035 | 12200 | 0.0 | - |
415
+ | 22.3949 | 12250 | 0.0 | - |
416
+ | 22.4863 | 12300 | 0.0 | - |
417
+ | 22.5777 | 12350 | 0.0 | - |
418
+ | 22.6691 | 12400 | 0.0 | - |
419
+ | 22.7605 | 12450 | 0.0 | - |
420
+ | 22.8519 | 12500 | 0.0 | - |
421
+ | 22.9433 | 12550 | 0.0 | - |
422
+ | 23.0347 | 12600 | 0.0 | - |
423
+ | 23.1261 | 12650 | 0.0 | - |
424
+ | 23.2176 | 12700 | 0.0 | - |
425
+ | 23.3090 | 12750 | 0.0 | - |
426
+ | 23.4004 | 12800 | 0.0 | - |
427
+ | 23.4918 | 12850 | 0.0 | - |
428
+ | 23.5832 | 12900 | 0.0 | - |
429
+ | 23.6746 | 12950 | 0.0 | - |
430
+ | 23.7660 | 13000 | 0.0 | - |
431
+ | 23.8574 | 13050 | 0.0 | - |
432
+ | 23.9488 | 13100 | 0.0 | - |
433
+ | 24.0402 | 13150 | 0.0 | - |
434
+ | 24.1316 | 13200 | 0.0 | - |
435
+ | 24.2230 | 13250 | 0.0 | - |
436
+ | 24.3144 | 13300 | 0.0 | - |
437
+ | 24.4059 | 13350 | 0.0 | - |
438
+ | 24.4973 | 13400 | 0.0 | - |
439
+ | 24.5887 | 13450 | 0.0 | - |
440
+ | 24.6801 | 13500 | 0.0 | - |
441
+ | 24.7715 | 13550 | 0.0 | - |
442
+ | 24.8629 | 13600 | 0.0 | - |
443
+ | 24.9543 | 13650 | 0.0 | - |
444
+ | 25.0457 | 13700 | 0.0 | - |
445
+ | 25.1371 | 13750 | 0.0 | - |
446
+ | 25.2285 | 13800 | 0.0 | - |
447
+ | 25.3199 | 13850 | 0.0 | - |
448
+ | 25.4113 | 13900 | 0.0 | - |
449
+ | 25.5027 | 13950 | 0.0 | - |
450
+ | 25.5941 | 14000 | 0.0 | - |
451
+ | 25.6856 | 14050 | 0.0 | - |
452
+ | 25.7770 | 14100 | 0.0 | - |
453
+ | 25.8684 | 14150 | 0.0 | - |
454
+ | 25.9598 | 14200 | 0.0 | - |
455
+ | 26.0512 | 14250 | 0.0 | - |
456
+ | 26.1426 | 14300 | 0.0 | - |
457
+ | 26.2340 | 14350 | 0.0 | - |
458
+ | 26.3254 | 14400 | 0.0 | - |
459
+ | 26.4168 | 14450 | 0.0 | - |
460
+ | 26.5082 | 14500 | 0.0 | - |
461
+ | 26.5996 | 14550 | 0.0 | - |
462
+ | 26.6910 | 14600 | 0.0 | - |
463
+ | 26.7824 | 14650 | 0.0 | - |
464
+ | 26.8739 | 14700 | 0.0 | - |
465
+ | 26.9653 | 14750 | 0.0 | - |
466
+ | 27.0567 | 14800 | 0.0 | - |
467
+ | 27.1481 | 14850 | 0.0 | - |
468
+ | 27.2395 | 14900 | 0.0 | - |
469
+ | 27.3309 | 14950 | 0.0 | - |
470
+ | 27.4223 | 15000 | 0.0 | - |
471
+ | 27.5137 | 15050 | 0.0 | - |
472
+ | 27.6051 | 15100 | 0.0 | - |
473
+ | 27.6965 | 15150 | 0.0 | - |
474
+ | 27.7879 | 15200 | 0.0 | - |
475
+ | 27.8793 | 15250 | 0.0 | - |
476
+ | 27.9707 | 15300 | 0.0 | - |
477
+ | 28.0622 | 15350 | 0.0 | - |
478
+ | 28.1536 | 15400 | 0.0 | - |
479
+ | 28.2450 | 15450 | 0.0 | - |
480
+ | 28.3364 | 15500 | 0.0 | - |
481
+ | 28.4278 | 15550 | 0.0 | - |
482
+ | 28.5192 | 15600 | 0.0 | - |
483
+ | 28.6106 | 15650 | 0.0 | - |
484
+ | 28.7020 | 15700 | 0.0 | - |
485
+ | 28.7934 | 15750 | 0.0 | - |
486
+ | 28.8848 | 15800 | 0.0 | - |
487
+ | 28.9762 | 15850 | 0.0 | - |
488
+ | 29.0676 | 15900 | 0.0 | - |
489
+ | 29.1590 | 15950 | 0.0 | - |
490
+ | 29.2505 | 16000 | 0.0 | - |
491
+ | 29.3419 | 16050 | 0.0 | - |
492
+ | 29.4333 | 16100 | 0.0 | - |
493
+ | 29.5247 | 16150 | 0.0 | - |
494
+ | 29.6161 | 16200 | 0.0 | - |
495
+ | 29.7075 | 16250 | 0.0 | - |
496
+ | 29.7989 | 16300 | 0.0 | - |
497
+ | 29.8903 | 16350 | 0.0 | - |
498
+ | 29.9817 | 16400 | 0.0 | - |
499
+
500
+ ### Framework Versions
501
+ - Python: 3.10.12
502
+ - SetFit: 1.1.0
503
+ - Sentence Transformers: 3.3.1
504
+ - Transformers: 4.44.2
505
+ - PyTorch: 2.2.0a0+81ea7a4
506
+ - Datasets: 3.2.0
507
+ - Tokenizers: 0.19.1
508
+
509
+ ## Citation
510
+
511
+ ### BibTeX
512
+ ```bibtex
513
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
514
+ doi = {10.48550/ARXIV.2209.11055},
515
+ url = {https://arxiv.org/abs/2209.11055},
516
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
517
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
518
+ title = {Efficient Few-Shot Learning Without Prompts},
519
+ publisher = {arXiv},
520
+ year = {2022},
521
+ copyright = {Creative Commons Attribution 4.0 International}
522
+ }
523
+ ```
524
+
525
+ <!--
526
+ ## Glossary
527
+
528
+ *Clearly define terms in order to be accessible across audiences.*
529
+ -->
530
+
531
+ <!--
532
+ ## Model Card Authors
533
+
534
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
535
+ -->
536
+
537
+ <!--
538
+ ## Model Card Contact
539
+
540
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
541
+ -->
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:3c7114de4ba73d3d7f7c0ad083e468274cba17e5ccd0cc33b4b3edf437602d75
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3133565e8338c915c5144e151710800ce192200d6f4135a8a2b0681d10f605a1
3
+ size 43967
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