mini1013 commited on
Commit
7d4f52c
·
verified ·
1 Parent(s): 380ad25

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,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: 머리감는의자 샴푸베드 샴푸대 가정용 목욕침대 세안기 어린이 아기 접의식 블루 출산/육아 > 목욕용품 > 기타목욕용품
9
+ - text: 여성 목욕 유아 샤워 웨딩 플라워 타월 타올 드레스 어린이 파티 가운 플레이 솔리드 잠옷 11=CM11_8-9T 130-140cm 출산/육아
10
+ > 목욕용품 > 유아목욕가운
11
+ - text: 아동용 레이어드나시반팔티 J4385 나시티11호 트임나시13호 출산/육아 > 목욕용품 > 유아목욕가운
12
+ - text: 욕실 타일 바닥 미끄럼방지 스티커 12P 세트 출산/육아 > 목욕용품 > 기타목욕용품
13
+ - text: 가정용 테이블 디지털 온습도 전자기계 욕조온도계 측정기 출산/육아 > 목욕용품 > 유아욕탕온도계
14
+ metrics:
15
+ - accuracy
16
+ pipeline_tag: text-classification
17
+ library_name: setfit
18
+ inference: true
19
+ base_model: mini1013/master_domain
20
+ model-index:
21
+ - name: SetFit with mini1013/master_domain
22
+ results:
23
+ - task:
24
+ type: text-classification
25
+ name: Text Classification
26
+ dataset:
27
+ name: Unknown
28
+ type: unknown
29
+ split: test
30
+ metrics:
31
+ - type: accuracy
32
+ value: 1.0
33
+ name: Accuracy
34
+ ---
35
+
36
+ # SetFit with mini1013/master_domain
37
+
38
+ 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.
39
+
40
+ The model has been trained using an efficient few-shot learning technique that involves:
41
+
42
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
43
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
44
+
45
+ ## Model Details
46
+
47
+ ### Model Description
48
+ - **Model Type:** SetFit
49
+ - **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
50
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
51
+ - **Maximum Sequence Length:** 512 tokens
52
+ - **Number of Classes:** 11 classes
53
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
54
+ <!-- - **Language:** Unknown -->
55
+ <!-- - **License:** Unknown -->
56
+
57
+ ### Model Sources
58
+
59
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
60
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
61
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
62
+
63
+ ### Model Labels
64
+ | Label | Examples |
65
+ |:------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
66
+ | 5.0 | <ul><li>'유키두 물놀이 고래 잠수함 샤워기 출산/육아 > 목욕용품 > 유아목욕장난감'</li><li>'베베라팡 헤엄치는 바다친구들 아기 욕조 물놀이 목욕놀이장난감 거북이 블루 출산/육아 > 목욕용품 > 유아목욕장난감'</li><li>'KC인증 목욕놀이 장난감 (고래,거북이,오리,상어) 유아 아기 물놀이 욕조 태엽 장난감 단품구성_큰고래(핑크) 출산/육아 > 목욕용품 > 유아목욕장난감'</li></ul> |
67
+ | 7.0 | <ul><li>'릴린져샴푸캡 아기 목욕모자 샤워캡 블루 출산/육아 > 목욕용품 > 유아샴푸캡'</li><li>'돗투돗 말랑 샴푸캡 유아 목욕용품 해어캡 신생아 샴푸모자 돗바니 출산/육아 > 목욕용품 > 유아샴푸캡'</li><li>'[귀애우비] 육아꿀템 아기목욕 귀 방수 스티커 출산선물 수영장 편한착용 안아픔 샴푸캡 소형(세트) - 2Box (100매) 출산/육아 > 목욕용품 > 유아샴푸캡'</li></ul> |
68
+ | 1.0 | <ul><li>'고리에거는 아이장난감정리망 그물주머니 흰색 출산/육아 > 목욕용품 > 욕실정리망/정리함'</li><li>'욕실그물망 정리 함 가방 수납 장난감 화이트 DC002879 출산/육아 > 목욕용품 > 욕실정리망/정리함'</li><li>'리빙 세탁바구니 1P 29x41x36cm 옷빨래 다용도수납 화이트 출산/육아 > 목욕용품 > 욕실정리망/정리함'</li></ul> |
69
+ | 9.0 | <ul><li>'아이너바움 비건인증 홈 케어 5종 (세탁+섬유+주방+토이+욕조) 세탁세제(코튼블랑)_섬유유연제(스윗선데이)_주방세제 (시트러스/액상형) 출산/육아 > 목욕용품 > 유아욕조'</li><li>'스토케 플렉시바스 아기욕조 라지 화이트 출산/육아 > 목욕용품 > 유아욕조'</li><li>'오케이베이비 오플라 아기욕조 히포 샴푸캡 세트 동의합니다_모카그레이_민트그린 출산/육아 > 목욕용품 > 유아욕조'</li></ul> |
70
+ | 6.0 | <ul><li>'어린이집수건 먼지없는 소창 고리수건 3겹(30X30) 5장세트 유치원 이름자수 핸드타올 소창 고리수건 3겹(30X30)-수건아래-5장_다크블루_그린 출산/육아 > 목욕용품 > 유아목욕타월'</li><li>'베이비꼬 아기목욕타월 옐로우 출산/육아 > 목욕용품 > 유아목욕타월'</li><li>'송월 베이비 어린이집 고리 수건 선물 이름자수 준비물 손수건 베이비시리즈_퍼플(열기구) 출산/육아 > 목욕용품 > 유아목욕타월'</li></ul> |
71
+ | 4.0 | <ul><li>'샤워 타올 스틱 손잡이 볼 욕실용품 볼브러쉬 등 바디 블루 출산/육아 > 목욕용품 > 유아목욕장갑/스펀지'</li><li>'비비또 실리콘 아기목욕장갑 스펀지 신생아 유아 샤워볼 아기목욕장갑 2P(10% 할인)_헤븐리핑크_발틱블루 출산/육아 > 목욕용품 > 유아목욕장갑/스펀지'</li><li>'뉴 샤워기 거치대 각도조절 샤워기홀더 편리한 욕실용품 생활용품 샤워기걸이 당일출고 데일리 01.180캐릭터샤워홀더-버드 출산/육아 > 목욕용품 > 유아목욕장갑/스펀지'</li></ul> |
72
+ | 8.0 | <ul><li>'유아 어린이 손씻기 세면대 수도꼭지 연장 물받이 회색 출산/육아 > 목욕용품 > 유아세면대/수도꼭지'</li><li>'모던 수도꼭지 연장탭 베이지 출산/육아 > 목욕용품 > 유아세면대/수도꼭지'</li><li>'버드시아 유아 세면대 (장난감놀이/신생아욕조/목욕놀이) 연그레이 출산/육아 > 목욕용품 > 유아세면대/수도꼭지'</li></ul> |
73
+ | 2.0 | <ul><li>'유아 비치가운 어린이 목욕가운 아기 타올 베이비 오리 출산/육아 > 목욕용품 > 유아목욕가운'</li><li>'목욕 잠옷 가운 샤워 키구 동물 어린이 유니콘 플란넬 겨울 루미 유아 드레싱 타월 후드 11=Pinkstarunicorn_5 출산/육아 > 목욕용품 > 유아목욕가운'</li><li>'스프링스트라이프조끼 오렌지_120 출산/육아 > 목욕용품 > 유아목욕가운'</li></ul> |
74
+ | 3.0 | <ul><li>'부품 : 아기비데 - 3in1 받침대 업그레이드 신생아 유아 출산선물 국내생산 색상추가 컴포트 3세대 받침대-엘레강스 아이보리 - 그린 출산/육아 > 목욕용품 > 유아목욕의자'</li><li>'목욕의자 미용실 머리 샴푸 대형 실내 교육 업소 의자 D 출산/육아 > 목욕용품 > 유아목욕의자'</li><li>'웰빙 은나노 목욕 의자 대 핑크 출산/육아 > 목욕용품 > 유아목욕의자'</li></ul> |
75
+ | 0.0 | <ul><li>'나무 욕조 히노끼 이동식 홈 스타 사우나 목욕 삼나무 장90 x58 78+커버(친환경 왁스) 출산/육아 > 목욕용품 > 기타목욕용품'</li><li>'두근두근 점프대 목욕놀이 세트 3pcs 출산/육아 > 목욕용품 > 기타목욕용품'</li><li>'창신 베어트리 욕실 용품 양치컵 욕실의자 칫솔꽂이 4.창신 베어트리 욕실의자(대) 출산/육아 > 목욕용품 > 기타목욕용품'</li></ul> |
76
+ | 10.0 | <ul><li>'밀폐형 전해 셀, 3 전극 시스템 반응기 매칭 165900 50ml 165900 50ml 출산/육아 > 목욕용품 > 유아욕탕온도계'</li><li>'직수입 디지털 온도계 습도계 탕온계 모음 스마일(심플) 온습도계 핑크 02.스마일(패턴)온습도계_화이트 출산/육아 > 목욕용품 > 유아욕탕온도계'</li><li>'(건전지 포함)디지털 대화면 온습도계 아날로그 욕실 육추기 병아리 오리 탕온도 병아리 계란 아날로그온습도계 출산/육아 > 목욕용품 > 유아욕탕온도계'</li></ul> |
77
+
78
+ ## Evaluation
79
+
80
+ ### Metrics
81
+ | Label | Accuracy |
82
+ |:--------|:---------|
83
+ | **all** | 1.0 |
84
+
85
+ ## Uses
86
+
87
+ ### Direct Use for Inference
88
+
89
+ First install the SetFit library:
90
+
91
+ ```bash
92
+ pip install setfit
93
+ ```
94
+
95
+ Then you can load this model and run inference.
96
+
97
+ ```python
98
+ from setfit import SetFitModel
99
+
100
+ # Download from the 🤗 Hub
101
+ model = SetFitModel.from_pretrained("mini1013/master_cate_bc4")
102
+ # Run inference
103
+ preds = model("욕실 타일 바닥 미끄럼방지 스티커 12P 세트 출산/육아 > 목욕용품 > 기타목욕용품")
104
+ ```
105
+
106
+ <!--
107
+ ### Downstream Use
108
+
109
+ *List how someone could finetune this model on their own dataset.*
110
+ -->
111
+
112
+ <!--
113
+ ### Out-of-Scope Use
114
+
115
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
116
+ -->
117
+
118
+ <!--
119
+ ## Bias, Risks and Limitations
120
+
121
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
122
+ -->
123
+
124
+ <!--
125
+ ### Recommendations
126
+
127
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
128
+ -->
129
+
130
+ ## Training Details
131
+
132
+ ### Training Set Metrics
133
+ | Training set | Min | Median | Max |
134
+ |:-------------|:----|:--------|:----|
135
+ | Word count | 7 | 14.2403 | 27 |
136
+
137
+ | Label | Training Sample Count |
138
+ |:------|:----------------------|
139
+ | 0.0 | 70 |
140
+ | 1.0 | 70 |
141
+ | 2.0 | 70 |
142
+ | 3.0 | 70 |
143
+ | 4.0 | 70 |
144
+ | 5.0 | 70 |
145
+ | 6.0 | 70 |
146
+ | 7.0 | 70 |
147
+ | 8.0 | 70 |
148
+ | 9.0 | 70 |
149
+ | 10.0 | 70 |
150
+
151
+ ### Training Hyperparameters
152
+ - batch_size: (256, 256)
153
+ - num_epochs: (30, 30)
154
+ - max_steps: -1
155
+ - sampling_strategy: oversampling
156
+ - num_iterations: 50
157
+ - body_learning_rate: (2e-05, 1e-05)
158
+ - head_learning_rate: 0.01
159
+ - loss: CosineSimilarityLoss
160
+ - distance_metric: cosine_distance
161
+ - margin: 0.25
162
+ - end_to_end: False
163
+ - use_amp: False
164
+ - warmup_proportion: 0.1
165
+ - l2_weight: 0.01
166
+ - seed: 42
167
+ - eval_max_steps: -1
168
+ - load_best_model_at_end: False
169
+
170
+ ### Training Results
171
+ | Epoch | Step | Training Loss | Validation Loss |
172
+ |:-------:|:----:|:-------------:|:---------------:|
173
+ | 0.0066 | 1 | 0.4891 | - |
174
+ | 0.3311 | 50 | 0.5008 | - |
175
+ | 0.6623 | 100 | 0.4057 | - |
176
+ | 0.9934 | 150 | 0.3132 | - |
177
+ | 1.3245 | 200 | 0.176 | - |
178
+ | 1.6556 | 250 | 0.0868 | - |
179
+ | 1.9868 | 300 | 0.0349 | - |
180
+ | 2.3179 | 350 | 0.0133 | - |
181
+ | 2.6490 | 400 | 0.0018 | - |
182
+ | 2.9801 | 450 | 0.0006 | - |
183
+ | 3.3113 | 500 | 0.0004 | - |
184
+ | 3.6424 | 550 | 0.0005 | - |
185
+ | 3.9735 | 600 | 0.0003 | - |
186
+ | 4.3046 | 650 | 0.0002 | - |
187
+ | 4.6358 | 700 | 0.0002 | - |
188
+ | 4.9669 | 750 | 0.0002 | - |
189
+ | 5.2980 | 800 | 0.0001 | - |
190
+ | 5.6291 | 850 | 0.0001 | - |
191
+ | 5.9603 | 900 | 0.0001 | - |
192
+ | 6.2914 | 950 | 0.0001 | - |
193
+ | 6.6225 | 1000 | 0.0001 | - |
194
+ | 6.9536 | 1050 | 0.0001 | - |
195
+ | 7.2848 | 1100 | 0.0001 | - |
196
+ | 7.6159 | 1150 | 0.0001 | - |
197
+ | 7.9470 | 1200 | 0.0001 | - |
198
+ | 8.2781 | 1250 | 0.0001 | - |
199
+ | 8.6093 | 1300 | 0.0001 | - |
200
+ | 8.9404 | 1350 | 0.0001 | - |
201
+ | 9.2715 | 1400 | 0.0001 | - |
202
+ | 9.6026 | 1450 | 0.0 | - |
203
+ | 9.9338 | 1500 | 0.0001 | - |
204
+ | 10.2649 | 1550 | 0.0 | - |
205
+ | 10.5960 | 1600 | 0.0 | - |
206
+ | 10.9272 | 1650 | 0.0 | - |
207
+ | 11.2583 | 1700 | 0.0 | - |
208
+ | 11.5894 | 1750 | 0.0 | - |
209
+ | 11.9205 | 1800 | 0.0 | - |
210
+ | 12.2517 | 1850 | 0.0 | - |
211
+ | 12.5828 | 1900 | 0.0 | - |
212
+ | 12.9139 | 1950 | 0.0 | - |
213
+ | 13.2450 | 2000 | 0.0 | - |
214
+ | 13.5762 | 2050 | 0.0 | - |
215
+ | 13.9073 | 2100 | 0.0 | - |
216
+ | 14.2384 | 2150 | 0.0 | - |
217
+ | 14.5695 | 2200 | 0.0 | - |
218
+ | 14.9007 | 2250 | 0.0 | - |
219
+ | 15.2318 | 2300 | 0.0 | - |
220
+ | 15.5629 | 2350 | 0.0 | - |
221
+ | 15.8940 | 2400 | 0.0 | - |
222
+ | 16.2252 | 2450 | 0.0 | - |
223
+ | 16.5563 | 2500 | 0.0 | - |
224
+ | 16.8874 | 2550 | 0.0 | - |
225
+ | 17.2185 | 2600 | 0.0 | - |
226
+ | 17.5497 | 2650 | 0.0 | - |
227
+ | 17.8808 | 2700 | 0.0 | - |
228
+ | 18.2119 | 2750 | 0.0 | - |
229
+ | 18.5430 | 2800 | 0.0 | - |
230
+ | 18.8742 | 2850 | 0.0 | - |
231
+ | 19.2053 | 2900 | 0.0 | - |
232
+ | 19.5364 | 2950 | 0.0 | - |
233
+ | 19.8675 | 3000 | 0.0 | - |
234
+ | 20.1987 | 3050 | 0.0 | - |
235
+ | 20.5298 | 3100 | 0.0 | - |
236
+ | 20.8609 | 3150 | 0.0 | - |
237
+ | 21.1921 | 3200 | 0.0 | - |
238
+ | 21.5232 | 3250 | 0.0 | - |
239
+ | 21.8543 | 3300 | 0.0 | - |
240
+ | 22.1854 | 3350 | 0.0 | - |
241
+ | 22.5166 | 3400 | 0.0 | - |
242
+ | 22.8477 | 3450 | 0.0 | - |
243
+ | 23.1788 | 3500 | 0.0 | - |
244
+ | 23.5099 | 3550 | 0.0 | - |
245
+ | 23.8411 | 3600 | 0.0 | - |
246
+ | 24.1722 | 3650 | 0.0 | - |
247
+ | 24.5033 | 3700 | 0.0 | - |
248
+ | 24.8344 | 3750 | 0.0 | - |
249
+ | 25.1656 | 3800 | 0.0 | - |
250
+ | 25.4967 | 3850 | 0.0 | - |
251
+ | 25.8278 | 3900 | 0.0 | - |
252
+ | 26.1589 | 3950 | 0.0 | - |
253
+ | 26.4901 | 4000 | 0.0 | - |
254
+ | 26.8212 | 4050 | 0.0 | - |
255
+ | 27.1523 | 4100 | 0.0 | - |
256
+ | 27.4834 | 4150 | 0.0 | - |
257
+ | 27.8146 | 4200 | 0.0 | - |
258
+ | 28.1457 | 4250 | 0.0 | - |
259
+ | 28.4768 | 4300 | 0.0 | - |
260
+ | 28.8079 | 4350 | 0.0 | - |
261
+ | 29.1391 | 4400 | 0.0 | - |
262
+ | 29.4702 | 4450 | 0.0 | - |
263
+ | 29.8013 | 4500 | 0.0 | - |
264
+
265
+ ### Framework Versions
266
+ - Python: 3.10.12
267
+ - SetFit: 1.1.0
268
+ - Sentence Transformers: 3.3.1
269
+ - Transformers: 4.44.2
270
+ - PyTorch: 2.2.0a0+81ea7a4
271
+ - Datasets: 3.2.0
272
+ - Tokenizers: 0.19.1
273
+
274
+ ## Citation
275
+
276
+ ### BibTeX
277
+ ```bibtex
278
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
279
+ doi = {10.48550/ARXIV.2209.11055},
280
+ url = {https://arxiv.org/abs/2209.11055},
281
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
282
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
283
+ title = {Efficient Few-Shot Learning Without Prompts},
284
+ publisher = {arXiv},
285
+ year = {2022},
286
+ copyright = {Creative Commons Attribution 4.0 International}
287
+ }
288
+ ```
289
+
290
+ <!--
291
+ ## Glossary
292
+
293
+ *Clearly define terms in order to be accessible across audiences.*
294
+ -->
295
+
296
+ <!--
297
+ ## Model Card Authors
298
+
299
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
300
+ -->
301
+
302
+ <!--
303
+ ## Model Card Contact
304
+
305
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
306
+ -->
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mini1013/master_item_bc",
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:e25142d4817492d9ea9dad883c027f7902435b0a24a8f69b84c74b4f32e32ab7
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70ef6b12f91f5e193cdfa2dadda36c93444dbb036703e19a79dee530d1442d87
3
+ size 68575
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