Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +236 -0
- config.json +29 -0
- config_sentence_transformers.json +10 -0
- config_setfit.json +4 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +66 -0
- vocab.txt +0 -0
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,236 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: Pulsar X2V2 미니 무선 게이밍 마우스 (블랙) 와이에스비투비
|
14 |
+
- text: TOSHIBA B-EX4T2 바코드프린터 산업용프린터 라벨프린터 203DPI_USB ㈜비티에스홀딩스
|
15 |
+
- text: '[당일출고]삼성전자 SL-J1680 컬러잉크젯 복합기 인쇄+복사+스캔 [정품잉크포함] 제일프린텍'
|
16 |
+
- text: 지클릭커 슈퍼히어로 SPK100 저소음 유선 무선 블루투스 레인보우 백라이트 기계식 게임용 키보드 (레트로 레드) (주)피씨베이스
|
17 |
+
- text: NIIMBOT 님봇 D110 라벨기 휴대용 라벨프린터 라벨1롤포함 빅마운트앤컴퍼니
|
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.8548111301103685
|
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:** 9 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 |
+
| 7 | <ul><li>'와콤 CTL-472 웹툰 입문용 타블렛 펜 온라인강의 주식회사 지디스엠알오'</li><li>'와콤 타블렛 CTL-4100 와콤인튜어스 웹툰 (주)코티니'</li><li>'와콤 신티크16 DTK-1660 케이에이씨앤씨'</li></ul> |
|
66 |
+
| 1 | <ul><li>'브라더공식판매대리점 DCP-T426W 무한잉크복합기 인쇄 복사 스캔 무선 AS연장 (주)대명아이티'</li><li>'교세라 ECOSYS M5521cdn 컬러레이저복합기 정품토너포함 한라테크'</li><li>'DCP-T720DW 브라더정품 무한잉크복합기 인쇄 복사 스캔 자동양면인쇄 (주)진전산시스템'</li></ul> |
|
67 |
+
| 4 | <ul><li>'로지텍 코리아 미니멀 무선 일루미네이티드 키보드 MX KEYS MINI 블랙(그라파이트) 주식회사 자강정보통신'</li><li>'앱코 K660 축교환 완전방수 게이밍 카일광축 레인보우LED 블랙,리니어 에스티에스컴퍼니'</li><li>'ABKO HACKER K523 기계식 축교환 LED 키패드 주식회사 브라보세컨즈'</li></ul> |
|
68 |
+
| 2 | <ul><li>'브라더 TN-2380 정품토너 2.6K HL L2365DW HL L2360dn MFC L2700D MFC L2700DW 주식회사 휴먼아이티'</li><li>'삼성전자정품 폐토너통 CLT-W406/ C510W/ C513W/ C563W/ C563FW 엘케이솔루션'</li><li>'(HP) No.680 정품 F6V27AA 검정 정품잉크 검정 총1개만구매(2개이상주문시발송안됨) 밀알시스템'</li></ul> |
|
69 |
+
| 6 | <ul><li>'와콤원 펜 CP91300B2Z 삼성갤럭시탭,갤럭시노트,오닉스 호환 펜 '</li><li>'드로잉장갑 와콤 신티크 XP-PEN 휴이온 액정타블렛 아이패드 태블릿 터치오류방지 '</li><li>'��로잉장갑 와콤 신티크 XP-PEN 휴이온 액정타블렛 아이패드 태블릿 터치오류방지 '</li></ul> |
|
70 |
+
| 8 | <ul><li>'◆◆ 정품 샘플테이프 + ◆◆ 브라더 正品 이름 라벨스티커기계 PT-P900W QR코드 wifi ◀正品▶ PT-P900W 탑정보기술'</li><li>'가제트 3D펜 GP3000+5M PLA 필라멘트 세트(24색) (주)위드피플즈'</li><li>'인스탁스 와이드 링크 포토프린터 모카 그레이(+아크릴액자) 한국후지필름 (주)'</li></ul> |
|
71 |
+
| 3 | <ul><li>'엡손 DS-30000, 양면 스캐너 A3 주식회사 케이에스샵'</li><li>'엡손 WorkForce DS-50000 (주)테드이십일'</li><li>'엡손스캐너 ES-580WMLP 미니멀 라이프 패키지(ES-580W+재단기+롤러)북스캐너 (주)에이엔에이코리아'</li></ul> |
|
72 |
+
| 5 | <ul><li>'로지텍 MK295 SILENT WIRELESS COMBO (화이트) (주)아토닉스'</li><li>'로지텍 MK275 영문자판 병행수입 제이제이 인터내셔널'</li><li>'로지텍코리아 시그니처 MK650 무선 합본 (그래파이트) 주식회사 지엠샤이'</li></ul> |
|
73 |
+
| 0 | <ul><li>'ROCCAT KONE PRO AIR (블랙) (주)디아씨앤씨'</li><li>'[Logitech]로지텍 Trackman Marble USB 마우스 트랙맨 트랙볼 마블 마우스 벌크 /택배/병행/ 당일출고 Trackman Marble USB 허브포스트'</li><li>'로지텍 G402 Hyperion Fury (주)케이엘시스템'</li></ul> |
|
74 |
+
|
75 |
+
## Evaluation
|
76 |
+
|
77 |
+
### Metrics
|
78 |
+
| Label | Metric |
|
79 |
+
|:--------|:-------|
|
80 |
+
| **all** | 0.8548 |
|
81 |
+
|
82 |
+
## Uses
|
83 |
+
|
84 |
+
### Direct Use for Inference
|
85 |
+
|
86 |
+
First install the SetFit library:
|
87 |
+
|
88 |
+
```bash
|
89 |
+
pip install setfit
|
90 |
+
```
|
91 |
+
|
92 |
+
Then you can load this model and run inference.
|
93 |
+
|
94 |
+
```python
|
95 |
+
from setfit import SetFitModel
|
96 |
+
|
97 |
+
# Download from the 🤗 Hub
|
98 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_el18")
|
99 |
+
# Run inference
|
100 |
+
preds = model("Pulsar X2V2 미니 무선 게이밍 마우스 (블랙) 와이에스비투비")
|
101 |
+
```
|
102 |
+
|
103 |
+
<!--
|
104 |
+
### Downstream Use
|
105 |
+
|
106 |
+
*List how someone could finetune this model on their own dataset.*
|
107 |
+
-->
|
108 |
+
|
109 |
+
<!--
|
110 |
+
### Out-of-Scope Use
|
111 |
+
|
112 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
113 |
+
-->
|
114 |
+
|
115 |
+
<!--
|
116 |
+
## Bias, Risks and Limitations
|
117 |
+
|
118 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
119 |
+
-->
|
120 |
+
|
121 |
+
<!--
|
122 |
+
### Recommendations
|
123 |
+
|
124 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
125 |
+
-->
|
126 |
+
|
127 |
+
## Training Details
|
128 |
+
|
129 |
+
### Training Set Metrics
|
130 |
+
| Training set | Min | Median | Max |
|
131 |
+
|:-------------|:----|:--------|:----|
|
132 |
+
| Word count | 4 | 10.5569 | 27 |
|
133 |
+
|
134 |
+
| Label | Training Sample Count |
|
135 |
+
|:------|:----------------------|
|
136 |
+
| 0 | 50 |
|
137 |
+
| 1 | 50 |
|
138 |
+
| 2 | 50 |
|
139 |
+
| 3 | 50 |
|
140 |
+
| 4 | 50 |
|
141 |
+
| 5 | 50 |
|
142 |
+
| 6 | 13 |
|
143 |
+
| 7 | 50 |
|
144 |
+
| 8 | 50 |
|
145 |
+
|
146 |
+
### Training Hyperparameters
|
147 |
+
- batch_size: (512, 512)
|
148 |
+
- num_epochs: (20, 20)
|
149 |
+
- max_steps: -1
|
150 |
+
- sampling_strategy: oversampling
|
151 |
+
- num_iterations: 40
|
152 |
+
- body_learning_rate: (2e-05, 2e-05)
|
153 |
+
- head_learning_rate: 2e-05
|
154 |
+
- loss: CosineSimilarityLoss
|
155 |
+
- distance_metric: cosine_distance
|
156 |
+
- margin: 0.25
|
157 |
+
- end_to_end: False
|
158 |
+
- use_amp: False
|
159 |
+
- warmup_proportion: 0.1
|
160 |
+
- seed: 42
|
161 |
+
- eval_max_steps: -1
|
162 |
+
- load_best_model_at_end: False
|
163 |
+
|
164 |
+
### Training Results
|
165 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
166 |
+
|:-------:|:----:|:-------------:|:---------------:|
|
167 |
+
| 0.0154 | 1 | 0.4961 | - |
|
168 |
+
| 0.7692 | 50 | 0.1923 | - |
|
169 |
+
| 1.5385 | 100 | 0.0615 | - |
|
170 |
+
| 2.3077 | 150 | 0.0532 | - |
|
171 |
+
| 3.0769 | 200 | 0.0513 | - |
|
172 |
+
| 3.8462 | 250 | 0.0283 | - |
|
173 |
+
| 4.6154 | 300 | 0.0313 | - |
|
174 |
+
| 5.3846 | 350 | 0.0258 | - |
|
175 |
+
| 6.1538 | 400 | 0.0174 | - |
|
176 |
+
| 6.9231 | 450 | 0.0053 | - |
|
177 |
+
| 7.6923 | 500 | 0.0021 | - |
|
178 |
+
| 8.4615 | 550 | 0.0039 | - |
|
179 |
+
| 9.2308 | 600 | 0.0059 | - |
|
180 |
+
| 10.0 | 650 | 0.0001 | - |
|
181 |
+
| 10.7692 | 700 | 0.0001 | - |
|
182 |
+
| 11.5385 | 750 | 0.0001 | - |
|
183 |
+
| 12.3077 | 800 | 0.0001 | - |
|
184 |
+
| 13.0769 | 850 | 0.0001 | - |
|
185 |
+
| 13.8462 | 900 | 0.0 | - |
|
186 |
+
| 14.6154 | 950 | 0.0001 | - |
|
187 |
+
| 15.3846 | 1000 | 0.0 | - |
|
188 |
+
| 16.1538 | 1050 | 0.0 | - |
|
189 |
+
| 16.9231 | 1100 | 0.0 | - |
|
190 |
+
| 17.6923 | 1150 | 0.0 | - |
|
191 |
+
| 18.4615 | 1200 | 0.0 | - |
|
192 |
+
| 19.2308 | 1250 | 0.0 | - |
|
193 |
+
| 20.0 | 1300 | 0.0 | - |
|
194 |
+
|
195 |
+
### Framework Versions
|
196 |
+
- Python: 3.10.12
|
197 |
+
- SetFit: 1.1.0.dev0
|
198 |
+
- Sentence Transformers: 3.1.1
|
199 |
+
- Transformers: 4.46.1
|
200 |
+
- PyTorch: 2.4.0+cu121
|
201 |
+
- Datasets: 2.20.0
|
202 |
+
- Tokenizers: 0.20.0
|
203 |
+
|
204 |
+
## Citation
|
205 |
+
|
206 |
+
### BibTeX
|
207 |
+
```bibtex
|
208 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
209 |
+
doi = {10.48550/ARXIV.2209.11055},
|
210 |
+
url = {https://arxiv.org/abs/2209.11055},
|
211 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
212 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
213 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
214 |
+
publisher = {arXiv},
|
215 |
+
year = {2022},
|
216 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
217 |
+
}
|
218 |
+
```
|
219 |
+
|
220 |
+
<!--
|
221 |
+
## Glossary
|
222 |
+
|
223 |
+
*Clearly define terms in order to be accessible across audiences.*
|
224 |
+
-->
|
225 |
+
|
226 |
+
<!--
|
227 |
+
## Model Card Authors
|
228 |
+
|
229 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
230 |
+
-->
|
231 |
+
|
232 |
+
<!--
|
233 |
+
## Model Card Contact
|
234 |
+
|
235 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
236 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mini1013/master_item_el",
|
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:010c78762f028f81b1bb049a1c1d541f828d0efa8c47af648bc459106b682d8f
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91955da594f84aeb1e76d0c8e01c2364e272c90df1e3040d6453475d16921d5d
|
3 |
+
size 56287
|
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
|
|