mini1013 commited on
Commit
0398534
·
verified ·
1 Parent(s): ddc6caf

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,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: mini1013/master_domain
3
+ library_name: setfit
4
+ metrics:
5
+ - metric
6
+ pipeline_tag: text-classification
7
+ tags:
8
+ - setfit
9
+ - sentence-transformers
10
+ - text-classification
11
+ - generated_from_setfit_trainer
12
+ widget:
13
+ - text: 스마일뱃지 제작 브로치 다양한 크기 문구 삽입가능 별빛(+300원)_뱃지 중(45mm)_200개~399개 맘스뱃지
14
+ - text: 고급 골지압박 타이즈 스타킹 유발 면 겨울 베이지 버징가마켓
15
+ - text: 겨울 목도리 여자 남자 캐시미어 니트 쁘띠 울 머플러 1_솜사탕-MS47 에스랑제이
16
+ - text: 손수건/무지손수건/등산손수건/스카프/등산손수건/두건/KC인증/인쇄가능/개별OPP 무지손수건 [무지손수건] 무지손수건(옐로우) 답돌이월드
17
+ - text: 동백꽃 부토니에 머리핀 코사지(K28) K28-06_머리핀 까만당나귀
18
+ inference: true
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: metric
31
+ value: 0.8556701030927835
32
+ name: Metric
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:** 20 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
+ | 19.0 | <ul><li>'하복 여름용 시원한 베이직 네이비 정장 시선집중 봄 35_38 예이몰'</li><li>'하복 여름용 시원한 베이직 네이비 정장 시선집중 봄 35_42 예이몰'</li><li>'하복 여름용 시원한 베이직 네이비 정장 시선집중 봄 36B_40 예이몰'</li></ul> |
66
+ | 18.0 | <ul><li>'전통 십장생 금은사 금룡 오복 돌띠 남아 여아 돌 백일 여자 남자 애기 아기 한복 돌띠 5번 십장생돌띠(장색) 이제한복'</li><li>'여아 한복 머리띠 족두리 호박 홍시 배씨 장신구 여자 아기 돌 어린이 전통 자수 머리 띠 핀 호박 핀머리띠 레드 청아'</li><li>'엄마옷 삼베 리본 생활한복 두건 KD304133 중년여성 40 50 60대 마담 빅사이즈 할머니 미시 벽돌:FREE AKmall'</li></ul> |
67
+ | 17.0 | <ul><li>'[무료각인]자동차/캐리어 가죽키링/스마트키홀더/네임택/ 남자친구 여자친구 부모님 선물 T자형 (핑크)_골드(유광)_나눔손글씨펜체 더위드블루'</li><li>'귀여운 곰인형 키링 열쇠고리 스웨터 모자 최여시'</li><li>'[무료각인]자동차/캐리어 가죽키링/스마트키홀더/네임택/ 남자친구 여자친구 부모님 선물 T자형 (콰이즈블루)_골드(무광)_나눔바른고딕체 더위드블루'</li></ul> |
68
+ | 2.0 | <ul><li>'셔츠 넥 카라 레이어드 페이크 케이프 2type 둥근카라/화이트 도비77마켓'</li><li>'셔츠카라 넥케이프 페이크카라 레이어드카라 넥커프스 1-카라-화이트 오니온스'</li><li>'넥케이프 스카프 머플러 레이스 페이크 카라 작은 잎 화이트 모멘트1'</li></ul> |
69
+ | 12.0 | <ul><li>'[닥스](광주신세계) 양산 가드닝 PBU003Q 블랙(01) 주식회사 에스에스지닷컴'</li><li>'고급 우양산 남자 초경량 양산 우산 자외선차단 암막 그린 하트 쿨로미-네이비-커뮤니케이션 한정판 서민스토어'</li><li>'암막 하트펀칭코팅 양산 IPLQP40042 스카이 '</li></ul> |
70
+ | 5.0 | <ul><li>'캐시미어 머플러 FKU035 블루 롯데백화점1관'</li><li>'여성 겨울 니트 짜임 목도리 머플러 그레이 엠에스씨'</li><li>'엘르/칼린 롱 쁘띠 니트 머플러 SE04MP3000 택1 선택07 바네사끼움SE34MX304 브라운 AK플라자1관'</li></ul> |
71
+ | 16.0 | <ul><li>'부토니에 결혼식 무도회 꽃 장미 브로치 핀 진주 나비 신부 신랑 새틴 리본 액세서리 13 포시즌스트레이드'</li><li>'부토니에 결혼식용 인공 수국 꽃 실크 머리 50 개 Off White Leaves White Stems_50 PCS 포시즌스트레이드'</li><li>'코르사주 맞춤형 터키 깃털 머리장식 클립 닭 꼬리 코스튬 모자 DS230441 DS230442 포시즌스트레이드'</li></ul> |
72
+ | 11.0 | <ul><li>'BYC 본사 종아리압박밴드 SWG1300 BK(블랙)/F 홈앤쇼핑몰'</li><li>'5묶음 기모 고카바 넌슬립 (바닥실리콘) 아소트 코썸'</li><li>'팬티스타킹/덧신/양말/기모/속바지/판타롱/학생 2_9부 블랙 2매 규리몰'</li></ul> |
73
+ | 9.0 | <ul><li>'[1만원인하]에디티드 브리즈 썸머 원피스+니트숄 076/티파니블루/88 AKmall'</li><li>'어깨숄 어깨에 페이크니트 니트 두르는 가디건 여성 캐주얼 여성스런 숄망토 X. 캐러멜 구루미상회'</li><li>'[헬렌카민스키](신세계타임스퀘어점패션관)[공식] 헬렌카민스키 메르시에 판초 코트 LUWRCT00020 멜란지그레이_OS 주식회사 에스에스지닷컴'</li></ul> |
74
+ | 1.0 | <ul><li>'내셔널지오그래픽 악세사리 악세서리 메쉬쿨토시 1163327 BLACK_M(002) koreamk2'</li><li>'[LAP](신세계김해점)골지 베이직 워머 AP7AYA01 BK(블랙)_FF 주식회사 에스에스지닷컴'</li><li>'가을 겨울 페이크 후드 넥워머 니트 레이어드 바라클라바 모자 방한용품 베이지 다온마켓'</li></ul> |
75
+ | 8.0 | <ul><li>'여성 에티켓 손수건 레이스 무릎 덮개 대형 면 꽃무늬 에티켓03 서울타임즈'</li><li>'일본 수입 스누피 반다나 손수건 6종 스카우트아이보리 키티야'</li><li>'(지나산업)등산손수건/반다나/페이즐리/opp개별포장 블루 infnet16'</li></ul> |
76
+ | 15.0 | <ul><li>'카메라렌즈 커프스 남성 패션 소품 실버 행복세일웃음'</li><li>'블루 넥타이핀 커프스 버튼 831 와이셔츠 타이바 링크 소매 젠틀 안트 넥타이핀 엠에프샵'</li><li>'[6월남자] 카메라 렌즈 커프스 버튼 남자 정장 소품 골드 베라콘'</li></ul> |
77
+ | 0.0 | <ul><li>'미우미우 벨벳 헤어클립 헤어핀 MIUMIU Velvet hair clip 35.5 어리버리샵'</li><li>'허리늘리기 밴딩탭 슬랙스탭 허리조절 셀프수선고무줄 청바지탭 3P 호메르'</li><li>'수도동파방지 덮개 한파방지커버 수도계량기 보온재 비(B)'</li></ul> |
78
+ | 6.0 | <ul><li>'휴대용 접이식 캐릭터 부채 미니사이즈 KK99 6.딸기토끼 안미현'</li><li>'어린이부채만들기 04. ZIG캘리그라피펜 MS3400_42. MS-3400 / 070_PURE ORANGE 포장지세상'</li><li>'발롱 VF1 한국 무용 워십 너슬 부채춤 부채 팬베일 VF111 WR 우_L(35cm) 발롱'</li></ul> |
79
+ | 10.0 | <ul><li>'EP 모드 남성용 겨울 스카프 캐시미어 느낌 매우 부드럽고 따뜻함 다이아몬드 그리드 네이비 윈나인'</li><li>'개/대 남성 여성 가을 겨울 양면 컬러 매칭 스카프 모자 장갑 M89E DG 글로벌 엠에스 컴퍼니'</li><li>'하태하태 기념일선물 아마존 크로스 보더 남성 캐주얼 믹스매치하기좋은 여자들이좋아하는선물 Navy blue 리마110'</li></ul> |
80
+ | 4.0 | <ul><li>'에쎄 케이스 파우치 슬림형 20개비 빈티지 갑 메탈 보관함 남자친구선물 자동 A 다온마켓'</li><li>'소품보관 악세사리 가죽 전자 케이스 수납 네이비 갑자네'</li><li>'에스티듀퐁 뉴 라인2 전용 리필 가스 CNA000435 레드 주식회사 스타필드하남'</li></ul> |
81
+ | 13.0 | <ul><li>'강철 특수 부대 패치 와펜 707 UDT UDU SSU SART HID SEAL 해병대 L.SOU 밀리터리코리아'</li><li>'[NFL] F214ATO040 부클 복조리 크로스백 블랙_Free 롯데쇼핑(주) 프리미엄 아울렛 김해점'</li><li>'와팬 와펜 열접접착 자수 스티커 브러치 패치 마크 견장 51번부터 100번까지_55번 TNT몰'</li></ul> |
82
+ | 3.0 | <ul><li>'BTIE_102 그레이체크 니트 보타이(그레이 품절) 차콜 건강드림'</li><li>'다이아몬드컷팅된넥타이핀VMRTP1006 화이트 '</li><li>'푸르티민트향 치약 키즈세이프 60g 충치케어 키즈 4입 치아관리 잇몸냄새 입냄새제거 주식회사제이케이이노베이션'</li></ul> |
83
+ | 14.0 | <ul><li>'코지트리 반대로 접고 펴는 거꾸로 우산 거꾸로우산--스카이블루 투게이트'</li><li>'튼튼한 자동 3단우산 거꾸로 우산 반전 네이비 블루 패킹팩토리'</li><li>'[무료 각인서비스] 크로반 대형 자동장우산 KR3 파스텔브라운_폰트02 주식회사 크로반'</li></ul> |
84
+ | 7.0 | <ul><li>'브로치 옷핀브로치 진주브로치 브롯지 2_장미 부토니에(진주)-자주 조은상점'</li><li>'릭 오웬스 남성 블랙 클래식 플라이트 가죽 재킷 가죽 자켓 232232M175011 IT 44 주식회사 스마일벤처스'</li><li>'23FW 카사데이 드레스 슈즈 1F920W100M C14449000 42 주식회사 구하다'</li></ul> |
85
+
86
+ ## Evaluation
87
+
88
+ ### Metrics
89
+ | Label | Metric |
90
+ |:--------|:-------|
91
+ | **all** | 0.8557 |
92
+
93
+ ## Uses
94
+
95
+ ### Direct Use for Inference
96
+
97
+ First install the SetFit library:
98
+
99
+ ```bash
100
+ pip install setfit
101
+ ```
102
+
103
+ Then you can load this model and run inference.
104
+
105
+ ```python
106
+ from setfit import SetFitModel
107
+
108
+ # Download from the 🤗 Hub
109
+ model = SetFitModel.from_pretrained("mini1013/master_cate_ac15")
110
+ # Run inference
111
+ preds = model("고급 골지압박 타이즈 스타킹 유발 면 겨울 베이지 버징가마켓")
112
+ ```
113
+
114
+ <!--
115
+ ### Downstream Use
116
+
117
+ *List how someone could finetune this model on their own dataset.*
118
+ -->
119
+
120
+ <!--
121
+ ### Out-of-Scope Use
122
+
123
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
124
+ -->
125
+
126
+ <!--
127
+ ## Bias, Risks and Limitations
128
+
129
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
130
+ -->
131
+
132
+ <!--
133
+ ### Recommendations
134
+
135
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
136
+ -->
137
+
138
+ ## Training Details
139
+
140
+ ### Training Set Metrics
141
+ | Training set | Min | Median | Max |
142
+ |:-------------|:----|:-------|:----|
143
+ | Word count | 3 | 10.322 | 25 |
144
+
145
+ | Label | Training Sample Count |
146
+ |:------|:----------------------|
147
+ | 0.0 | 50 |
148
+ | 1.0 | 50 |
149
+ | 2.0 | 50 |
150
+ | 3.0 | 50 |
151
+ | 4.0 | 50 |
152
+ | 5.0 | 50 |
153
+ | 6.0 | 50 |
154
+ | 7.0 | 50 |
155
+ | 8.0 | 50 |
156
+ | 9.0 | 50 |
157
+ | 10.0 | 50 |
158
+ | 11.0 | 50 |
159
+ | 12.0 | 50 |
160
+ | 13.0 | 50 |
161
+ | 14.0 | 50 |
162
+ | 15.0 | 50 |
163
+ | 16.0 | 50 |
164
+ | 17.0 | 50 |
165
+ | 18.0 | 50 |
166
+ | 19.0 | 50 |
167
+
168
+ ### Training Hyperparameters
169
+ - batch_size: (512, 512)
170
+ - num_epochs: (20, 20)
171
+ - max_steps: -1
172
+ - sampling_strategy: oversampling
173
+ - num_iterations: 40
174
+ - body_learning_rate: (2e-05, 2e-05)
175
+ - head_learning_rate: 2e-05
176
+ - loss: CosineSimilarityLoss
177
+ - distance_metric: cosine_distance
178
+ - margin: 0.25
179
+ - end_to_end: False
180
+ - use_amp: False
181
+ - warmup_proportion: 0.1
182
+ - seed: 42
183
+ - eval_max_steps: -1
184
+ - load_best_model_at_end: False
185
+
186
+ ### Training Results
187
+ | Epoch | Step | Training Loss | Validation Loss |
188
+ |:-------:|:----:|:-------------:|:---------------:|
189
+ | 0.0064 | 1 | 0.3967 | - |
190
+ | 0.3185 | 50 | 0.3383 | - |
191
+ | 0.6369 | 100 | 0.2365 | - |
192
+ | 0.9554 | 150 | 0.1145 | - |
193
+ | 1.2739 | 200 | 0.0563 | - |
194
+ | 1.5924 | 250 | 0.0414 | - |
195
+ | 1.9108 | 300 | 0.0377 | - |
196
+ | 2.2293 | 350 | 0.0159 | - |
197
+ | 2.5478 | 400 | 0.0297 | - |
198
+ | 2.8662 | 450 | 0.0258 | - |
199
+ | 3.1847 | 500 | 0.0194 | - |
200
+ | 3.5032 | 550 | 0.0113 | - |
201
+ | 3.8217 | 600 | 0.0108 | - |
202
+ | 4.1401 | 650 | 0.0059 | - |
203
+ | 4.4586 | 700 | 0.0009 | - |
204
+ | 4.7771 | 750 | 0.0059 | - |
205
+ | 5.0955 | 800 | 0.0044 | - |
206
+ | 5.4140 | 850 | 0.004 | - |
207
+ | 5.7325 | 900 | 0.0023 | - |
208
+ | 6.0510 | 950 | 0.0004 | - |
209
+ | 6.3694 | 1000 | 0.0024 | - |
210
+ | 6.6879 | 1050 | 0.0007 | - |
211
+ | 7.0064 | 1100 | 0.0004 | - |
212
+ | 7.3248 | 1150 | 0.0002 | - |
213
+ | 7.6433 | 1200 | 0.0002 | - |
214
+ | 7.9618 | 1250 | 0.0003 | - |
215
+ | 8.2803 | 1300 | 0.0002 | - |
216
+ | 8.5987 | 1350 | 0.0001 | - |
217
+ | 8.9172 | 1400 | 0.0001 | - |
218
+ | 9.2357 | 1450 | 0.0001 | - |
219
+ | 9.5541 | 1500 | 0.0001 | - |
220
+ | 9.8726 | 1550 | 0.0001 | - |
221
+ | 10.1911 | 1600 | 0.0001 | - |
222
+ | 10.5096 | 1650 | 0.0001 | - |
223
+ | 10.8280 | 1700 | 0.0001 | - |
224
+ | 11.1465 | 1750 | 0.0001 | - |
225
+ | 11.4650 | 1800 | 0.0001 | - |
226
+ | 11.7834 | 1850 | 0.0001 | - |
227
+ | 12.1019 | 1900 | 0.0001 | - |
228
+ | 12.4204 | 1950 | 0.0001 | - |
229
+ | 12.7389 | 2000 | 0.0001 | - |
230
+ | 13.0573 | 2050 | 0.0001 | - |
231
+ | 13.3758 | 2100 | 0.0001 | - |
232
+ | 13.6943 | 2150 | 0.0001 | - |
233
+ | 14.0127 | 2200 | 0.0001 | - |
234
+ | 14.3312 | 2250 | 0.0001 | - |
235
+ | 14.6497 | 2300 | 0.0001 | - |
236
+ | 14.9682 | 2350 | 0.0001 | - |
237
+ | 15.2866 | 2400 | 0.0001 | - |
238
+ | 15.6051 | 2450 | 0.0001 | - |
239
+ | 15.9236 | 2500 | 0.0001 | - |
240
+ | 16.2420 | 2550 | 0.0001 | - |
241
+ | 16.5605 | 2600 | 0.0001 | - |
242
+ | 16.8790 | 2650 | 0.0001 | - |
243
+ | 17.1975 | 2700 | 0.0001 | - |
244
+ | 17.5159 | 2750 | 0.0001 | - |
245
+ | 17.8344 | 2800 | 0.0001 | - |
246
+ | 18.1529 | 2850 | 0.0001 | - |
247
+ | 18.4713 | 2900 | 0.0001 | - |
248
+ | 18.7898 | 2950 | 0.0001 | - |
249
+ | 19.1083 | 3000 | 0.0001 | - |
250
+ | 19.4268 | 3050 | 0.0001 | - |
251
+ | 19.7452 | 3100 | 0.0001 | - |
252
+
253
+ ### Framework Versions
254
+ - Python: 3.10.12
255
+ - SetFit: 1.1.0.dev0
256
+ - Sentence Transformers: 3.1.1
257
+ - Transformers: 4.46.1
258
+ - PyTorch: 2.4.0+cu121
259
+ - Datasets: 2.20.0
260
+ - Tokenizers: 0.20.0
261
+
262
+ ## Citation
263
+
264
+ ### BibTeX
265
+ ```bibtex
266
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
267
+ doi = {10.48550/ARXIV.2209.11055},
268
+ url = {https://arxiv.org/abs/2209.11055},
269
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
270
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
271
+ title = {Efficient Few-Shot Learning Without Prompts},
272
+ publisher = {arXiv},
273
+ year = {2022},
274
+ copyright = {Creative Commons Attribution 4.0 International}
275
+ }
276
+ ```
277
+
278
+ <!--
279
+ ## Glossary
280
+
281
+ *Clearly define terms in order to be accessible across audiences.*
282
+ -->
283
+
284
+ <!--
285
+ ## Model Card Authors
286
+
287
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
288
+ -->
289
+
290
+ <!--
291
+ ## Model Card Contact
292
+
293
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
294
+ -->
config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "mini1013/master_item_ac",
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.46.1",
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.1.1",
4
+ "transformers": "4.46.1",
5
+ "pytorch": "2.4.0+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
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:8513f42b7147c711cbecb9de62034bc414b4ebd2a2ece6f53de0111126051e3a
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6e4b0526fb60164ca0865fd4694f377fbea66eaa2aefa9b211017e5d5752f11
3
+ size 124007
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