Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +231 -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,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: 코스트코 수지스 그릴드 닭가슴살 1.8kg 수비드 페퍼콘 허브 그릴드 닭가슴살 1.8kg (스테디) 리반태닝
|
14 |
+
- text: 에쓰푸드 전지베이컨(1.9mm 슬라이스) 500g(기름기가 적고 담백한 베이컨) 금정푸드
|
15 |
+
- text: 849967 동원 퀴진 통등심 돈까스 480g 3봉 외 4종 1)돈까스(통등심) 480g 1)돈까스(통등심) 480g_4)생선커틀렛
|
16 |
+
400g_4)생선커틀렛 400g 시드웰쓰파트너스
|
17 |
+
- text: 돼지 뒷다리살 수육용 제육볶음고기 찌개용 ★핫딜대전★ 한돈 뒷다리살 1kg_보쌈용덩어리 주식회사 삼형제월드
|
18 |
+
- text: 송이 불닭발 280gX10팩/국내산, 원앙, 닭발, 매운 (주)천지농산
|
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.6435236614085759
|
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:** 8 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 |
+
| 7.0 | <ul><li>'남도전통 우리맛 토종순대 천연돈장 1kg 4인분 우리맛 토종순대 1kg+1kg (2개) 주식회사 금호비앤디'</li><li>'코스트코 커클랜드 시그니춰 크럼블스 베이컨 567g 최고의수준'</li><li>'하림 아이로운 닭가슴살 팝콘치킨500g 1봉+1봉 팔레스티'</li></ul> |
|
67 |
+
| 2.0 | <ul><li>'청정원 안주야 매운곱창볶음 160g 4개 (주) 이카루스'</li><li>'삼치기 쫄여먹는 쫄갈비 300g 1-2인분 물갈비 캠핑요리 음식 밀키트 고기 양념돼지갈비 쫄여먹는 쫄갈비 300g(1~2인분) 삼치기'</li><li>'파티큐 귀족 통돼지바베큐 (5-10인분) 만화고기 캠핑음식 집들이 출장 부천종합버스터미널_1/6상체 주식회사 파티큐'</li></ul> |
|
68 |
+
| 6.0 | <ul><li>'송화단(화풍60g x10) 8개 식자재 업소용 대용량 일흥상회'</li><li>'오리로스500gx4팩 고추오리불고기500gx1팩 선물용 마이다스'</li><li>'춘천달갈비 국내산 즉석조리식품 안동 순살 찜닭 1kg / 3-4인분 주식회사 에프앤에프커머스'</li></ul> |
|
69 |
+
| 0.0 | <ul><li>'Espuna 스페인 전통 하몽 초리초슬라이스100g1개jamon 밀도상점'</li><li>'목우촌 버터구이 치킨 봉 500gX2개 팔레스티몰'</li><li>'우리맛 모듬국밥 머리고기+내장 2인분 (440g) 모듬국밥 4pack (800g) 주식회사 금호비앤디'</li></ul> |
|
70 |
+
| 5.0 | <ul><li>'[호주산] 양등뼈 1kg cj거성푸드'</li><li>'양의나라 유기농 양고기 양갈비 양꼬치 프렌치렉 숄더랙 캠핑 냉장 냉동 양의 나라'</li><li>'하이마블 프렌치랙 프랜치랙 ���갈비 양고기 450g 램 미니 토마호크 프렌치랙 450g (냉동) 주식회사 하이마블'</li></ul> |
|
71 |
+
| 1.0 | <ul><li>'하림 치킨너겟(Ⅱ) 1kg 텐더스틱 1kg 주식회사 미담'</li><li>'이종하작가 비법매실먹은 춘천닭갈비 올인원세트 3인분 (닭갈비 + 야채+떡+치즈 포함) 통다리살 간장바베큐 4개(1kg) 춘천맛식품'</li><li>'국물닭발 700g 2팩 튤립 숯불 오돌뼈 술안주 혼술 야식 국내산 매운맛 제육볶음 오돌뼈 250g 2팩 주식회사 바르'</li></ul> |
|
72 |
+
| 3.0 | <ul><li>'미트홀 부채살 찹스테이크 부채 큐브 스테이크 1kg(200gX5팩) 짜파구리 미트홀'</li><li>'[도착보장] 올반 소불고기 전골세트 (소불고기 4팩 + 전골육수 2팩) 저녁 국 탕 찌개 반찬 간편식 밀키트 소불고기 4팩+전골육수2팩 (주)신세계푸드'</li><li>'에스푸드 바싹 불고기 1kg 주식회사 클릭몰'</li></ul> |
|
73 |
+
| 4.0 | <ul><li>'흥생농장 반숙란40구 촉촉한 부드러운 반숙계란 흥생농장'</li><li>'에그트리 특란 90구 HACCP농장직송 날계란 에그트리농장'</li><li>'중국 염장 오리알 야단 372g 유황 찐오리알 6개입 오너트리'</li></ul> |
|
74 |
+
|
75 |
+
## Evaluation
|
76 |
+
|
77 |
+
### Metrics
|
78 |
+
| Label | Metric |
|
79 |
+
|:--------|:-------|
|
80 |
+
| **all** | 0.6435 |
|
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_fd20")
|
99 |
+
# Run inference
|
100 |
+
preds = model("송이 불닭발 280gX10팩/국내산, 원앙, 닭발, 매운 (주)천지농산")
|
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 | 3 | 10.0318 | 24 |
|
133 |
+
|
134 |
+
| Label | Training Sample Count |
|
135 |
+
|:------|:----------------------|
|
136 |
+
| 0.0 | 50 |
|
137 |
+
| 1.0 | 50 |
|
138 |
+
| 2.0 | 50 |
|
139 |
+
| 3.0 | 50 |
|
140 |
+
| 4.0 | 19 |
|
141 |
+
| 5.0 | 27 |
|
142 |
+
| 6.0 | 50 |
|
143 |
+
| 7.0 | 50 |
|
144 |
+
|
145 |
+
### Training Hyperparameters
|
146 |
+
- batch_size: (512, 512)
|
147 |
+
- num_epochs: (20, 20)
|
148 |
+
- max_steps: -1
|
149 |
+
- sampling_strategy: oversampling
|
150 |
+
- num_iterations: 40
|
151 |
+
- body_learning_rate: (2e-05, 2e-05)
|
152 |
+
- head_learning_rate: 2e-05
|
153 |
+
- loss: CosineSimilarityLoss
|
154 |
+
- distance_metric: cosine_distance
|
155 |
+
- margin: 0.25
|
156 |
+
- end_to_end: False
|
157 |
+
- use_amp: False
|
158 |
+
- warmup_proportion: 0.1
|
159 |
+
- seed: 42
|
160 |
+
- eval_max_steps: -1
|
161 |
+
- load_best_model_at_end: False
|
162 |
+
|
163 |
+
### Training Results
|
164 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
165 |
+
|:-------:|:----:|:-------------:|:---------------:|
|
166 |
+
| 0.0182 | 1 | 0.4004 | - |
|
167 |
+
| 0.9091 | 50 | 0.238 | - |
|
168 |
+
| 1.8182 | 100 | 0.1002 | - |
|
169 |
+
| 2.7273 | 150 | 0.0799 | - |
|
170 |
+
| 3.6364 | 200 | 0.063 | - |
|
171 |
+
| 4.5455 | 250 | 0.0301 | - |
|
172 |
+
| 5.4545 | 300 | 0.0261 | - |
|
173 |
+
| 6.3636 | 350 | 0.0128 | - |
|
174 |
+
| 7.2727 | 400 | 0.0054 | - |
|
175 |
+
| 8.1818 | 450 | 0.008 | - |
|
176 |
+
| 9.0909 | 500 | 0.004 | - |
|
177 |
+
| 10.0 | 550 | 0.0001 | - |
|
178 |
+
| 10.9091 | 600 | 0.002 | - |
|
179 |
+
| 11.8182 | 650 | 0.002 | - |
|
180 |
+
| 12.7273 | 700 | 0.0058 | - |
|
181 |
+
| 13.6364 | 750 | 0.0039 | - |
|
182 |
+
| 14.5455 | 800 | 0.0016 | - |
|
183 |
+
| 15.4545 | 850 | 0.0001 | - |
|
184 |
+
| 16.3636 | 900 | 0.0001 | - |
|
185 |
+
| 17.2727 | 950 | 0.0001 | - |
|
186 |
+
| 18.1818 | 1000 | 0.0001 | - |
|
187 |
+
| 19.0909 | 1050 | 0.0 | - |
|
188 |
+
| 20.0 | 1100 | 0.0001 | - |
|
189 |
+
|
190 |
+
### Framework Versions
|
191 |
+
- Python: 3.10.12
|
192 |
+
- SetFit: 1.1.0.dev0
|
193 |
+
- Sentence Transformers: 3.1.1
|
194 |
+
- Transformers: 4.46.1
|
195 |
+
- PyTorch: 2.4.0+cu121
|
196 |
+
- Datasets: 2.20.0
|
197 |
+
- Tokenizers: 0.20.0
|
198 |
+
|
199 |
+
## Citation
|
200 |
+
|
201 |
+
### BibTeX
|
202 |
+
```bibtex
|
203 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
204 |
+
doi = {10.48550/ARXIV.2209.11055},
|
205 |
+
url = {https://arxiv.org/abs/2209.11055},
|
206 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
207 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
208 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
209 |
+
publisher = {arXiv},
|
210 |
+
year = {2022},
|
211 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
212 |
+
}
|
213 |
+
```
|
214 |
+
|
215 |
+
<!--
|
216 |
+
## Glossary
|
217 |
+
|
218 |
+
*Clearly define terms in order to be accessible across audiences.*
|
219 |
+
-->
|
220 |
+
|
221 |
+
<!--
|
222 |
+
## Model Card Authors
|
223 |
+
|
224 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
225 |
+
-->
|
226 |
+
|
227 |
+
<!--
|
228 |
+
## Model Card Contact
|
229 |
+
|
230 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
231 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mini1013/master_item_fd",
|
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:b1a65afbe7d1f8249469622898e970badc9af90268fc876f8e87fed9da480029
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:79d41b56925556c60196a1e36e7f56df0cdccc7982780826f30b4f6f5ce1a909
|
3 |
+
size 50087
|
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
|
|