Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +237 -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,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 삼성 노트북 NT450R5E K81S K82P K82W K83S K85S 정품 어댑터 아답터 아답타 충전기 AD-6019R 19V 3.16A 뉴
|
14 |
+
스마트 전자
|
15 |
+
- text: 인트존 205X 노트북 파우치 13인치 15인치 핸디 가방 13인치_스모키블랙 크로니시스템
|
16 |
+
- text: 엑토(ACTTO) NBL-04 노트북 도난방지 케이블/(화이트) 국진컴퓨터
|
17 |
+
- text: 삼성 정품어댑터AD-4019A/19V2.1A/NT930X5J-K82S/4019P 엔티와이
|
18 |
+
- text: LG 그램 17Z90SP & 17ZD90SP 17인치 퓨어 저반사 지문방지 액정보호필름 제트비컴퍼니
|
19 |
+
inference: true
|
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: metric
|
32 |
+
value: 0.9272844272844273
|
33 |
+
name: Metric
|
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:** 9 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 |
+
| 8 | <ul><li>'MSI 프레스티지 16 AI Evo B1MG 노트북 키스킨 커버 무소음 키보드 올유어리브'</li><li>'맥북 에어 15인치 키스킨 M2 실리콘 키보드덮개 (주)스코코'</li><li>'삼성갤럭시북3 Go 키스킨 NT345XPA-KC04S 키스킨 키커버 14인치 실리스킨 문자인쇄 키스킨(블랙) 에이플'</li></ul> |
|
67 |
+
| 0 | <ul><li>'칼디짓 엘레멘트독 CalDigit Element Dock 썬더볼트4 독 멀티허브 맥북프로 Element Dock (주)디엔에이치'</li><li>'마하링크 2.5인치 SATA 멀티부스트 ML-MBS127 디메이드 (DMADE)'</li><li>'AA-AE2N12B usb 젠더 컴퓨터 인터넷 설치 랜 포트 에스아이'</li></ul> |
|
68 |
+
| 3 | <ul><li>'잘만 ZM-NS1000 정품/노트북 받침대/쿨링패드 주식회사보성닷컴'</li><li>'-잘만 ZM-NS1 (블랙)- 주식회사 케이에이치몰'</li><li>'잘만 노트북 쿨링 받침대 ZM-NS2000 (주)아싸컴'</li></ul> |
|
69 |
+
| 5 | <ul><li>'W01 HP Omen 17-ANxxxTX 시리즈용 Crystal액정보호필름 더블유공일'</li><li>'맥북 에어 15인치 필름 M2 무광 하판 외부 1매 무광 상판 1매 (주)스코코'</li><li>'맥북에어 M3 2024 15인치 외부보호필름 3종세트 에이엠스토어'</li></ul> |
|
70 |
+
| 1 | <ul><li>'이지엘 국산 가벼운 손잡이 노트북 파우치 케이스 13.3인치 For 13.3인치_스모키블랙 이지엘'</li><li>'[에버키] Titan 타이탄 EKP120 18.4인치 비투비마스터'</li><li>'LG 그램 14인치 전용 가죽 파우치 (주) 티앤티정보 용산전자랜드지점'</li></ul> |
|
71 |
+
| 6 | <ul><li>'[프라임디렉트] 아답터, 220V / 19V 3.42A [내경2.1~2.5mm/외경5.5mm] 전원 케이블 미포함 [비닐포장] (주)컴퓨존'</li><li>'삼성 정품 노트북 NT-RV720 / 19V 3.16A AD-6019S AD-6019R 정품 전원 어댑터 고다'</li><li>'EFM ipTIME 어댑터 48V-0.5A (ipTIME 제품군 호환용) [ 아이피타임 ] (주)클럽라이더'</li></ul> |
|
72 |
+
| 7 | <ul><li>'HP 노트북배터리 14 15 TPN-Q207 Q208 HT03XL 호환용배터리 라온하람몰'</li><li>'(AA-PB9NC6B)삼성 정품 노트북 배터리/NT-RF410 RF411 RF510 RF511 RF710 RF711 전용 엔티와이'</li><li>'삼성 정품 배터리 AA-PB9NC6B/NT-R530 R540 전용 노트북 배터리/ NTY 엔티와이'</li></ul> |
|
73 |
+
| 2 | <ul><li>'강원전자 넷메이트 노트북 도난방지 USB포트 와이어 잠금장치 키 타입 NM-SLL05M 보다넷'</li><li>'노트북 도난방지 와이어 잠금장치 NM-SLL03 주식회사 루피하루'</li><li>'엑토(ACTTO) NBL-01 노트북 도난방지 케이블/잠금장치 국진컴퓨터'</li></ul> |
|
74 |
+
| 4 | <ul><li>'ASUS 비보북 15 X1504ZA 노트북보안필름 프라이버시 사생활보호 거치형 거치형보안필름_1장 한성'</li><li>'[1300K] HP 빅터스 16-SxxxxAN 거치식 양면 사생활보호필터F 엔에이치엔위투 주식회사'</li><li>'삼성전자 갤럭시북4 NT750XGL-XC51S 노트북보안필름 프라이버시 사생활보호 부착형 부착형보안필름_1장 원일'</li></ul> |
|
75 |
+
|
76 |
+
## Evaluation
|
77 |
+
|
78 |
+
### Metrics
|
79 |
+
| Label | Metric |
|
80 |
+
|:--------|:-------|
|
81 |
+
| **all** | 0.9273 |
|
82 |
+
|
83 |
+
## Uses
|
84 |
+
|
85 |
+
### Direct Use for Inference
|
86 |
+
|
87 |
+
First install the SetFit library:
|
88 |
+
|
89 |
+
```bash
|
90 |
+
pip install setfit
|
91 |
+
```
|
92 |
+
|
93 |
+
Then you can load this model and run inference.
|
94 |
+
|
95 |
+
```python
|
96 |
+
from setfit import SetFitModel
|
97 |
+
|
98 |
+
# Download from the 🤗 Hub
|
99 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_el7")
|
100 |
+
# Run inference
|
101 |
+
preds = model("엑토(ACTTO) NBL-04 노트북 도난방지 케이블/(화이트) 국진컴퓨터")
|
102 |
+
```
|
103 |
+
|
104 |
+
<!--
|
105 |
+
### Downstream Use
|
106 |
+
|
107 |
+
*List how someone could finetune this model on their own dataset.*
|
108 |
+
-->
|
109 |
+
|
110 |
+
<!--
|
111 |
+
### Out-of-Scope Use
|
112 |
+
|
113 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
114 |
+
-->
|
115 |
+
|
116 |
+
<!--
|
117 |
+
## Bias, Risks and Limitations
|
118 |
+
|
119 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
120 |
+
-->
|
121 |
+
|
122 |
+
<!--
|
123 |
+
### Recommendations
|
124 |
+
|
125 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
126 |
+
-->
|
127 |
+
|
128 |
+
## Training Details
|
129 |
+
|
130 |
+
### Training Set Metrics
|
131 |
+
| Training set | Min | Median | Max |
|
132 |
+
|:-------------|:----|:--------|:----|
|
133 |
+
| Word count | 4 | 10.3626 | 23 |
|
134 |
+
|
135 |
+
| Label | Training Sample Count |
|
136 |
+
|:------|:----------------------|
|
137 |
+
| 0 | 50 |
|
138 |
+
| 1 | 50 |
|
139 |
+
| 2 | 50 |
|
140 |
+
| 3 | 50 |
|
141 |
+
| 4 | 22 |
|
142 |
+
| 5 | 50 |
|
143 |
+
| 6 | 50 |
|
144 |
+
| 7 | 50 |
|
145 |
+
| 8 | 50 |
|
146 |
+
|
147 |
+
### Training Hyperparameters
|
148 |
+
- batch_size: (512, 512)
|
149 |
+
- num_epochs: (20, 20)
|
150 |
+
- max_steps: -1
|
151 |
+
- sampling_strategy: oversampling
|
152 |
+
- num_iterations: 40
|
153 |
+
- body_learning_rate: (2e-05, 2e-05)
|
154 |
+
- head_learning_rate: 2e-05
|
155 |
+
- loss: CosineSimilarityLoss
|
156 |
+
- distance_metric: cosine_distance
|
157 |
+
- margin: 0.25
|
158 |
+
- end_to_end: False
|
159 |
+
- use_amp: False
|
160 |
+
- warmup_proportion: 0.1
|
161 |
+
- seed: 42
|
162 |
+
- eval_max_steps: -1
|
163 |
+
- load_best_model_at_end: False
|
164 |
+
|
165 |
+
### Training Results
|
166 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
167 |
+
|:-------:|:----:|:-------------:|:---------------:|
|
168 |
+
| 0.0152 | 1 | 0.4966 | - |
|
169 |
+
| 0.7576 | 50 | 0.184 | - |
|
170 |
+
| 1.5152 | 100 | 0.037 | - |
|
171 |
+
| 2.2727 | 150 | 0.0256 | - |
|
172 |
+
| 3.0303 | 200 | 0.0014 | - |
|
173 |
+
| 3.7879 | 250 | 0.0002 | - |
|
174 |
+
| 4.5455 | 300 | 0.0006 | - |
|
175 |
+
| 5.3030 | 350 | 0.0001 | - |
|
176 |
+
| 6.0606 | 400 | 0.0001 | - |
|
177 |
+
| 6.8182 | 450 | 0.0001 | - |
|
178 |
+
| 7.5758 | 500 | 0.0001 | - |
|
179 |
+
| 8.3333 | 550 | 0.0001 | - |
|
180 |
+
| 9.0909 | 600 | 0.0001 | - |
|
181 |
+
| 9.8485 | 650 | 0.0001 | - |
|
182 |
+
| 10.6061 | 700 | 0.0001 | - |
|
183 |
+
| 11.3636 | 750 | 0.0001 | - |
|
184 |
+
| 12.1212 | 800 | 0.0001 | - |
|
185 |
+
| 12.8788 | 850 | 0.0001 | - |
|
186 |
+
| 13.6364 | 900 | 0.0001 | - |
|
187 |
+
| 14.3939 | 950 | 0.0001 | - |
|
188 |
+
| 15.1515 | 1000 | 0.0001 | - |
|
189 |
+
| 15.9091 | 1050 | 0.0001 | - |
|
190 |
+
| 16.6667 | 1100 | 0.0001 | - |
|
191 |
+
| 17.4242 | 1150 | 0.0 | - |
|
192 |
+
| 18.1818 | 1200 | 0.0 | - |
|
193 |
+
| 18.9394 | 1250 | 0.0 | - |
|
194 |
+
| 19.6970 | 1300 | 0.0 | - |
|
195 |
+
|
196 |
+
### Framework Versions
|
197 |
+
- Python: 3.10.12
|
198 |
+
- SetFit: 1.1.0.dev0
|
199 |
+
- Sentence Transformers: 3.1.1
|
200 |
+
- Transformers: 4.46.1
|
201 |
+
- PyTorch: 2.4.0+cu121
|
202 |
+
- Datasets: 2.20.0
|
203 |
+
- Tokenizers: 0.20.0
|
204 |
+
|
205 |
+
## Citation
|
206 |
+
|
207 |
+
### BibTeX
|
208 |
+
```bibtex
|
209 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
210 |
+
doi = {10.48550/ARXIV.2209.11055},
|
211 |
+
url = {https://arxiv.org/abs/2209.11055},
|
212 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
213 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
214 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
215 |
+
publisher = {arXiv},
|
216 |
+
year = {2022},
|
217 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
218 |
+
}
|
219 |
+
```
|
220 |
+
|
221 |
+
<!--
|
222 |
+
## Glossary
|
223 |
+
|
224 |
+
*Clearly define terms in order to be accessible across audiences.*
|
225 |
+
-->
|
226 |
+
|
227 |
+
<!--
|
228 |
+
## Model Card Authors
|
229 |
+
|
230 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
231 |
+
-->
|
232 |
+
|
233 |
+
<!--
|
234 |
+
## Model Card Contact
|
235 |
+
|
236 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
237 |
+
-->
|
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:640747d9376feca397568a2606a542f28cc97c3a8885c9a2a7b589381d44465d
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27430d9036c705484e5bafbbbbddd3be4db2c96b84e78c84ec6d60e44fc11e08
|
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
|
|