Push model using huggingface_hub.
Browse files- 1_Pooling/config.json +10 -0
- README.md +221 -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,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: mini1013/master_domain
|
3 |
+
library_name: setfit
|
4 |
+
metrics:
|
5 |
+
- accuracy
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- setfit
|
9 |
+
- sentence-transformers
|
10 |
+
- text-classification
|
11 |
+
- generated_from_setfit_trainer
|
12 |
+
widget:
|
13 |
+
- text: 진저 스캘프 케어 컨디셔너 400ML 옵션없음 (주)씨제이이엔엠
|
14 |
+
- text: 일본 츠바키 프리미엄 리페어 마스크 리필 150g(2개 세트), 상한머리 탄머리 복구 클리닉 옵션없음 포이뷰티
|
15 |
+
- text: 카디뷰 아사이오일 220ML 옵션없음 다이뜨라 마켓
|
16 |
+
- text: 르네휘테르 포티샤 두피 세럼 100ml 1개 동의 스티커에일리언
|
17 |
+
- text: 닥터방기원 랩 탈모 트리트먼트 1000ml 옵션없음 아레나스
|
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: accuracy
|
31 |
+
value: 0.598939929328622
|
32 |
+
name: Accuracy
|
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:** 8 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 |
+
| 6.0 | <ul><li>'[가는모발용 앰플] 케라스타즈 아미넥실 포스 R 6ml 42개입 옵션없음 (주)엠에이치프로페셔날'</li><li>'아모스 컬링에센스 2X 150ml 대량주문 환영 옵션없음 최저가사이트'</li><li>'Milbon Creative Style 웨이브 디파이닝 크림 1 119g(4.2온스) 옵션없음 세렌몰1'</li></ul> |
|
66 |
+
| 7.0 | <ul><li>'[2+1] 먼스앤데이즈 르 부케 헤어케어 (샴푸 500ml x 2개 +컨디셔너 500ml x 1개) 먼스앤데이즈공식스토어'</li><li>'밀크바오밥 세라 샴푸+트리트먼트 화이트머스크 1200ml 밀크바오밥'</li><li>'미쟝센 퍼펙트 매직 스트레이트 샴푸&트리트먼트&세럼 3종 세트+트리트먼트 30ml 아모레퍼시픽'</li></ul> |
|
67 |
+
| 0.0 | <ul><li>'수산농원 국내산 어성초 두피케어 발모팩 스프레이 200ml 무농약건어성초200g 올바른마켓'</li><li>'바이브랩두피앰플 헤어 스칼프 앤 브로우 앰플 15ml 1개 옵션없음 더모아스포츠'</li><li>'AROMATICA 티트리 퓨리파잉 토닉 958g33온스 파라벤 실리콘 황산염 프리 비건 1) 02 티트리 토닉 수예쁠연'</li></ul> |
|
68 |
+
| 4.0 | <ul><li>'[클렌징대전(클렌징밤 )] 로픈 바오밥 세라마이드LPP 프리미엄 헤어트리트먼트 베이비파우더향 1000g 옵션없음 (주)우신뷰티'</li><li>'케라스타즈 뉴트리티브 마스퀸텐스 리슈 200ml 3474637155001 옵션없음 퓨쳐 디엠 (FUTURE DIEM)'</li><li>'Vitamins 비타민 케라틴 퍼플 블루 헤어 마스크 250ml x 2개 옵션없음 명원박'</li></ul> |
|
69 |
+
| 2.0 | <ul><li>'모다모다 제로그레이 블랙샴푸 300g 3개 옵션없음 주식회사 아이프리홀딩스'</li><li>'소리쟁이 가려움 각질 비듬 천연 두피케어 소리쟁이샴푸500ml(지성/중성용) 주식회사 미래정보산업'</li><li>'톤28 머리감을거리 S21 검은콩 참숯 약산성 고체샴푸 100g 1개 100g × 옵션없음 지엘디'</li></ul> |
|
70 |
+
| 5.0 | <ul><li>'바이레도 집시워터 헤어퍼퓸 75 ml 옵션없음 블루밍컴퍼니'</li><li>'아모스 녹차실감 볼류마이징 미스트 140ml 옵션없음 주식회사 케이스코'</li><li>'웰코스 뮤겐스 내추럴 밸런스 투페이스 100ml 옵션없음 청구미용재료'</li></ul> |
|
71 |
+
| 1.0 | <ul><li>'아모스 프로베이직 칼라 앤 펌 컨디셔너 1000g 옵션없음 제이제이코스메틱'</li><li>'아베다 인바티 어드밴스드 씨크닝 컨디셔너 1000ml 1021530 옵션없음 메가랜드'</li><li>'교보문고 골피아 도브 컨디셔너 데일리샤인 660ml (3개) 린스 옵션없음 디원'</li></ul> |
|
72 |
+
| 3.0 | <ul><li>'모비88 아데노신 특허등록 탈모토닉 볼륨업 비듬 제거 옵션없음 달이커머스'</li><li>'애터미 생모단수 200ml 옵션없음 에브리테일'</li><li>'닥터그라프트 스칼프 탈모 토닉 100ml 탈모 두피 케어 옵션없음 인터넷시장'</li></ul> |
|
73 |
+
|
74 |
+
## Evaluation
|
75 |
+
|
76 |
+
### Metrics
|
77 |
+
| Label | Accuracy |
|
78 |
+
|:--------|:---------|
|
79 |
+
| **all** | 0.5989 |
|
80 |
+
|
81 |
+
## Uses
|
82 |
+
|
83 |
+
### Direct Use for Inference
|
84 |
+
|
85 |
+
First install the SetFit library:
|
86 |
+
|
87 |
+
```bash
|
88 |
+
pip install setfit
|
89 |
+
```
|
90 |
+
|
91 |
+
Then you can load this model and run inference.
|
92 |
+
|
93 |
+
```python
|
94 |
+
from setfit import SetFitModel
|
95 |
+
|
96 |
+
# Download from the 🤗 Hub
|
97 |
+
model = SetFitModel.from_pretrained("mini1013/master_cate_bt12_test")
|
98 |
+
# Run inference
|
99 |
+
preds = model("카디뷰 아사이오일 220ML 옵션없음 다이뜨라 마켓")
|
100 |
+
```
|
101 |
+
|
102 |
+
<!--
|
103 |
+
### Downstream Use
|
104 |
+
|
105 |
+
*List how someone could finetune this model on their own dataset.*
|
106 |
+
-->
|
107 |
+
|
108 |
+
<!--
|
109 |
+
### Out-of-Scope Use
|
110 |
+
|
111 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
112 |
+
-->
|
113 |
+
|
114 |
+
<!--
|
115 |
+
## Bias, Risks and Limitations
|
116 |
+
|
117 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
118 |
+
-->
|
119 |
+
|
120 |
+
<!--
|
121 |
+
### Recommendations
|
122 |
+
|
123 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
124 |
+
-->
|
125 |
+
|
126 |
+
## Training Details
|
127 |
+
|
128 |
+
### Training Set Metrics
|
129 |
+
| Training set | Min | Median | Max |
|
130 |
+
|:-------------|:----|:-------|:----|
|
131 |
+
| Word count | 4 | 9.25 | 21 |
|
132 |
+
|
133 |
+
| Label | Training Sample Count |
|
134 |
+
|:------|:----------------------|
|
135 |
+
| 0.0 | 12 |
|
136 |
+
| 1.0 | 23 |
|
137 |
+
| 2.0 | 19 |
|
138 |
+
| 3.0 | 14 |
|
139 |
+
| 4.0 | 18 |
|
140 |
+
| 5.0 | 20 |
|
141 |
+
| 6.0 | 28 |
|
142 |
+
| 7.0 | 18 |
|
143 |
+
|
144 |
+
### Training Hyperparameters
|
145 |
+
- batch_size: (512, 512)
|
146 |
+
- num_epochs: (40, 40)
|
147 |
+
- max_steps: -1
|
148 |
+
- sampling_strategy: oversampling
|
149 |
+
- num_iterations: 50
|
150 |
+
- body_learning_rate: (2e-05, 1e-05)
|
151 |
+
- head_learning_rate: 0.01
|
152 |
+
- loss: CosineSimilarityLoss
|
153 |
+
- distance_metric: cosine_distance
|
154 |
+
- margin: 0.25
|
155 |
+
- end_to_end: False
|
156 |
+
- use_amp: False
|
157 |
+
- warmup_proportion: 0.1
|
158 |
+
- l2_weight: 0.01
|
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.0667 | 1 | 0.485 | - |
|
167 |
+
| 3.3333 | 50 | 0.2919 | - |
|
168 |
+
| 6.6667 | 100 | 0.051 | - |
|
169 |
+
| 10.0 | 150 | 0.0096 | - |
|
170 |
+
| 13.3333 | 200 | 0.0075 | - |
|
171 |
+
| 16.6667 | 250 | 0.0021 | - |
|
172 |
+
| 20.0 | 300 | 0.0001 | - |
|
173 |
+
| 23.3333 | 350 | 0.0001 | - |
|
174 |
+
| 26.6667 | 400 | 0.0001 | - |
|
175 |
+
| 30.0 | 450 | 0.0001 | - |
|
176 |
+
| 33.3333 | 500 | 0.0001 | - |
|
177 |
+
| 36.6667 | 550 | 0.0001 | - |
|
178 |
+
| 40.0 | 600 | 0.0001 | - |
|
179 |
+
|
180 |
+
### Framework Versions
|
181 |
+
- Python: 3.10.12
|
182 |
+
- SetFit: 1.1.0
|
183 |
+
- Sentence Transformers: 3.3.1
|
184 |
+
- Transformers: 4.44.2
|
185 |
+
- PyTorch: 2.2.0a0+81ea7a4
|
186 |
+
- Datasets: 3.2.0
|
187 |
+
- Tokenizers: 0.19.1
|
188 |
+
|
189 |
+
## Citation
|
190 |
+
|
191 |
+
### BibTeX
|
192 |
+
```bibtex
|
193 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
194 |
+
doi = {10.48550/ARXIV.2209.11055},
|
195 |
+
url = {https://arxiv.org/abs/2209.11055},
|
196 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
197 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
198 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
199 |
+
publisher = {arXiv},
|
200 |
+
year = {2022},
|
201 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
202 |
+
}
|
203 |
+
```
|
204 |
+
|
205 |
+
<!--
|
206 |
+
## Glossary
|
207 |
+
|
208 |
+
*Clearly define terms in order to be accessible across audiences.*
|
209 |
+
-->
|
210 |
+
|
211 |
+
<!--
|
212 |
+
## Model Card Authors
|
213 |
+
|
214 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
215 |
+
-->
|
216 |
+
|
217 |
+
<!--
|
218 |
+
## Model Card Contact
|
219 |
+
|
220 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
221 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "mini1013/master_item_bt_test",
|
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:ff9248b9b76535db5f971f8417b84ea879f342878a79c002955243972dee5ac0
|
3 |
+
size 442494816
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cedad87bbba1d5c102d9100c2bb8a654d44b1ef0cd06b53e623effafb4b2252
|
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
|
|