mini1013 commited on
Commit
9f2852e
·
verified ·
1 Parent(s): 8f64542

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,336 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: 신한벽지 스케치 실크벽지 신비로운 새벽 폭106cm 1롤 15 5m 15099-1 가구/인테리어>DIY자재/용품>벽지>실크벽지
9
+ - text: 네오디움 사각 자석 가로x세로x높이 부영 마그네트 캐취 철물 자재 부속 BYNDSB-40-25-10 가구/인테리어>DIY자재/용품>가구부속품>경첩/꺽쇠/자석철물류
10
+ - text: 다용도 방수 알미늄 시트지 방유 주방 가구/인테리어>DIY자재/용품>시트지>타일시트지
11
+ - text: 카우보이 도어 스윙 1개 카운터 중문 바 협소 화장실 가구/인테리어>DIY자재/용품>리모델링>중문
12
+ - text: 피스커버 못자국 스티커 구멍 흠집 보수 가리기 가구/인테리어>DIY자재/용품>접착제/보수용품
13
+ metrics:
14
+ - accuracy
15
+ pipeline_tag: text-classification
16
+ library_name: setfit
17
+ inference: true
18
+ base_model: mini1013/master_domain
19
+ model-index:
20
+ - name: SetFit with mini1013/master_domain
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 mini1013/master_domain
36
+
37
+ 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.
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:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
49
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
50
+ - **Maximum Sequence Length:** 512 tokens
51
+ - **Number of Classes:** 14 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
+ | 6.0 | <ul><li>'스텐파이프 4M 지름 12 두께 0 9T STS304 가구/인테리어>DIY자재/용품>반제품'</li><li>'필립스2100 에그 미니 보풀제거기 충전식 강력 6중날 가구/인테리어>DIY자재/용품>반제품'</li><li>'피카소 벽지벽면용 4L 칼라메이트 7인치 도구세트 제르니 노루페인트 DP5020 가구/인테리어>DIY자재/용품>반제품'</li></ul> |
66
+ | 4.0 | <ul><li>'굽도리 걸레받이 천정 몰딩 16색 노본 6m 12m 25m 기본형 광폭 와이드굽도리 가구/인테리어>DIY자재/용품>몰딩'</li><li>'깨끗 선정리 몰딩 신형고강도 2호 1박스 100개 걸레받이 선가리개 전선몰드 바닥 전기선 쫄대 가구/인테리어>DIY자재/용품>몰딩'</li><li>'전선몰딩 사각 3호 가구/인테리어>DIY자재/용품>몰딩'</li></ul> |
67
+ | 9.0 | <ul><li>'방수벽 시트지 접착식 스티커 부엌 타일 인테리어 내화성 가구/인테리어>DIY자재/용품>시트지>타일시트지'</li><li>'토리시트 x 5M 무광 연분홍 컬러시트지 단색시트 실루엣카메오4 실루엣포트레이트 사용가능 가구/인테리어>DIY자재/용품>시트지>단색시트지'</li><li>'타일 은박 시트지 10M 대용량 주방 싱크대 가구/인테리어>DIY자재/용품>시트지>타일시트지'</li></ul> |
68
+ | 13.0 | <ul><li>'영림임업 월판넬 아트월 오브제 템바보드 직각 대형 1200x2400x15T 구직각템바 주문재 영림161 1개 가구/인테리어>DIY자재/용품>패널'</li><li>'나무아트��� 벽 패널 유럽 인테리어 나무벽지 마감재 장식 3D 보드 디자인 DIY 판넬 가구/인테리어>DIY자재/용품>패널'</li><li>'투명 패널 보드 3장 세트 플라스틱 지붕 선샤인 캐노피 FRP 아크릴 야외 판넬 가구/인테리어>DIY자재/용품>패널'</li></ul> |
69
+ | 7.0 | <ul><li>'도배 벽지 풀 바르는 기계 시공 롤러 접착 풀칠 셀프 스테인리스 가구/인테리어>DIY자재/용품>벽지>기타벽지'</li><li>'방수 실크벽지 1mX10m 스티커 천정 인테리어 셀프도배 로제 접착식벽지 광폭합지 부분 가구/인테리어>DIY자재/용품>벽지>뮤럴벽지'</li><li>'LX하우시스 테라피 따스한화이트 1롤 5평 친환경 실크벽지 7043-01 가구/인테리어>DIY자재/용품>벽지>실크벽지'</li></ul> |
70
+ | 11.0 | <ul><li>'욕실천정재 화장실 천창 마감재 리빙보드-L 브라운안티화이트0 8래커 300x600mm 표준 액세서리 300X600 가구/인테리어>DIY자재/용품>타일>도기질타일'</li><li>'원형거울 스테인글라스 거울 모로코 스타일 인테리어 수제 모자이크 가구/인테리어>DIY자재/용품>타일>유리타일'</li><li>'금장 타일 육각 현관 300각 은장 주방 화장실 패턴 300X300 가구/인테리어>DIY자재/용품>타일>자기질타일'</li></ul> |
71
+ | 3.0 | <ul><li>'목재나라 멀바우 집성목 판재 책상 식탁 원목상판 선반 가구/인테리어>DIY자재/용품>목재'</li><li>'목재나라 방킬라이 데크 천연데크 울타리 펜스 가구/인테리어>DIY자재/용품>목재'</li><li>'PB 파티클보드 목재구입 가구/인테리어>DIY자재/용품>목재'</li></ul> |
72
+ | 12.0 | <ul><li>'속빈 콘크리트 블럭 시멘트 큐 공간디자인 PU 구성 요소 경량 중공 벽돌 붓는 예술 장식 가구/인테리어>DIY자재/용품>파벽돌'</li><li>'3D 돌 효과 벽지 DIY 거실 가벽 스티커 PVC벽 가정용 방수 접착 시트지 가구/인테리어>DIY자재/용품>파벽돌'</li><li>'에코스톤볼마커 4개세트 나비 4개 가구/인테리어>DIY자재/용품>파벽돌'</li></ul> |
73
+ | 0.0 | <ul><li>'접시머리 외날피스 철판피스 4x65 10개입 TYF093 가구/인테리어>DIY자재/용품>가구부속품>나사/못'</li><li>'만능 가구다리 높이조절받침대 소음방지 4개입 가구/인테리어>DIY자재/용품>가구부속품>가구바퀴'</li><li>'가구용 황동 주물 두줄 장식장다리 가구/인테리어>DIY자재/용품>가구부속품>가구다리'</li></ul> |
74
+ | 5.0 | <ul><li>'조립식 데크 타일 초콜릿 가구/인테리어>DIY자재/용품>바닥재>마루'</li><li>'LG 데코타일 에코노 600 mm 9장 1평 1Box 엘지 테코타일 셀프시공 DTE6262-A3 3TX600X600 가구/인테리어>DIY자재/용품>바닥재>기타바닥재'</li><li>'LX하우시스 렉스코트 6 5T 기능성 시트 상업용 바닥재 솔리드 1롤 15M SPF6403 가구/인테리어>DIY자재/용품>바닥재>장판'</li></ul> |
75
+ | 1.0 | <ul><li>'스티커 그래픽s 커피타임 GDT-967 가구/인테리어>DIY자재/용품>데코스티커'</li><li>'오버그로우 스마일동물캐릭터 아동방 벽장식 포인트스티커 벽인테리어B 가구/인테리어>DIY자재/용품>데코스티커'</li><li>'INNOTECH 금연구역 스티커 금연 축광 야광 형광 위치표시 안전 소방 5800C01 4800C1 가구/인테리어>DIY자재/용품>데코스티커'</li></ul> |
76
+ | 2.0 | <ul><li>'대림비앤코 디움 멜로우데이지 플러스 거실욕실 리모델링 가구/인테리어>DIY자재/용품>리모델링>욕실/바스'</li><li>'화이트 카우보이문 카페 스윙도어 화장실 입구 중문 가구/인테리어>DIY자재/용품>리모델링>중문'</li><li>'국산 턱없는 신주평 호차 롤러 창문로라 문바퀴 문틀교체 슬라이딩 가구/인테리어>DIY자재/용품>리모델링>창문/창호/새시'</li></ul> |
77
+ | 10.0 | <ul><li>'가죽 가구 보수 리폼 패치 수선 시트지 스티커 가구/인테리어>DIY자재/용품>접착제/보수용품'</li><li>'마루 가구 보수재 크레용 연성컬러 네오스틱 7번 가구/인테리어>DIY자재/용품>접착제/보수용품'</li><li>'가죽 보수스티커120x60 대형 쇼파 의자 셀프수리 리폼 패치 가구/인테리어>DIY자재/용품>접착제/보수용품'</li></ul> |
78
+ | 8.0 | <ul><li>'DP 5B AL 주물손잡이 빈티지 레트로 엔틱 중문 문손잡이 전면고정 가구/인테리어>DIY자재/용품>손잡이'</li><li>'가구손잡이 싱크대 신발장 서랍장 엔틱 가구손잡이 가구/인테리어>DIY자재/용품>손잡이'</li><li>'SJB 방문손잡이 방문고리 문고리 문 손잡이 DIY AL920 가구/인테리어>DIY자재/용품>손잡이'</li></ul> |
79
+
80
+ ## Evaluation
81
+
82
+ ### Metrics
83
+ | Label | Accuracy |
84
+ |:--------|:---------|
85
+ | **all** | 1.0 |
86
+
87
+ ## Uses
88
+
89
+ ### Direct Use for Inference
90
+
91
+ First install the SetFit library:
92
+
93
+ ```bash
94
+ pip install setfit
95
+ ```
96
+
97
+ Then you can load this model and run inference.
98
+
99
+ ```python
100
+ from setfit import SetFitModel
101
+
102
+ # Download from the 🤗 Hub
103
+ model = SetFitModel.from_pretrained("mini1013/master_cate_fi0")
104
+ # Run inference
105
+ preds = model("다용도 방수 알미늄 시트지 방유 주방 가구/인테리어>DIY자재/용품>시트지>타일시트지")
106
+ ```
107
+
108
+ <!--
109
+ ### Downstream Use
110
+
111
+ *List how someone could finetune this model on their own dataset.*
112
+ -->
113
+
114
+ <!--
115
+ ### Out-of-Scope Use
116
+
117
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
118
+ -->
119
+
120
+ <!--
121
+ ## Bias, Risks and Limitations
122
+
123
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
124
+ -->
125
+
126
+ <!--
127
+ ### Recommendations
128
+
129
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
130
+ -->
131
+
132
+ ## Training Details
133
+
134
+ ### Training Set Metrics
135
+ | Training set | Min | Median | Max |
136
+ |:-------------|:----|:-------|:----|
137
+ | Word count | 2 | 9.0153 | 20 |
138
+
139
+ | Label | Training Sample Count |
140
+ |:------|:----------------------|
141
+ | 0.0 | 70 |
142
+ | 1.0 | 70 |
143
+ | 2.0 | 70 |
144
+ | 3.0 | 70 |
145
+ | 4.0 | 70 |
146
+ | 5.0 | 70 |
147
+ | 6.0 | 70 |
148
+ | 7.0 | 70 |
149
+ | 8.0 | 70 |
150
+ | 9.0 | 70 |
151
+ | 10.0 | 70 |
152
+ | 11.0 | 70 |
153
+ | 12.0 | 70 |
154
+ | 13.0 | 70 |
155
+
156
+ ### Training Hyperparameters
157
+ - batch_size: (256, 256)
158
+ - num_epochs: (30, 30)
159
+ - max_steps: -1
160
+ - sampling_strategy: oversampling
161
+ - num_iterations: 50
162
+ - body_learning_rate: (2e-05, 1e-05)
163
+ - head_learning_rate: 0.01
164
+ - loss: CosineSimilarityLoss
165
+ - distance_metric: cosine_distance
166
+ - margin: 0.25
167
+ - end_to_end: False
168
+ - use_amp: False
169
+ - warmup_proportion: 0.1
170
+ - l2_weight: 0.01
171
+ - seed: 42
172
+ - eval_max_steps: -1
173
+ - load_best_model_at_end: False
174
+
175
+ ### Training Results
176
+ | Epoch | Step | Training Loss | Validation Loss |
177
+ |:-------:|:----:|:-------------:|:---------------:|
178
+ | 0.0052 | 1 | 0.4943 | - |
179
+ | 0.2604 | 50 | 0.497 | - |
180
+ | 0.5208 | 100 | 0.4938 | - |
181
+ | 0.7812 | 150 | 0.454 | - |
182
+ | 1.0417 | 200 | 0.31 | - |
183
+ | 1.3021 | 250 | 0.0825 | - |
184
+ | 1.5625 | 300 | 0.0174 | - |
185
+ | 1.8229 | 350 | 0.0104 | - |
186
+ | 2.0833 | 400 | 0.0018 | - |
187
+ | 2.3438 | 450 | 0.0002 | - |
188
+ | 2.6042 | 500 | 0.0001 | - |
189
+ | 2.8646 | 550 | 0.0001 | - |
190
+ | 3.125 | 600 | 0.0001 | - |
191
+ | 3.3854 | 650 | 0.0001 | - |
192
+ | 3.6458 | 700 | 0.0001 | - |
193
+ | 3.9062 | 750 | 0.0 | - |
194
+ | 4.1667 | 800 | 0.0 | - |
195
+ | 4.4271 | 850 | 0.0 | - |
196
+ | 4.6875 | 900 | 0.0 | - |
197
+ | 4.9479 | 950 | 0.0 | - |
198
+ | 5.2083 | 1000 | 0.0 | - |
199
+ | 5.4688 | 1050 | 0.0 | - |
200
+ | 5.7292 | 1100 | 0.0 | - |
201
+ | 5.9896 | 1150 | 0.0 | - |
202
+ | 6.25 | 1200 | 0.0 | - |
203
+ | 6.5104 | 1250 | 0.0 | - |
204
+ | 6.7708 | 1300 | 0.0 | - |
205
+ | 7.0312 | 1350 | 0.0 | - |
206
+ | 7.2917 | 1400 | 0.0 | - |
207
+ | 7.5521 | 1450 | 0.0 | - |
208
+ | 7.8125 | 1500 | 0.0 | - |
209
+ | 8.0729 | 1550 | 0.0 | - |
210
+ | 8.3333 | 1600 | 0.0 | - |
211
+ | 8.5938 | 1650 | 0.0 | - |
212
+ | 8.8542 | 1700 | 0.0 | - |
213
+ | 9.1146 | 1750 | 0.0 | - |
214
+ | 9.375 | 1800 | 0.0 | - |
215
+ | 9.6354 | 1850 | 0.0 | - |
216
+ | 9.8958 | 1900 | 0.0 | - |
217
+ | 10.1562 | 1950 | 0.0 | - |
218
+ | 10.4167 | 2000 | 0.0 | - |
219
+ | 10.6771 | 2050 | 0.0 | - |
220
+ | 10.9375 | 2100 | 0.0 | - |
221
+ | 11.1979 | 2150 | 0.0 | - |
222
+ | 11.4583 | 2200 | 0.0 | - |
223
+ | 11.7188 | 2250 | 0.0 | - |
224
+ | 11.9792 | 2300 | 0.0 | - |
225
+ | 12.2396 | 2350 | 0.0 | - |
226
+ | 12.5 | 2400 | 0.0 | - |
227
+ | 12.7604 | 2450 | 0.0 | - |
228
+ | 13.0208 | 2500 | 0.0 | - |
229
+ | 13.2812 | 2550 | 0.0 | - |
230
+ | 13.5417 | 2600 | 0.0 | - |
231
+ | 13.8021 | 2650 | 0.0 | - |
232
+ | 14.0625 | 2700 | 0.0 | - |
233
+ | 14.3229 | 2750 | 0.0 | - |
234
+ | 14.5833 | 2800 | 0.0 | - |
235
+ | 14.8438 | 2850 | 0.0 | - |
236
+ | 15.1042 | 2900 | 0.0 | - |
237
+ | 15.3646 | 2950 | 0.0 | - |
238
+ | 15.625 | 3000 | 0.0 | - |
239
+ | 15.8854 | 3050 | 0.0 | - |
240
+ | 16.1458 | 3100 | 0.0 | - |
241
+ | 16.4062 | 3150 | 0.0 | - |
242
+ | 16.6667 | 3200 | 0.0 | - |
243
+ | 16.9271 | 3250 | 0.0 | - |
244
+ | 17.1875 | 3300 | 0.0 | - |
245
+ | 17.4479 | 3350 | 0.0 | - |
246
+ | 17.7083 | 3400 | 0.0 | - |
247
+ | 17.9688 | 3450 | 0.0 | - |
248
+ | 18.2292 | 3500 | 0.0 | - |
249
+ | 18.4896 | 3550 | 0.0 | - |
250
+ | 18.75 | 3600 | 0.0 | - |
251
+ | 19.0104 | 3650 | 0.0 | - |
252
+ | 19.2708 | 3700 | 0.0 | - |
253
+ | 19.5312 | 3750 | 0.0 | - |
254
+ | 19.7917 | 3800 | 0.0 | - |
255
+ | 20.0521 | 3850 | 0.0 | - |
256
+ | 20.3125 | 3900 | 0.0 | - |
257
+ | 20.5729 | 3950 | 0.0 | - |
258
+ | 20.8333 | 4000 | 0.0 | - |
259
+ | 21.0938 | 4050 | 0.0 | - |
260
+ | 21.3542 | 4100 | 0.0 | - |
261
+ | 21.6146 | 4150 | 0.0 | - |
262
+ | 21.875 | 4200 | 0.0 | - |
263
+ | 22.1354 | 4250 | 0.0 | - |
264
+ | 22.3958 | 4300 | 0.0 | - |
265
+ | 22.6562 | 4350 | 0.0 | - |
266
+ | 22.9167 | 4400 | 0.0 | - |
267
+ | 23.1771 | 4450 | 0.0 | - |
268
+ | 23.4375 | 4500 | 0.0 | - |
269
+ | 23.6979 | 4550 | 0.0 | - |
270
+ | 23.9583 | 4600 | 0.0 | - |
271
+ | 24.2188 | 4650 | 0.0 | - |
272
+ | 24.4792 | 4700 | 0.0 | - |
273
+ | 24.7396 | 4750 | 0.0 | - |
274
+ | 25.0 | 4800 | 0.0 | - |
275
+ | 25.2604 | 4850 | 0.0 | - |
276
+ | 25.5208 | 4900 | 0.0 | - |
277
+ | 25.7812 | 4950 | 0.0 | - |
278
+ | 26.0417 | 5000 | 0.0 | - |
279
+ | 26.3021 | 5050 | 0.0 | - |
280
+ | 26.5625 | 5100 | 0.0 | - |
281
+ | 26.8229 | 5150 | 0.0 | - |
282
+ | 27.0833 | 5200 | 0.0 | - |
283
+ | 27.3438 | 5250 | 0.0 | - |
284
+ | 27.6042 | 5300 | 0.0 | - |
285
+ | 27.8646 | 5350 | 0.0 | - |
286
+ | 28.125 | 5400 | 0.0 | - |
287
+ | 28.3854 | 5450 | 0.0 | - |
288
+ | 28.6458 | 5500 | 0.0 | - |
289
+ | 28.9062 | 5550 | 0.0 | - |
290
+ | 29.1667 | 5600 | 0.0 | - |
291
+ | 29.4271 | 5650 | 0.0 | - |
292
+ | 29.6875 | 5700 | 0.0 | - |
293
+ | 29.9479 | 5750 | 0.0 | - |
294
+
295
+ ### Framework Versions
296
+ - Python: 3.10.12
297
+ - SetFit: 1.1.0
298
+ - Sentence Transformers: 3.3.1
299
+ - Transformers: 4.44.2
300
+ - PyTorch: 2.2.0a0+81ea7a4
301
+ - Datasets: 3.2.0
302
+ - Tokenizers: 0.19.1
303
+
304
+ ## Citation
305
+
306
+ ### BibTeX
307
+ ```bibtex
308
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
309
+ doi = {10.48550/ARXIV.2209.11055},
310
+ url = {https://arxiv.org/abs/2209.11055},
311
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
312
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
313
+ title = {Efficient Few-Shot Learning Without Prompts},
314
+ publisher = {arXiv},
315
+ year = {2022},
316
+ copyright = {Creative Commons Attribution 4.0 International}
317
+ }
318
+ ```
319
+
320
+ <!--
321
+ ## Glossary
322
+
323
+ *Clearly define terms in order to be accessible across audiences.*
324
+ -->
325
+
326
+ <!--
327
+ ## Model Card Authors
328
+
329
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
330
+ -->
331
+
332
+ <!--
333
+ ## Model Card Contact
334
+
335
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
336
+ -->
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mini1013/master_item_fi",
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
+ "normalize_embeddings": false,
3
+ "labels": null
4
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e60b59d12ee8738a8dbf6c5e26957021cbfd1346940a47539589d5600776af
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1c06e847cf8b4a489ff1f2ce4df21303b244d7b690a30a434225c6066fc55022
3
+ size 87047
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