mini1013 commited on
Commit
cf2c00e
·
verified ·
1 Parent(s): 922c178

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,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - setfit
4
+ - sentence-transformers
5
+ - text-classification
6
+ - generated_from_setfit_trainer
7
+ widget:
8
+ - text: 쁘리엘르리틀 침대 방수패드 신생아 아기 유아 11.쿠마 순면 유아 방수패드_소형 출산/육아 > 유아침구 > 방수요
9
+ - text: 꽈배기 가드 침대 아기 범퍼 뒤집기방지 충돌방지 바디필로우 쿠션 G_싱글 스틱 5 미터 이상 직경 약 5cm 출산/육아 > 유아침구
10
+ > 기타유아침구
11
+ - text: 신생아 배넷저고리 담요 랩 모자 세트, 조절 가능한 침낭 모슬린 담요, 면 소재, 0-6M, 세 128973 꽃 128973 별 출산/육아
12
+ > 유아침구 > 아기이불/요/패드
13
+ - text: 순면 모달 귀여운 어린이집 낮잠이불 풀세트 30.디노디노 낮잠패드_패드단품 출산/육아 > 유아침구 > 낮잠이불
14
+ - text: '[모던하우스]드림베어 플란넬 극세사 베개커버 40x60 아이보리베이지/CZ0323075 출산/육아 > 유아침구 > 유아베개'
15
+ metrics:
16
+ - accuracy
17
+ pipeline_tag: text-classification
18
+ library_name: setfit
19
+ inference: true
20
+ base_model: mini1013/master_domain
21
+ model-index:
22
+ - name: SetFit with mini1013/master_domain
23
+ results:
24
+ - task:
25
+ type: text-classification
26
+ name: Text Classification
27
+ dataset:
28
+ name: Unknown
29
+ type: unknown
30
+ split: test
31
+ metrics:
32
+ - type: accuracy
33
+ value: 1.0
34
+ name: Accuracy
35
+ ---
36
+
37
+ # SetFit with mini1013/master_domain
38
+
39
+ 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.
40
+
41
+ The model has been trained using an efficient few-shot learning technique that involves:
42
+
43
+ 1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
44
+ 2. Training a classification head with features from the fine-tuned Sentence Transformer.
45
+
46
+ ## Model Details
47
+
48
+ ### Model Description
49
+ - **Model Type:** SetFit
50
+ - **Sentence Transformer body:** [mini1013/master_domain](https://huggingface.co/mini1013/master_domain)
51
+ - **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
52
+ - **Maximum Sequence Length:** 512 tokens
53
+ - **Number of Classes:** 9 classes
54
+ <!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
55
+ <!-- - **Language:** Unknown -->
56
+ <!-- - **License:** Unknown -->
57
+
58
+ ### Model Sources
59
+
60
+ - **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
61
+ - **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
62
+ - **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
63
+
64
+ ### Model Labels
65
+ | Label | Examples |
66
+ |:------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
67
+ | 1.0 | <ul><li>'[해외] 육아용품 국경 새 Swaddling 침낭 안티 점프 퀼트 사계절 신생아 긴팔 손 M (월 월) (크기 큰 겨울)_라이트 그린 (포켓) 출산/육아 > 유아침구 > 겉싸개'</li><li>'조아뜨 아기 여름 겉싸개 신생아 여름용 누비 봄 겉싸보 C 플라워겉싸개(여름용)+턱받이 출산/육아 > 유아침구 > 겉싸개'</li><li>'[슈슈비] 가을 신생아 속싸개 블랭킷 스타양면속싸개 출산/육아 > 유아침구 > 겉싸개'</li></ul> |
68
+ | 8.0 | <ul><li>'신생아 유아 돌 아기 어린이집 낮잠 베개 배게 송송필로우 미니고미 출산/육아 > 유아침구 > 유아베개'</li><li>'이몽 가슴안정 좁쌀 태열베개 4구획/6구획 (모로반사,신생아,아기,냉감) 피그먼트 누빔(4구획)_그레이 출산/육아 > 유아침구 > 유아베개'</li><li>'굿나잇 베이비 꿀잠블랭킷 Hug me Small_아이보리 출산/육아 > 유아침구 > 유아베개'</li></ul> |
69
+ | 6.0 | <ul><li>'[엘라바] 특허받은 무소음 스와들 스트랩 2개세트 에어로쿨(화이트)S_면매쉬(화이트)M 출산/육아 > 유아침구 > 속싸개'</li><li>'리코타입 속싸개 오리지널 얇은 2벌 세트 아기양말 제공 나비잠 스와들 신생아 출산준비 뉴본+뉴본플러스_피치_베이지 출산/육아 > 유아침구 > 속싸개'</li><li>'핀츠빈 스와들 태열 신생아 오가닉 나비잠 속싸개 라이트_화이트_M 출산/육아 > 유아침구 > 속싸개'</li></ul> |
70
+ | 7.0 | <ul><li>'어린이용 잠옷 침낭 집에서 입을 수 있는 유아용 코튼 피그 베이비_150 cm 출산/육아 > 유아침구 > 아기이불/요/패드'</li><li>'요루거즈 블랭킷 아기 유아 신생아 어린이집 낮잠 이불 유모차 2중(85x110)_체리라마 출산/육아 > 유아침구 > 아기이불/요/패드'</li><li>'[갤러리아] [리틀아카이브][크레므앙팡] 텔라 모달 낮잠패드세트(J)+베개솜(한화갤러리아㈜ 센터시티) 블루 출산/육아 > 유아침구 > 아기이불/요/패드'</li></ul> |
71
+ | 5.0 | <ul><li>'꼬마 이불가방 58X40cm 1p 이불가방 아기 어린이집 그린 출산/육아 > 유아침구 > 보낭/슬리핑백'</li><li>'베이비[블루독]클라우드퀼팅슬리핑가운 41A7000902 M 출산/육아 > 유아침구 > 보낭/슬리핑백'</li><li>'오가닉맘 /필로스슬리핑백(MIFLSL03) 크림_m 출산/육아 > 유아침구 > 보낭/슬리핑백'</li></ul> |
72
+ | 3.0 | <ul><li>'아망떼 순면 모달 귀여운 어린이집 낮잠이불 모음 51.레오파드 범퍼 핑크_6개세트 출산/육아 > 유아침구 > 낮잠이불'</li><li>'어린이집 낮잠이불 세트 순면 워싱 마이크로 자수 양면 아기낮잠이불 소프트피치_미드나잇블루_패드+베개(고급일반솜) 출산/육아 > 유아침구 > 낮잠이불'</li><li>'분리형낮잠이불 어린이집 순면 토끼 아기 낮잠 이불 베개 20X40(솜포함)_블루 출산/육아 > 유아침구 > 낮잠이불'</li></ul> |
73
+ | 4.0 | <ul><li>'[리틀아카이브](신세계천안아산점)크레므앙팡] 치포 밍크 유모차 블랭킷 B(75X100) 핑크 출산/육아 > 유아침구 > 방수요'</li><li>'디유 순면 유아 방수패드 소형 대형 대형_피치 출산/육아 > 유아침구 > 방수요'</li><li>'뮤라 에어와플방수요 방수패드 M 미디움사이즈(100x130) 실버클라우드 출산/육아 > 유아침구 > 방수요'</li></ul> |
74
+ | 0.0 | <ul><li>'[DIY+동영상]뚱이 코튼 Big 코바늘 뜨개질 손뜨개인형 027 화이트 출산/육아 > 유아침구 > DIY아기용품'</li><li>'[갤러리아] (출산선물)루팅타올(APA-10901)선물포장+손수건(한화갤러리아㈜ 진주점) 아이보리 출산/육아 > 유아침구 > DIY아기용품'</li><li>'릴리팟 이유식 냄비/통3중/편수냄비/밀크팬/이유식조리도구/국민이유식냄비/이유식조리도구 이유식냄비 출산/육아 > 유아침구 > DIY아기용품'</li></ul> |
75
+ | 2.0 | <ul><li>'마롤로뜨 아기 침대 범퍼가드 신생아 쿠션 바디필로우 이케아 벨라 보니 스마트 쁘띠라뺑 내추럴아이보리_이케아S (소형) 출산/육아 > 유아침구 > 기타유아침구'</li><li>'[현대백화점][M밍크뮤M7]33W70ABS01 체리모달낮잠이불SET (33W70ABS01)/유아잡화/출산준비 [00001] 피치/FREE(85X115cm) 출산/육아 > 유아침구 > 기타유아침구'</li><li>'마롤로뜨 100수 누빔 자수 아기 바디필로우 죽부인 베개 롱쿠션 애착베개 11.자수 누빔 아기죽부인_상큼체리 출산/육아 > 유아침구 > 기타유아침구'</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_bc24")
101
+ # Run inference
102
+ preds = model("순면 모달 귀여운 어린이집 낮잠이불 풀세트 30.디노디노 낮잠패드_패드단품 출산/육아 > 유아침구 > 낮잠이불")
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 | 15.1397 | 27 |
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
+
148
+ ### Training Hyperparameters
149
+ - batch_size: (256, 256)
150
+ - num_epochs: (30, 30)
151
+ - max_steps: -1
152
+ - sampling_strategy: oversampling
153
+ - num_iterations: 50
154
+ - body_learning_rate: (2e-05, 1e-05)
155
+ - head_learning_rate: 0.01
156
+ - loss: CosineSimilarityLoss
157
+ - distance_metric: cosine_distance
158
+ - margin: 0.25
159
+ - end_to_end: False
160
+ - use_amp: False
161
+ - warmup_proportion: 0.1
162
+ - l2_weight: 0.01
163
+ - seed: 42
164
+ - eval_max_steps: -1
165
+ - load_best_model_at_end: False
166
+
167
+ ### Training Results
168
+ | Epoch | Step | Training Loss | Validation Loss |
169
+ |:-------:|:----:|:-------------:|:---------------:|
170
+ | 0.0081 | 1 | 0.517 | - |
171
+ | 0.4032 | 50 | 0.4962 | - |
172
+ | 0.8065 | 100 | 0.4906 | - |
173
+ | 1.2097 | 150 | 0.454 | - |
174
+ | 1.6129 | 200 | 0.0667 | - |
175
+ | 2.0161 | 250 | 0.0003 | - |
176
+ | 2.4194 | 300 | 0.0001 | - |
177
+ | 2.8226 | 350 | 0.0001 | - |
178
+ | 3.2258 | 400 | 0.0 | - |
179
+ | 3.6290 | 450 | 0.0 | - |
180
+ | 4.0323 | 500 | 0.0 | - |
181
+ | 4.4355 | 550 | 0.0 | - |
182
+ | 4.8387 | 600 | 0.0 | - |
183
+ | 5.2419 | 650 | 0.0 | - |
184
+ | 5.6452 | 700 | 0.0 | - |
185
+ | 6.0484 | 750 | 0.0 | - |
186
+ | 6.4516 | 800 | 0.0 | - |
187
+ | 6.8548 | 850 | 0.0 | - |
188
+ | 7.2581 | 900 | 0.0 | - |
189
+ | 7.6613 | 950 | 0.0 | - |
190
+ | 8.0645 | 1000 | 0.0 | - |
191
+ | 8.4677 | 1050 | 0.0 | - |
192
+ | 8.8710 | 1100 | 0.0 | - |
193
+ | 9.2742 | 1150 | 0.0 | - |
194
+ | 9.6774 | 1200 | 0.0 | - |
195
+ | 10.0806 | 1250 | 0.0 | - |
196
+ | 10.4839 | 1300 | 0.0 | - |
197
+ | 10.8871 | 1350 | 0.0 | - |
198
+ | 11.2903 | 1400 | 0.0 | - |
199
+ | 11.6935 | 1450 | 0.0 | - |
200
+ | 12.0968 | 1500 | 0.0 | - |
201
+ | 12.5 | 1550 | 0.0 | - |
202
+ | 12.9032 | 1600 | 0.0 | - |
203
+ | 13.3065 | 1650 | 0.0 | - |
204
+ | 13.7097 | 1700 | 0.0 | - |
205
+ | 14.1129 | 1750 | 0.0 | - |
206
+ | 14.5161 | 1800 | 0.0 | - |
207
+ | 14.9194 | 1850 | 0.0 | - |
208
+ | 15.3226 | 1900 | 0.0 | - |
209
+ | 15.7258 | 1950 | 0.0 | - |
210
+ | 16.1290 | 2000 | 0.0 | - |
211
+ | 16.5323 | 2050 | 0.0 | - |
212
+ | 16.9355 | 2100 | 0.0 | - |
213
+ | 17.3387 | 2150 | 0.0 | - |
214
+ | 17.7419 | 2200 | 0.0 | - |
215
+ | 18.1452 | 2250 | 0.0 | - |
216
+ | 18.5484 | 2300 | 0.0 | - |
217
+ | 18.9516 | 2350 | 0.0 | - |
218
+ | 19.3548 | 2400 | 0.0 | - |
219
+ | 19.7581 | 2450 | 0.0 | - |
220
+ | 20.1613 | 2500 | 0.0 | - |
221
+ | 20.5645 | 2550 | 0.0 | - |
222
+ | 20.9677 | 2600 | 0.0 | - |
223
+ | 21.3710 | 2650 | 0.0 | - |
224
+ | 21.7742 | 2700 | 0.0 | - |
225
+ | 22.1774 | 2750 | 0.0 | - |
226
+ | 22.5806 | 2800 | 0.0 | - |
227
+ | 22.9839 | 2850 | 0.0 | - |
228
+ | 23.3871 | 2900 | 0.0 | - |
229
+ | 23.7903 | 2950 | 0.0 | - |
230
+ | 24.1935 | 3000 | 0.0 | - |
231
+ | 24.5968 | 3050 | 0.0 | - |
232
+ | 25.0 | 3100 | 0.0 | - |
233
+ | 25.4032 | 3150 | 0.0 | - |
234
+ | 25.8065 | 3200 | 0.0 | - |
235
+ | 26.2097 | 3250 | 0.0 | - |
236
+ | 26.6129 | 3300 | 0.0 | - |
237
+ | 27.0161 | 3350 | 0.0 | - |
238
+ | 27.4194 | 3400 | 0.0 | - |
239
+ | 27.8226 | 3450 | 0.0 | - |
240
+ | 28.2258 | 3500 | 0.0 | - |
241
+ | 28.6290 | 3550 | 0.0 | - |
242
+ | 29.0323 | 3600 | 0.0 | - |
243
+ | 29.4355 | 3650 | 0.0 | - |
244
+ | 29.8387 | 3700 | 0.0 | - |
245
+
246
+ ### Framework Versions
247
+ - Python: 3.10.12
248
+ - SetFit: 1.1.0
249
+ - Sentence Transformers: 3.3.1
250
+ - Transformers: 4.44.2
251
+ - PyTorch: 2.2.0a0+81ea7a4
252
+ - Datasets: 3.2.0
253
+ - Tokenizers: 0.19.1
254
+
255
+ ## Citation
256
+
257
+ ### BibTeX
258
+ ```bibtex
259
+ @article{https://doi.org/10.48550/arxiv.2209.11055,
260
+ doi = {10.48550/ARXIV.2209.11055},
261
+ url = {https://arxiv.org/abs/2209.11055},
262
+ author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
263
+ keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
264
+ title = {Efficient Few-Shot Learning Without Prompts},
265
+ publisher = {arXiv},
266
+ year = {2022},
267
+ copyright = {Creative Commons Attribution 4.0 International}
268
+ }
269
+ ```
270
+
271
+ <!--
272
+ ## Glossary
273
+
274
+ *Clearly define terms in order to be accessible across audiences.*
275
+ -->
276
+
277
+ <!--
278
+ ## Model Card Authors
279
+
280
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
281
+ -->
282
+
283
+ <!--
284
+ ## Model Card Contact
285
+
286
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
287
+ -->
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:c453768f4cbb9ef236d608d4525c5fe0fd25ecc5f851d15fff0c7ac2d676f892
3
+ size 442494816
model_head.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:574ae6f9ee55a1b9f39e4a25a7dcf0e83ba83bf81e2240e9c1060277c91bd8ce
3
+ size 56255
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