mini1013 commited on
Commit
d965245
·
verified ·
1 Parent(s): 0e1f549

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,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: 룸앤홈 쁘띠 유아 책상 높이조절 어린이책상 쁘띠 키즈테이블_타이거 테이블 출산/육아 > 유아가구 > 유아책상
9
+ - text: 리드오프 접이식 유아 어린이 공부상 좌식 아기 밥상 책상 놀이상 테이블 높이조절 (28)LOVE_중_화이트 굵은다리(30Cm) 출산/육아
10
+ > 유아가구 > 유아공부상
11
+ - text: 침대 오크 아이 접이식 유아용 바퀴 이동식 3번 출산/육아 > 유아가구 > 유아침대
12
+ - text: 발받침대 일본 SANWA 사무실 발판 스텝 스툴 임산부 책상 서재 학생 다리받침 각도조절형 출산/육아 > 유아가구 > 유아의자
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:** 10 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
+ | 9.0 | <ul><li>'투명 장난감 정리함 블럭 보관함 레고 듀플로 정리박스 토이박스 오픈형_그린 출산/육아 > 유아가구 > 장난감정리함'</li><li>'아기 장난감 정리함 곰 누빔 베이지 XL 출산/육아 > 유아가구 > 장난감정리함'</li><li>'이동식 장난감 정리함 수납함 바퀴 보관함 정리박스 상자 화이트 L 출산/육아 > 유아가구 > 장난감정리함'</li></ul> |
67
+ | 6.0 | <ul><li>'릿첼 베이비 소프트 의자 그레이 출산/육아 > 유아가구 > 유아이유식의자'</li><li>'[엔픽스] 비바체 하이체어_색상택1 화이트_화이트_베이지 출산/육아 > 유아가구 > 유아이유식의자'</li><li>'아기의자 하이체어 본베베 범보의자 트립트랩 이케아 S 출산/육아 > 유아가구 > 유아이유식의자'</li></ul> |
68
+ | 5.0 | <ul><li>'미용실 유아 의자 자동차 모양 어린이 좌석 인테리어 K_직경58cm 출산/육아 > 유아가구 > 유아의자'</li><li>'유아용 의자 어린이집 유치원 쿠션 쇼파 어린이소파 키즈카페 인테리어의자 골드와인레드_150x30x35cm 출산/육아 > 유아가구 > 유아의자'</li><li>'아동 어린이 유아 의자 등받이 간이 체어 유치원 어린이집 귀여운 플라스틱 경량 가벼운 대 그린 출산/육아 > 유아가구 > 유아의자'</li></ul> |
69
+ | 2.0 | <ul><li>'땅콩책상 유치원 학습용 도색 책상 및 의자 세트 아기 어린이 땅콩 테이블 04 83x50x60cm 4 출산/육아 > 유아가구 > 유아공부상'</li><li>'칼라 사각 1조각 좌식책상 어린이집 유치원 학원 유아 공부상 좌식테이블 대형 칼라(1200X600)_분홍_H350(중고성인)플라스틱다리 출산/육아 > 유아가구 > 유아공부상'</li><li>'gvp 체스 출산/육아 > 유아가구 > 유아공부상'</li></ul> |
70
+ | 8.0 | <ul><li>'도노도노 튼튼 하이 라이트 멀티 범퍼침대 + 모달 토퍼세트 시어그레이_아이보리 출산/육아 > 유아가구 > 유아침대'</li><li>'꿈비 클린 변신 범퍼침대 유아 가드 아기 침대 트윈스타PLUS (매트+가드)_슈퍼특대형 하이가드 베이비룸 출산/육아 > 유아가구 > 유아침대'</li><li>'(개인맞춤) 파스텔 무지 100수 순면 누빔 싱글,슈퍼싱글 범퍼가드 (사이즈맞춤가능) 118x46 출산/육아 > 유아가구 > 유아침대'</li></ul> |
71
+ | 3.0 | <ul><li>'코아코아 뒹굴러 소파 래빗 출산/육아 > 유아가구 > 유아소파'</li><li>'코끼리 어린이 키즈 유아 용 어린이집 유치원 다용도 컬러 블럭 가구 양면 의자 소파 쇼파 블랙 출산/육아 > 유아가구 > 유아소파'</li><li>'디자인스킨 케이크 유아 소파 라이트 블루 출산/육아 > 유아가구 > 유아소파'</li></ul> |
72
+ | 1.0 | <ul><li>'3P 미끄럼방지 테이프 출산/육아 > 유아가구 > 기타유아가구'</li><li>'1+1 무지 베이지 우리 가족 놀이방 매트 200x 140x1.0cm 무지베이지 15T(2장) 출산/육아 > 유아가구 > 기타유아가구'</li><li>'어린이집 유치원 학원 투명 3단 약통 응급상자 구급약함 상비약보관함 약분류함 색상_투명3단구급함 핑크 출산/육아 > 유아가구 > 기타유아가구'</li></ul> |
73
+ | 4.0 | <ul><li>'프로그 아기 신생아 옷걸이 세트 (7+1) 미니 화이트 1set 출산/육아 > 유아가구 > 유아옷걸이'</li><li>'원목 햇님 2단 아기방 옷걸이 성탄절 아기방꾸미기 유아가구 키즈옷걸이 아기방가구 출산/육아 > 유아가구 > 유아옷걸이'</li><li>'재니홈 유아용 길이조절 옷걸이 핑크 x 10개 출산/육아 > 유아가구 > 유아옷걸이'</li></ul> |
74
+ | 0.0 | <ul><li>'[베이비앙] 출산축하선물세트 배냇저고리 손/발싸개 01.3종출산선물세트(구름이) 01.3종출산선물세트(구름이)_선물패키지(개별포장) 출산/육아 > 유아가구 > 기저귀정리함'</li><li>'생일답례품포장 선물포장용품 네임스티커 리본 등 A선택 B선택_B3-생일레인보우 컵6P 출산/육아 > 유아가구 > 기저귀정리함'</li><li>'보관함 접이식 유모차 뚜껑이 있는 PP 보드 냄새 없음 방 장난감 상자 옷 장, 대용량 01 yellow33cm 출산/육아 > 유아가구 > 기저귀정리함'</li></ul> |
75
+ | 7.0 | <ul><li>'토토 E0 등급 가로 600 세로 400 좌식테이블 티테이블 밥상 라운드형 출산/육아 > 유아가구 > 유아책상'</li><li>'학원 책상 의자 세트 공부용책상 용품 교육 의자-좌판색상_(YWBHS)카키 출산/육아 > 유아가구 > 유아책상'</li><li>'헬로 디노 테디 아기 유아 책상 의자 세트 테이블 공부상 헬로디노_1인용_레드 출산/육아 > 유아가구 > 유아책상'</li></ul> |
76
+
77
+ ## Evaluation
78
+
79
+ ### Metrics
80
+ | Label | Accuracy |
81
+ |:--------|:---------|
82
+ | **all** | 1.0 |
83
+
84
+ ## Uses
85
+
86
+ ### Direct Use for Inference
87
+
88
+ First install the SetFit library:
89
+
90
+ ```bash
91
+ pip install setfit
92
+ ```
93
+
94
+ Then you can load this model and run inference.
95
+
96
+ ```python
97
+ from setfit import SetFitModel
98
+
99
+ # Download from the 🤗 Hub
100
+ model = SetFitModel.from_pretrained("mini1013/master_cate_bc17")
101
+ # Run inference
102
+ preds = model("침대 오크 아이 접이식 유아용 바퀴 이동식 3번 출산/육아 > 유아가구 > 유아침대")
103
+ ```
104
+
105
+ <!--
106
+ ### Downstream Use
107
+
108
+ *List how someone could finetune this model on their own dataset.*
109
+ -->
110
+
111
+ <!--
112
+ ### Out-of-Scope Use
113
+
114
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
115
+ -->
116
+
117
+ <!--
118
+ ## Bias, Risks and Limitations
119
+
120
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
121
+ -->
122
+
123
+ <!--
124
+ ### Recommendations
125
+
126
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
127
+ -->
128
+
129
+ ## Training Details
130
+
131
+ ### Training Set Metrics
132
+ | Training set | Min | Median | Max |
133
+ |:-------------|:----|:-------|:----|
134
+ | Word count | 7 | 14.68 | 26 |
135
+
136
+ | Label | Training Sample Count |
137
+ |:------|:----------------------|
138
+ | 0.0 | 70 |
139
+ | 1.0 | 70 |
140
+ | 2.0 | 70 |
141
+ | 3.0 | 70 |
142
+ | 4.0 | 70 |
143
+ | 5.0 | 70 |
144
+ | 6.0 | 70 |
145
+ | 7.0 | 70 |
146
+ | 8.0 | 70 |
147
+ | 9.0 | 70 |
148
+
149
+ ### Training Hyperparameters
150
+ - batch_size: (256, 256)
151
+ - num_epochs: (30, 30)
152
+ - max_steps: -1
153
+ - sampling_strategy: oversampling
154
+ - num_iterations: 50
155
+ - body_learning_rate: (2e-05, 1e-05)
156
+ - head_learning_rate: 0.01
157
+ - loss: CosineSimilarityLoss
158
+ - distance_metric: cosine_distance
159
+ - margin: 0.25
160
+ - end_to_end: False
161
+ - use_amp: False
162
+ - warmup_proportion: 0.1
163
+ - l2_weight: 0.01
164
+ - seed: 42
165
+ - eval_max_steps: -1
166
+ - load_best_model_at_end: False
167
+
168
+ ### Training Results
169
+ | Epoch | Step | Training Loss | Validation Loss |
170
+ |:-------:|:----:|:-------------:|:---------------:|
171
+ | 0.0073 | 1 | 0.483 | - |
172
+ | 0.3650 | 50 | 0.4992 | - |
173
+ | 0.7299 | 100 | 0.378 | - |
174
+ | 1.0949 | 150 | 0.1514 | - |
175
+ | 1.4599 | 200 | 0.0531 | - |
176
+ | 1.8248 | 250 | 0.0383 | - |
177
+ | 2.1898 | 300 | 0.0279 | - |
178
+ | 2.5547 | 350 | 0.0177 | - |
179
+ | 2.9197 | 400 | 0.0109 | - |
180
+ | 3.2847 | 450 | 0.0113 | - |
181
+ | 3.6496 | 500 | 0.0056 | - |
182
+ | 4.0146 | 550 | 0.0001 | - |
183
+ | 4.3796 | 600 | 0.0001 | - |
184
+ | 4.7445 | 650 | 0.0 | - |
185
+ | 5.1095 | 700 | 0.0001 | - |
186
+ | 5.4745 | 750 | 0.0 | - |
187
+ | 5.8394 | 800 | 0.0 | - |
188
+ | 6.2044 | 850 | 0.0 | - |
189
+ | 6.5693 | 900 | 0.0 | - |
190
+ | 6.9343 | 950 | 0.0 | - |
191
+ | 7.2993 | 1000 | 0.0 | - |
192
+ | 7.6642 | 1050 | 0.0001 | - |
193
+ | 8.0292 | 1100 | 0.0 | - |
194
+ | 8.3942 | 1150 | 0.0 | - |
195
+ | 8.7591 | 1200 | 0.0 | - |
196
+ | 9.1241 | 1250 | 0.0 | - |
197
+ | 9.4891 | 1300 | 0.0 | - |
198
+ | 9.8540 | 1350 | 0.0 | - |
199
+ | 10.2190 | 1400 | 0.0 | - |
200
+ | 10.5839 | 1450 | 0.0 | - |
201
+ | 10.9489 | 1500 | 0.0 | - |
202
+ | 11.3139 | 1550 | 0.0 | - |
203
+ | 11.6788 | 1600 | 0.0 | - |
204
+ | 12.0438 | 1650 | 0.0 | - |
205
+ | 12.4088 | 1700 | 0.0 | - |
206
+ | 12.7737 | 1750 | 0.0 | - |
207
+ | 13.1387 | 1800 | 0.0 | - |
208
+ | 13.5036 | 1850 | 0.0 | - |
209
+ | 13.8686 | 1900 | 0.0 | - |
210
+ | 14.2336 | 1950 | 0.0 | - |
211
+ | 14.5985 | 2000 | 0.0 | - |
212
+ | 14.9635 | 2050 | 0.0 | - |
213
+ | 15.3285 | 2100 | 0.0 | - |
214
+ | 15.6934 | 2150 | 0.0 | - |
215
+ | 16.0584 | 2200 | 0.0 | - |
216
+ | 16.4234 | 2250 | 0.0 | - |
217
+ | 16.7883 | 2300 | 0.0 | - |
218
+ | 17.1533 | 2350 | 0.0 | - |
219
+ | 17.5182 | 2400 | 0.0 | - |
220
+ | 17.8832 | 2450 | 0.0 | - |
221
+ | 18.2482 | 2500 | 0.0 | - |
222
+ | 18.6131 | 2550 | 0.0 | - |
223
+ | 18.9781 | 2600 | 0.0 | - |
224
+ | 19.3431 | 2650 | 0.0 | - |
225
+ | 19.7080 | 2700 | 0.0 | - |
226
+ | 20.0730 | 2750 | 0.0 | - |
227
+ | 20.4380 | 2800 | 0.0 | - |
228
+ | 20.8029 | 2850 | 0.0 | - |
229
+ | 21.1679 | 2900 | 0.0 | - |
230
+ | 21.5328 | 2950 | 0.0 | - |
231
+ | 21.8978 | 3000 | 0.0 | - |
232
+ | 22.2628 | 3050 | 0.0 | - |
233
+ | 22.6277 | 3100 | 0.0 | - |
234
+ | 22.9927 | 3150 | 0.0 | - |
235
+ | 23.3577 | 3200 | 0.0 | - |
236
+ | 23.7226 | 3250 | 0.0 | - |
237
+ | 24.0876 | 3300 | 0.0 | - |
238
+ | 24.4526 | 3350 | 0.0 | - |
239
+ | 24.8175 | 3400 | 0.0 | - |
240
+ | 25.1825 | 3450 | 0.0 | - |
241
+ | 25.5474 | 3500 | 0.0 | - |
242
+ | 25.9124 | 3550 | 0.0 | - |
243
+ | 26.2774 | 3600 | 0.0 | - |
244
+ | 26.6423 | 3650 | 0.0 | - |
245
+ | 27.0073 | 3700 | 0.0 | - |
246
+ | 27.3723 | 3750 | 0.0 | - |
247
+ | 27.7372 | 3800 | 0.0 | - |
248
+ | 28.1022 | 3850 | 0.0 | - |
249
+ | 28.4672 | 3900 | 0.0 | - |
250
+ | 28.8321 | 3950 | 0.0 | - |
251
+ | 29.1971 | 4000 | 0.0 | - |
252
+ | 29.5620 | 4050 | 0.0 | - |
253
+ | 29.9270 | 4100 | 0.0 | - |
254
+
255
+ ### Framework Versions
256
+ - Python: 3.10.12
257
+ - SetFit: 1.1.0
258
+ - Sentence Transformers: 3.3.1
259
+ - Transformers: 4.44.2
260
+ - PyTorch: 2.2.0a0+81ea7a4
261
+ - Datasets: 3.2.0
262
+ - Tokenizers: 0.19.1
263
+
264
+ ## Citation
265
+
266
+ ### BibTeX
267
+ ```bibtex
268
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
269
+ doi = {10.48550/ARXIV.2209.11055},
270
+ url = {https://arxiv.org/abs/2209.11055},
271
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
272
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
273
+ title = {Efficient Few-Shot Learning Without Prompts},
274
+ publisher = {arXiv},
275
+ year = {2022},
276
+ copyright = {Creative Commons Attribution 4.0 International}
277
+ }
278
+ ```
279
+
280
+ <!--
281
+ ## Glossary
282
+
283
+ *Clearly define terms in order to be accessible across audiences.*
284
+ -->
285
+
286
+ <!--
287
+ ## Model Card Authors
288
+
289
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
290
+ -->
291
+
292
+ <!--
293
+ ## Model Card Contact
294
+
295
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
296
+ -->
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:639f364561f63b8c20878d3895a1ed9489edd1be7f7f5dfd67b81f7067fed55d
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec793ee72486623d692e8e07f976165fd1cca7643e0221d13f499afabbd89d1e
3
+ size 62407
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