mini1013 commited on
Commit
4135219
·
verified ·
1 Parent(s): 00616f3

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,326 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: 침대안전가드 침대 안전바 낙상방지 손잡이 난간 난간대 노인 복지용구 장애인 임신부 선물 가구/인테리어>아동/주니어가구>소품가구
9
+ - text: 침대 안전 가드 면 보호 랩 물린 가장자리 아기 레일 범퍼 케어 베이비 제품범퍼 울타리 가구/인테리어>아동/주니어가구>소품가구
10
+ - text: 일하 안전 영아 교구장 장난감정리함 선반 유아책장 수납함 가구/인테리어>아동/주니어가구>책꽂이
11
+ - text: 오운 어린이 침대 프레임 SS 가구/인테리어>아동/주니어가구>침대>일반침대
12
+ - text: 시몬스 로피 N32 하드 침대 SS 가구/인테리어>아동/주니어가구>침대>일반침대
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
+ | 5.0 | <ul><li>'LASSEM 앙드레 키큰 베이비장 주니어 아동 옷장 C1800 IH0929 가구/인테리어>아동/주니어가구>옷장'</li><li>'삼익가구 코코 800 키큰 주니어 베이비 겸용 일반형 옷장 가구/인테리어>아동/주니어가구>옷장'</li><li>'한샘 샘키즈 낮은 오픈옷장 600 가구/인테리어>아동/주니어가구>옷장'</li></ul> |
66
+ | 13.0 | <ul><li>'행거 옷걸이 호랑이 행거 아동 옷걸이 수납 철제 아기옷 키즈 유아 가구/인테리어>아동/주니어가구>행거'</li><li>'아이방 옷방 주니어장 옷걸이 행거 공간활용 옷수납 드레스룸 원룸 옷정리 자취방 매장용 좁은집 스탠드 가구/인테리어>아동/주니어가구>행거'</li><li>'행거 옷걸이 이동식 옷가게 행거 튼튼한 의류매장 진열대 아동복 가구/인테리어>아동/주니어가구>행거'</li></ul> |
67
+ | 1.0 | <ul><li>'가죽 소파 더블 팔걸이 싱글 시트 레저 의자 발 작은 라 15182N4911370 가구/인테리어>아동/주니어가구>소파'</li><li>'어린이 소파 독서각 캐릭터 소파 독서의자 어린이 세척 다다미 쇼파 시트 동물 곰돌이 가구/인테리어>아동/주니어가구>소파'</li><li>'모찌 양털의자 키즈카페 미니 쇼파 가구/인테리어>아동/주니어가구>소파'</li></ul> |
68
+ | 11.0 | <ul><li>'비앙스 VONI 전면 회전책장 4단 가구/인테리어>아동/주니어가구>책장'</li><li>'리바트 톨 키즈 4단 책장 가구/인테리���>아동/주니어가구>책장'</li><li>'일룸 에디키즈 코너장 세트코너장 + 책장 + PL수납장 가구/인테리어>아동/주니어가구>책장'</li></ul> |
69
+ | 2.0 | <ul><li>'침대안전바 침대 안전 가드 낙상방지 난간 아이 펜스 가구/인테리어>아동/주니어가구>소품가구'</li><li>'노루페인트 컬러플러스 홈페인트 방문가구 1L 칼라메이트 4인치 도구세트 쉐인 SP4100 가구/인테리어>아동/주니어가구>소품가구'</li><li>'한샘 샘베딩 스테디 도어 6단(높이194cm) 40cm [몸통미포함] 가구/인테리어>아동/주니어가구>소품가구'</li></ul> |
70
+ | 3.0 | <ul><li>'한샘 샘키즈 낮은 장난감정리함 870 가구/인테리어>아동/주니어가구>수납장'</li><li>'한샘 샘키즈 1단 미니박스 수납책장 870 가구/인테리어>아동/주니어가구>수납장'</li><li>'한샘 샘키즈 코너장 가구/인테리어>아동/주니어가구>수납장'</li></ul> |
71
+ | 6.0 | <ul><li>'이케아 스툴 가구/인테리어>아동/주니어가구>의자'</li><li>'이케아 AGAM 아감 어린이 의자 가구/인테리어>아동/주니어가구>의자'</li><li>'하이솔로몬 팡팡 의자 가구/인테리어>아동/주니어가구>의자'</li></ul> |
72
+ | 7.0 | <ul><li>'히트 400 학원 상담실 전면 책꽂이 낮은 책장 엄마표학습 가구/인테리어>아동/주니어가구>책꽂이'</li><li>'회전식 책꽂이 만화책 도서 사물함 그림책 360도 선반 가구/인테리어>아동/주니어가구>책꽂이'</li><li>'책 거치대 아이방 도서관 서점 그림책 원목 진열대 가구/인테리어>아동/주니어가구>책꽂이'</li></ul> |
73
+ | 0.0 | <ul><li>'자작 1000 와이드 6단 서랍장 가구/인테리어>아동/주니어가구>서랍장'</li><li>'소르니아 카이 와이드 침실 4단 서랍장 가구/인테리어>아동/주니어가구>서랍장'</li><li>'일룸 링키플러스 3단 책상서랍 가구/인테리어>아동/주니어가구>서랍장'</li></ul> |
74
+ | 10.0 | <ul><li>'일루일루 프로스 어린이 책상세트 스퀘어형의자 책상1개 의자2개 가구/인테리어>아동/주니어가구>책상의자세트'</li><li>'휴대용 출장책상의자 여행책상의자 발 선반 해먹 편한 발그네 TWB978A80 가구/인테리어>아동/주니어가구>책상의자세트'</li><li>'유아책상의자세트 어린이 공부방 학원 책상 세트-대형 70x50 1인세트 - ver2 가구/인테리어>아동/주니어가구>책상의자세트'</li></ul> |
75
+ | 8.0 | <ul><li>'이케아 MAMMUT 마무트 어린이 사각 테이블 가구/인테리어>아동/주니어가구>책상'</li><li>'한샘 티오 그로우 일반책상세트 5단 120x75cm 가구/인테리어>아동/주니어가구>책상'</li><li>'아이엔지홈 에디 어린이 각도조절 책상 가구/인테리어>아동/주니어가구>책상'</li></ul> |
76
+ | 4.0 | <ul><li>'UNKNOWN 대관령한우 스페셜 5호 1 8kg 가구/인테리어>아동/주니어가구>아동침실세트'</li><li>'Paperboard Suitcases Vintage Suitcase Portable Composite Wood Map Pattern Design Vintage Storage Ch 가구/인테리어>아동/주니어가구>아동침실세트'</li><li>'키드존 피셔프라이스 범보의자 세트 가구/인테리어>아동/주니어가구>아동침실세트'</li></ul> |
77
+ | 12.0 | <ul><li>'골든스트릿 베스트 리프팅 수납계단형 움직이는 벙커침대 프레임 SS 가구/인테리어>아동/주니어가구>침대>벙커침대'</li><li>'레이디가구 레브 기능성 패브릭 데이베드 볼드헤드 침대 SS + 포그니 22 가구/인테리어>아동/주니어가구>침대>일반침대'</li><li>'슬로우알레 코이 저상형 키즈 침대 원목 데이베드 SS 가구/인테리어>아동/주니어가구>침대>일반침대'</li></ul> |
78
+ | 9.0 | <ul><li>'CASHL 바퀴달린의자 허리 보조 회전의자 이동식 낮은 가구/인테리어>아동/주니어가구>책상의자'</li><li>'UNKNOWN A 책상의자 공부의자 학생용 편한 강의실 메쉬의자 a10 바퀴의자 가구/인테리어>아동/주니어가구>책상의자'</li><li>'학원 도서관 회의실 세미나용 메쉬망 회전 의자 학생의자 오피스의자 가구/인테리어>아동/주니어가구>책상의자'</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_fi7")
104
+ # Run inference
105
+ preds = model("오운 어린이 침대 프레임 SS 가구/인테리어>아동/주니어가구>침대>일반침대")
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 | 3 | 8.3744 | 18 |
138
+
139
+ | Label | Training Sample Count |
140
+ |:------|:----------------------|
141
+ | 0.0 | 65 |
142
+ | 1.0 | 70 |
143
+ | 2.0 | 70 |
144
+ | 3.0 | 70 |
145
+ | 4.0 | 37 |
146
+ | 5.0 | 70 |
147
+ | 6.0 | 21 |
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 | 69 |
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.0057 | 1 | 0.5123 | - |
179
+ | 0.2857 | 50 | 0.5012 | - |
180
+ | 0.5714 | 100 | 0.3699 | - |
181
+ | 0.8571 | 150 | 0.1028 | - |
182
+ | 1.1429 | 200 | 0.0304 | - |
183
+ | 1.4286 | 250 | 0.0147 | - |
184
+ | 1.7143 | 300 | 0.012 | - |
185
+ | 2.0 | 350 | 0.009 | - |
186
+ | 2.2857 | 400 | 0.0074 | - |
187
+ | 2.5714 | 450 | 0.0033 | - |
188
+ | 2.8571 | 500 | 0.004 | - |
189
+ | 3.1429 | 550 | 0.0036 | - |
190
+ | 3.4286 | 600 | 0.0036 | - |
191
+ | 3.7143 | 650 | 0.0036 | - |
192
+ | 4.0 | 700 | 0.0036 | - |
193
+ | 4.2857 | 750 | 0.0027 | - |
194
+ | 4.5714 | 800 | 0.0034 | - |
195
+ | 4.8571 | 850 | 0.004 | - |
196
+ | 5.1429 | 900 | 0.0016 | - |
197
+ | 5.4286 | 950 | 0.0001 | - |
198
+ | 5.7143 | 1000 | 0.0 | - |
199
+ | 6.0 | 1050 | 0.0 | - |
200
+ | 6.2857 | 1100 | 0.0 | - |
201
+ | 6.5714 | 1150 | 0.0 | - |
202
+ | 6.8571 | 1200 | 0.0 | - |
203
+ | 7.1429 | 1250 | 0.0 | - |
204
+ | 7.4286 | 1300 | 0.0 | - |
205
+ | 7.7143 | 1350 | 0.0 | - |
206
+ | 8.0 | 1400 | 0.0 | - |
207
+ | 8.2857 | 1450 | 0.0 | - |
208
+ | 8.5714 | 1500 | 0.0 | - |
209
+ | 8.8571 | 1550 | 0.0 | - |
210
+ | 9.1429 | 1600 | 0.0 | - |
211
+ | 9.4286 | 1650 | 0.0 | - |
212
+ | 9.7143 | 1700 | 0.0 | - |
213
+ | 10.0 | 1750 | 0.0 | - |
214
+ | 10.2857 | 1800 | 0.0 | - |
215
+ | 10.5714 | 1850 | 0.0 | - |
216
+ | 10.8571 | 1900 | 0.0 | - |
217
+ | 11.1429 | 1950 | 0.0 | - |
218
+ | 11.4286 | 2000 | 0.0 | - |
219
+ | 11.7143 | 2050 | 0.0 | - |
220
+ | 12.0 | 2100 | 0.0 | - |
221
+ | 12.2857 | 2150 | 0.0 | - |
222
+ | 12.5714 | 2200 | 0.0 | - |
223
+ | 12.8571 | 2250 | 0.0 | - |
224
+ | 13.1429 | 2300 | 0.0 | - |
225
+ | 13.4286 | 2350 | 0.0 | - |
226
+ | 13.7143 | 2400 | 0.0 | - |
227
+ | 14.0 | 2450 | 0.0 | - |
228
+ | 14.2857 | 2500 | 0.0 | - |
229
+ | 14.5714 | 2550 | 0.0 | - |
230
+ | 14.8571 | 2600 | 0.0 | - |
231
+ | 15.1429 | 2650 | 0.0 | - |
232
+ | 15.4286 | 2700 | 0.0 | - |
233
+ | 15.7143 | 2750 | 0.0 | - |
234
+ | 16.0 | 2800 | 0.0 | - |
235
+ | 16.2857 | 2850 | 0.0 | - |
236
+ | 16.5714 | 2900 | 0.0 | - |
237
+ | 16.8571 | 2950 | 0.0 | - |
238
+ | 17.1429 | 3000 | 0.0 | - |
239
+ | 17.4286 | 3050 | 0.0 | - |
240
+ | 17.7143 | 3100 | 0.0 | - |
241
+ | 18.0 | 3150 | 0.0 | - |
242
+ | 18.2857 | 3200 | 0.0 | - |
243
+ | 18.5714 | 3250 | 0.0 | - |
244
+ | 18.8571 | 3300 | 0.0 | - |
245
+ | 19.1429 | 3350 | 0.0 | - |
246
+ | 19.4286 | 3400 | 0.0 | - |
247
+ | 19.7143 | 3450 | 0.0 | - |
248
+ | 20.0 | 3500 | 0.0 | - |
249
+ | 20.2857 | 3550 | 0.0 | - |
250
+ | 20.5714 | 3600 | 0.0 | - |
251
+ | 20.8571 | 3650 | 0.0 | - |
252
+ | 21.1429 | 3700 | 0.0 | - |
253
+ | 21.4286 | 3750 | 0.0 | - |
254
+ | 21.7143 | 3800 | 0.0 | - |
255
+ | 22.0 | 3850 | 0.0 | - |
256
+ | 22.2857 | 3900 | 0.0 | - |
257
+ | 22.5714 | 3950 | 0.0 | - |
258
+ | 22.8571 | 4000 | 0.0 | - |
259
+ | 23.1429 | 4050 | 0.0 | - |
260
+ | 23.4286 | 4100 | 0.0 | - |
261
+ | 23.7143 | 4150 | 0.0 | - |
262
+ | 24.0 | 4200 | 0.0 | - |
263
+ | 24.2857 | 4250 | 0.0 | - |
264
+ | 24.5714 | 4300 | 0.0 | - |
265
+ | 24.8571 | 4350 | 0.0 | - |
266
+ | 25.1429 | 4400 | 0.0 | - |
267
+ | 25.4286 | 4450 | 0.0 | - |
268
+ | 25.7143 | 4500 | 0.0 | - |
269
+ | 26.0 | 4550 | 0.0 | - |
270
+ | 26.2857 | 4600 | 0.0 | - |
271
+ | 26.5714 | 4650 | 0.0 | - |
272
+ | 26.8571 | 4700 | 0.0 | - |
273
+ | 27.1429 | 4750 | 0.0 | - |
274
+ | 27.4286 | 4800 | 0.0 | - |
275
+ | 27.7143 | 4850 | 0.0 | - |
276
+ | 28.0 | 4900 | 0.0 | - |
277
+ | 28.2857 | 4950 | 0.0 | - |
278
+ | 28.5714 | 5000 | 0.0 | - |
279
+ | 28.8571 | 5050 | 0.0 | - |
280
+ | 29.1429 | 5100 | 0.0 | - |
281
+ | 29.4286 | 5150 | 0.0 | - |
282
+ | 29.7143 | 5200 | 0.0 | - |
283
+ | 30.0 | 5250 | 0.0 | - |
284
+
285
+ ### Framework Versions
286
+ - Python: 3.10.12
287
+ - SetFit: 1.1.0
288
+ - Sentence Transformers: 3.3.1
289
+ - Transformers: 4.44.2
290
+ - PyTorch: 2.2.0a0+81ea7a4
291
+ - Datasets: 3.2.0
292
+ - Tokenizers: 0.19.1
293
+
294
+ ## Citation
295
+
296
+ ### BibTeX
297
+ ```bibtex
298
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
299
+ doi = {10.48550/ARXIV.2209.11055},
300
+ url = {https://arxiv.org/abs/2209.11055},
301
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
302
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
303
+ title = {Efficient Few-Shot Learning Without Prompts},
304
+ publisher = {arXiv},
305
+ year = {2022},
306
+ copyright = {Creative Commons Attribution 4.0 International}
307
+ }
308
+ ```
309
+
310
+ <!--
311
+ ## Glossary
312
+
313
+ *Clearly define terms in order to be accessible across audiences.*
314
+ -->
315
+
316
+ <!--
317
+ ## Model Card Authors
318
+
319
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
320
+ -->
321
+
322
+ <!--
323
+ ## Model Card Contact
324
+
325
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
326
+ -->
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:a5d0ba43607c101604a8297e96f001a5553ad28bde5c9ad2cd274c91a9b44f79
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2cc9ed9ba57c7d2522169b57540ce3b121594d11ab045a473d910575853b1d0
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