Add SetFit model
Browse files- 1_Pooling/config.json +7 -0
- README.md +243 -1
- config.json +25 -0
- config_sentence_transformers.json +7 -0
- config_setfit.json +16 -0
- model.safetensors +3 -0
- model_head.pkl +3 -0
- modules.json +14 -0
- sentence_bert_config.json +4 -0
- special_tokens_map.json +37 -0
- tokenizer.json +0 -0
- tokenizer_config.json +902 -0
- vocab.txt +0 -0
1_Pooling/config.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
}
|
README.md
CHANGED
@@ -1,3 +1,245 @@
|
|
1 |
---
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
library_name: setfit
|
3 |
+
tags:
|
4 |
+
- setfit
|
5 |
+
- sentence-transformers
|
6 |
+
- text-classification
|
7 |
+
- generated_from_setfit_trainer
|
8 |
+
metrics:
|
9 |
+
- accuracy
|
10 |
+
widget:
|
11 |
+
- text: سیب زمینی خوب بود ولی ساندویچ اصلا جالب نبود کاملا سفت بود
|
12 |
+
- text: شبیه شوخی بود بیشتر ، نوشتم ساندویچ بدون قارچ و خودشوم تو فاکترش نوشته ، اما
|
13 |
+
توش یه دنیا قارچ داشت خیلی هم سرد بود + خیلی هم دیر آورد
|
14 |
+
- text: همه چیز خوب و خوشمزه بود، جز نان سنگک، مثل نان باگت میتوانستی بینش را باز
|
15 |
+
کنی و مواد بزاری، اون کله پاچه خوشمزه و این نون بسیار بد به هم نمیان
|
16 |
+
- text: خوبه ولی کیفیت ظروف مناسب نیست
|
17 |
+
- text: متاسفانه سفارش بنده را اشتباه آورده بودند.و با یک سفارش دیگر که از شرکت به
|
18 |
+
صورت تلفنی سفارش گذاشته بودند، اشتباه گرفته بودند.
|
19 |
+
pipeline_tag: text-classification
|
20 |
+
inference: true
|
21 |
+
base_model: m3hrdadfi/distilbert-zwnj-wnli-mean-tokens
|
22 |
+
model-index:
|
23 |
+
- name: SetFit with m3hrdadfi/distilbert-zwnj-wnli-mean-tokens
|
24 |
+
results:
|
25 |
+
- task:
|
26 |
+
type: text-classification
|
27 |
+
name: Text Classification
|
28 |
+
dataset:
|
29 |
+
name: Unknown
|
30 |
+
type: unknown
|
31 |
+
split: test
|
32 |
+
metrics:
|
33 |
+
- type: accuracy
|
34 |
+
value: 0.13636363636363635
|
35 |
+
name: Accuracy
|
36 |
---
|
37 |
+
|
38 |
+
# SetFit with m3hrdadfi/distilbert-zwnj-wnli-mean-tokens
|
39 |
+
|
40 |
+
This is a [SetFit](https://github.com/huggingface/setfit) model that can be used for Text Classification. This SetFit model uses [m3hrdadfi/distilbert-zwnj-wnli-mean-tokens](https://huggingface.co/m3hrdadfi/distilbert-zwnj-wnli-mean-tokens) 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.
|
41 |
+
|
42 |
+
The model has been trained using an efficient few-shot learning technique that involves:
|
43 |
+
|
44 |
+
1. Fine-tuning a [Sentence Transformer](https://www.sbert.net) with contrastive learning.
|
45 |
+
2. Training a classification head with features from the fine-tuned Sentence Transformer.
|
46 |
+
|
47 |
+
## Model Details
|
48 |
+
|
49 |
+
### Model Description
|
50 |
+
- **Model Type:** SetFit
|
51 |
+
- **Sentence Transformer body:** [m3hrdadfi/distilbert-zwnj-wnli-mean-tokens](https://huggingface.co/m3hrdadfi/distilbert-zwnj-wnli-mean-tokens)
|
52 |
+
- **Classification head:** a [LogisticRegression](https://scikit-learn.org/stable/modules/generated/sklearn.linear_model.LogisticRegression.html) instance
|
53 |
+
- **Maximum Sequence Length:** 128 tokens
|
54 |
+
- **Number of Classes:** 11 classes
|
55 |
+
<!-- - **Training Dataset:** [Unknown](https://huggingface.co/datasets/unknown) -->
|
56 |
+
<!-- - **Language:** Unknown -->
|
57 |
+
<!-- - **License:** Unknown -->
|
58 |
+
|
59 |
+
### Model Sources
|
60 |
+
|
61 |
+
- **Repository:** [SetFit on GitHub](https://github.com/huggingface/setfit)
|
62 |
+
- **Paper:** [Efficient Few-Shot Learning Without Prompts](https://arxiv.org/abs/2209.11055)
|
63 |
+
- **Blogpost:** [SetFit: Efficient Few-Shot Learning Without Prompts](https://huggingface.co/blog/setfit)
|
64 |
+
|
65 |
+
### Model Labels
|
66 |
+
| Label | Examples |
|
67 |
+
|:------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
68 |
+
| 7 | <ul><li>'کیفیت خوب بود ولی سرد تحویل داده شد'</li><li>'حجم ساندويچ ها كم شده'</li><li>'مغزو زبان عالي بود مثل هميشه اما دونر خشك بود و خيلي طول كشيد برسه'</li></ul> |
|
69 |
+
| 4 | <ul><li>'کباب ترکی مخلوط افتضاح ، پر از غضروف مرغ، تو رو خدا یه کم دلسوزتر باشید واقعا من جمعه گشنه موندم، بندری بی مزه بود و طعم تندی و ادویه نداشت، زبان بد نبود و اونم بخاطر پنیر پیتزایی که داشت'</li><li>'ساندويچ هات داگ بسيار بي كيفيت بود ، بهاران ديگه اصلا مثل قديم نيست ، و اين چندمين بار هست كه اين مشكل تكرار ميشه'</li><li>'اندازه ساندویچها خیلی کوچیک شده و گوشت چیزبرگر سفت و دورش سوخته بود، کباب ترکی خوشمزه بود'</li></ul> |
|
70 |
+
| 3 | <ul><li>'حجم غذای ته چین قبلا خیلی خوب بود الان نصف شده دقیقا'</li><li>'سلام ، کیفیت غذا مناسب بود . ما به صورت اینترنتی پرداخت را انجام دادیم ولی پیک هزینه حمل رو می خواست بگیره پول خرد نداشت حدود یک ربع معطل شدیم .پیشنهاد میکنم هزینه ارسال را هم اینترنتی بگیرین و اگر مشکلی هست حداقل اونی که می فرستین 2 هزار تومن پول جیبش باشه.'</li><li>'غذاش بد نبود اما انتظار بیشتری داشتم.'</li></ul> |
|
71 |
+
| 5 | <ul><li>'خوشمزه ترين لوبيا پلويي كه تا حالا خورده بودم! عالي بود عالي! سه شنبه ها حتماً امتحان كنيد..?????????? ولي هيچوقت قيمه رو امتحان نكنيد خيلييي بد بود.????'</li><li>'گریل دریایی فوق العاده بود، سس کره لیمو واقعا خوب بود. پنه خیلی معمولی بود .برگر مامامیا هم بزرگ بود تخم مرغ داشت باحال بود. سالاد کنار برگر و پنینی یونانی بود عالی.سالاد مامامیا خیلی بزرگ بود کینوآ نخورده بودم اما دوست داشتم.'</li><li>'خیلی رستوران خوبی است ولی قیمت غذاهاش خیلی زیاد هست و بعضی وقتها غذا بسیار عالی و گاهی بی کیفیت میشود از مایسا توقعم این است که همیشه عالی باشد'</li></ul> |
|
72 |
+
| 0 | <ul><li>'مزه پیتزا خیلی معمولی و نامتناسب با قیمت بود. مزه گوشت هم اصلا خوب نبود.'</li><li>'مواد استفاده شده کیفیت پایین داشت و تازه نبود و از اون گذشته واقعا هیچ طعمی نداشت، تمام سعیمون رو کردیم با کمک انواع سس ها و ادویه جات طعمی به غذا بدیم ولی واقعا نشد سلیقه مشتری به خاطر دسترسی به انواع رستورانها ارتقا پیدا کرده لطفا کمی مقایسه کنید و ارتقا بدید خیلی سادست پنیر مهمترین جزیی از پیتزاست که به اون مزه میده ولی دریغ از اندکی صعم!!!'</li><li>'کیفیت ژامبون وسوسیس وکالباس بکار رفته بی نهایت پایین بود وباقیت پیتزا تناسب نداشت در منو نوشته شده بود سالامی داره اما من هیچ ندیدم .'</li></ul> |
|
73 |
+
| 8 | <ul><li>'سالاد تازه وخوب ولی سس بسیار کوچک که معمولا مخصوص ساندویچ هست حیفه که سالاد خوب سس خوب نداشته باشه ممنون'</li><li>'برنج قبلا بهتر بود'</li><li>'اصلا به توضیحات توجه نشده بود'</li></ul> |
|
74 |
+
| 6 | <ul><li>'همبرگرها کاملا سرد بود، داخل همبرگر خیار گذاشته شده بود که تا به حال ما تجربه خیار خام داخل همبرگر رو نداشتیم!!! در کل خیلی خیلی معمولی و در حد فست فودهای بسیاااار متوسط بود نه با هزینه بالای۲۰۰ تومن متاسفانه ارزش نداشت'</li><li>'غذا خوب بود نحوه تحویل ��وسط پیک اسنپ افتضاح'</li><li>'غذا سرد و بی نمک بود ، همرو با هم ریخته بود تو ظرف فرستاده بود ، باید تفکیک می کردن ، نون خشک و بیات بود ، بسته بندی شون اصلا خوب و بهداشتی نبود'</li></ul> |
|
75 |
+
| 2 | <ul><li>'بسیار کیفیت پایینی داشت ..اب طمع خیلی بدی داشت و زبان و گوشت مونده و سیاه بود'</li><li>'اکبر جوجه سفارش دادم یعنی بی کیفیت تر از این تا حالا ندیده بودم اونقدر بد بود غذا به همون شکل کل غذا رو ریختیم دور هر چی میشد اسمشو گذاشت بجز اکبرجوجه خوب نمیتونید درست کنید چرا توی منو میارید خیلی خیلی بی کیفیت'</li><li>'متاسفم واقعا به تمام معنا افتضاح تكه هاي پرتي مرغ پر از چربي وبي كيفيت والبته ران با سينه قاطي'</li></ul> |
|
76 |
+
| 9 | <ul><li>'بسیار تازه بود، بسته بندی خوب و مرتبی داشت، سس خوشمزه ای داشت اما مقدار مرغ اش کم بود ولی در کل من طعمش رو دوست داشتم'</li><li>'انصافا هم\u200cکوبیده ی خوشمزه ای بود هم جوجه کبابش ترد بود و خوشمزه و اصلا خشک\u200cنبود. صرفا به نظرم برنجش کم بود.و گوجه کبابیاشم\u200cدو تا خیلی کوچیک بود. در کل رضایتبخش بود.'</li><li>'سس نداشت ساندویچ'</li></ul> |
|
77 |
+
| 1 | <ul><li>'واقعا برای سه عدد پاکت(کاغذی) 3 هزار تومن؟؟ بسته بندی اخه 3 هزار تومن بعد تو کاغذ پیچی؟؟؟؟ عجبب'</li><li>'بهاران ساندویچاش کیفیتش و حجمش\u200cخیلی افت کرده'</li><li>'زمان ارسال بسیار طولانی بود. ۲۰ دقیقه دیرتر از زمان اعلام شده تحویل گردید.'</li></ul> |
|
78 |
+
| 10 | <ul><li>'ممنون ازتون لطفا کیفیت رو حفظ کنید تا وقتی خوب باشه من خودم مشتری ثابت هستم خسته نباشید'</li><li>'واقعا دستتون درد نكنه من نوشته بودم عجله دارم لطفا سريع و داغ برسه نيم ساعته يه غذاى عالي و داغ برامون فرستادن'</li><li>'مثل هميشه عالي بود ، پيك به موقع هم رسيد ماهي تنوري رو اولين بار بود كه سفارش دادم و خيلي خوشم اومد'</li></ul> |
|
79 |
+
|
80 |
+
## Evaluation
|
81 |
+
|
82 |
+
### Metrics
|
83 |
+
| Label | Accuracy |
|
84 |
+
|:--------|:---------|
|
85 |
+
| **all** | 0.1364 |
|
86 |
+
|
87 |
+
## Uses
|
88 |
+
|
89 |
+
### Direct Use for Inference
|
90 |
+
|
91 |
+
First install the SetFit library:
|
92 |
+
|
93 |
+
```bash
|
94 |
+
pip install setfit
|
95 |
+
```
|
96 |
+
|
97 |
+
Then you can load this model and run inference.
|
98 |
+
|
99 |
+
```python
|
100 |
+
from setfit import SetFitModel
|
101 |
+
|
102 |
+
# Download from the 🤗 Hub
|
103 |
+
model = SetFitModel.from_pretrained("keivan/distilbert-zwnj-wnli-mean-tokens")
|
104 |
+
# Run inference
|
105 |
+
preds = model("خوبه ولی کیفیت ظروف مناسب نیست")
|
106 |
+
```
|
107 |
+
|
108 |
+
<!--
|
109 |
+
### Downstream Use
|
110 |
+
|
111 |
+
*List how someone could finetune this model on their own dataset.*
|
112 |
+
-->
|
113 |
+
|
114 |
+
<!--
|
115 |
+
### Out-of-Scope Use
|
116 |
+
|
117 |
+
*List how the model may foreseeably be misused and address what users ought not to do with the model.*
|
118 |
+
-->
|
119 |
+
|
120 |
+
<!--
|
121 |
+
## Bias, Risks and Limitations
|
122 |
+
|
123 |
+
*What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
|
124 |
+
-->
|
125 |
+
|
126 |
+
<!--
|
127 |
+
### Recommendations
|
128 |
+
|
129 |
+
*What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
|
130 |
+
-->
|
131 |
+
|
132 |
+
## Training Details
|
133 |
+
|
134 |
+
### Training Set Metrics
|
135 |
+
| Training set | Min | Median | Max |
|
136 |
+
|:-------------|:----|:--------|:----|
|
137 |
+
| Word count | 3 | 21.3377 | 72 |
|
138 |
+
|
139 |
+
| Label | Training Sample Count |
|
140 |
+
|:------|:----------------------|
|
141 |
+
| 0 | 7 |
|
142 |
+
| 1 | 7 |
|
143 |
+
| 2 | 7 |
|
144 |
+
| 3 | 7 |
|
145 |
+
| 4 | 7 |
|
146 |
+
| 5 | 7 |
|
147 |
+
| 6 | 7 |
|
148 |
+
| 7 | 7 |
|
149 |
+
| 8 | 7 |
|
150 |
+
| 9 | 7 |
|
151 |
+
| 10 | 7 |
|
152 |
+
|
153 |
+
### Training Hyperparameters
|
154 |
+
- batch_size: (8, 8)
|
155 |
+
- num_epochs: (2, 2)
|
156 |
+
- max_steps: -1
|
157 |
+
- sampling_strategy: oversampling
|
158 |
+
- body_learning_rate: (2e-05, 1e-05)
|
159 |
+
- head_learning_rate: 0.01
|
160 |
+
- loss: CosineSimilarityLoss
|
161 |
+
- distance_metric: cosine_distance
|
162 |
+
- margin: 0.25
|
163 |
+
- end_to_end: False
|
164 |
+
- use_amp: False
|
165 |
+
- warmup_proportion: 0.1
|
166 |
+
- seed: 42
|
167 |
+
- eval_max_steps: -1
|
168 |
+
- load_best_model_at_end: True
|
169 |
+
|
170 |
+
### Training Results
|
171 |
+
| Epoch | Step | Training Loss | Validation Loss |
|
172 |
+
|:-------:|:--------:|:-------------:|:---------------:|
|
173 |
+
| 0.0015 | 1 | 0.2733 | - |
|
174 |
+
| 0.0742 | 50 | 0.2448 | - |
|
175 |
+
| 0.1484 | 100 | 0.2352 | - |
|
176 |
+
| 0.2226 | 150 | 0.1307 | - |
|
177 |
+
| 0.2967 | 200 | 0.0562 | - |
|
178 |
+
| 0.3709 | 250 | 0.0863 | - |
|
179 |
+
| 0.4451 | 300 | 0.0256 | - |
|
180 |
+
| 0.5193 | 350 | 0.0089 | - |
|
181 |
+
| 0.5935 | 400 | 0.0195 | - |
|
182 |
+
| 0.6677 | 450 | 0.0082 | - |
|
183 |
+
| 0.7418 | 500 | 0.0048 | - |
|
184 |
+
| 0.8160 | 550 | 0.0087 | - |
|
185 |
+
| 0.8902 | 600 | 0.0098 | - |
|
186 |
+
| 0.9644 | 650 | 0.0015 | - |
|
187 |
+
| 1.0 | 674 | - | 0.0302 |
|
188 |
+
| 1.0386 | 700 | 0.0027 | - |
|
189 |
+
| 1.1128 | 750 | 0.0019 | - |
|
190 |
+
| 1.1869 | 800 | 0.0013 | - |
|
191 |
+
| 1.2611 | 850 | 0.0017 | - |
|
192 |
+
| 1.3353 | 900 | 0.0017 | - |
|
193 |
+
| 1.4095 | 950 | 0.0018 | - |
|
194 |
+
| 1.4837 | 1000 | 0.0019 | - |
|
195 |
+
| 1.5579 | 1050 | 0.0015 | - |
|
196 |
+
| 1.6320 | 1100 | 0.001 | - |
|
197 |
+
| 1.7062 | 1150 | 0.001 | - |
|
198 |
+
| 1.7804 | 1200 | 0.0004 | - |
|
199 |
+
| 1.8546 | 1250 | 0.0009 | - |
|
200 |
+
| 1.9288 | 1300 | 0.0011 | - |
|
201 |
+
| **2.0** | **1348** | **-** | **0.0298** |
|
202 |
+
|
203 |
+
* The bold row denotes the saved checkpoint.
|
204 |
+
### Framework Versions
|
205 |
+
- Python: 3.10.12
|
206 |
+
- SetFit: 1.0.1
|
207 |
+
- Sentence Transformers: 2.2.2
|
208 |
+
- Transformers: 4.35.2
|
209 |
+
- PyTorch: 2.1.0+cu121
|
210 |
+
- Datasets: 2.15.0
|
211 |
+
- Tokenizers: 0.15.0
|
212 |
+
|
213 |
+
## Citation
|
214 |
+
|
215 |
+
### BibTeX
|
216 |
+
```bibtex
|
217 |
+
@article{https://doi.org/10.48550/arxiv.2209.11055,
|
218 |
+
doi = {10.48550/ARXIV.2209.11055},
|
219 |
+
url = {https://arxiv.org/abs/2209.11055},
|
220 |
+
author = {Tunstall, Lewis and Reimers, Nils and Jo, Unso Eun Seo and Bates, Luke and Korat, Daniel and Wasserblat, Moshe and Pereg, Oren},
|
221 |
+
keywords = {Computation and Language (cs.CL), FOS: Computer and information sciences, FOS: Computer and information sciences},
|
222 |
+
title = {Efficient Few-Shot Learning Without Prompts},
|
223 |
+
publisher = {arXiv},
|
224 |
+
year = {2022},
|
225 |
+
copyright = {Creative Commons Attribution 4.0 International}
|
226 |
+
}
|
227 |
+
```
|
228 |
+
|
229 |
+
<!--
|
230 |
+
## Glossary
|
231 |
+
|
232 |
+
*Clearly define terms in order to be accessible across audiences.*
|
233 |
+
-->
|
234 |
+
|
235 |
+
<!--
|
236 |
+
## Model Card Authors
|
237 |
+
|
238 |
+
*Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
|
239 |
+
-->
|
240 |
+
|
241 |
+
<!--
|
242 |
+
## Model Card Contact
|
243 |
+
|
244 |
+
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
245 |
+
-->
|
config.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "checkpoints/step_1348/",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"DistilBertModel"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"dim": 768,
|
9 |
+
"dropout": 0.1,
|
10 |
+
"hidden_dim": 3072,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"max_position_embeddings": 512,
|
13 |
+
"model_type": "distilbert",
|
14 |
+
"n_heads": 12,
|
15 |
+
"n_layers": 6,
|
16 |
+
"output_past": true,
|
17 |
+
"pad_token_id": 0,
|
18 |
+
"qa_dropout": 0.1,
|
19 |
+
"seq_classif_dropout": 0.2,
|
20 |
+
"sinusoidal_pos_embds": false,
|
21 |
+
"tie_weights_": true,
|
22 |
+
"torch_dtype": "float32",
|
23 |
+
"transformers_version": "4.35.2",
|
24 |
+
"vocab_size": 42000
|
25 |
+
}
|
config_sentence_transformers.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"__version__": {
|
3 |
+
"sentence_transformers": "2.0.0",
|
4 |
+
"transformers": "4.7.0",
|
5 |
+
"pytorch": "1.9.0+cu102"
|
6 |
+
}
|
7 |
+
}
|
config_setfit.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"labels": [
|
3 |
+
0,
|
4 |
+
1,
|
5 |
+
2,
|
6 |
+
3,
|
7 |
+
4,
|
8 |
+
5,
|
9 |
+
6,
|
10 |
+
7,
|
11 |
+
8,
|
12 |
+
9,
|
13 |
+
10
|
14 |
+
],
|
15 |
+
"normalize_embeddings": false
|
16 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:adb1f47fdcc36f6bca266519472b603fbf51cf680c9227114f084cb066af057b
|
3 |
+
size 300723032
|
model_head.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:681e8585ac4cee210bae17c44f9b1f35c0bad79fd6557f3e6f7af5d2ec02baff
|
3 |
+
size 68591
|
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": 128,
|
3 |
+
"do_lower_case": false
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[SEP]",
|
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 |
+
"5": {
|
44 |
+
"content": "[NL]",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"6": {
|
52 |
+
"content": "[HS]",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"7": {
|
60 |
+
"content": "[SOS]",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"8": {
|
68 |
+
"content": "[EOS]",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
},
|
75 |
+
"9": {
|
76 |
+
"content": "[ZWNJ]",
|
77 |
+
"lstrip": false,
|
78 |
+
"normalized": true,
|
79 |
+
"rstrip": false,
|
80 |
+
"single_word": false,
|
81 |
+
"special": true
|
82 |
+
},
|
83 |
+
"10": {
|
84 |
+
"content": "[U1]",
|
85 |
+
"lstrip": false,
|
86 |
+
"normalized": false,
|
87 |
+
"rstrip": false,
|
88 |
+
"single_word": false,
|
89 |
+
"special": true
|
90 |
+
},
|
91 |
+
"11": {
|
92 |
+
"content": "[U2]",
|
93 |
+
"lstrip": false,
|
94 |
+
"normalized": false,
|
95 |
+
"rstrip": false,
|
96 |
+
"single_word": false,
|
97 |
+
"special": true
|
98 |
+
},
|
99 |
+
"12": {
|
100 |
+
"content": "[U3]",
|
101 |
+
"lstrip": false,
|
102 |
+
"normalized": false,
|
103 |
+
"rstrip": false,
|
104 |
+
"single_word": false,
|
105 |
+
"special": true
|
106 |
+
},
|
107 |
+
"13": {
|
108 |
+
"content": "[U4]",
|
109 |
+
"lstrip": false,
|
110 |
+
"normalized": false,
|
111 |
+
"rstrip": false,
|
112 |
+
"single_word": false,
|
113 |
+
"special": true
|
114 |
+
},
|
115 |
+
"14": {
|
116 |
+
"content": "[U5]",
|
117 |
+
"lstrip": false,
|
118 |
+
"normalized": false,
|
119 |
+
"rstrip": false,
|
120 |
+
"single_word": false,
|
121 |
+
"special": true
|
122 |
+
},
|
123 |
+
"15": {
|
124 |
+
"content": "[U6]",
|
125 |
+
"lstrip": false,
|
126 |
+
"normalized": false,
|
127 |
+
"rstrip": false,
|
128 |
+
"single_word": false,
|
129 |
+
"special": true
|
130 |
+
},
|
131 |
+
"16": {
|
132 |
+
"content": "[U7]",
|
133 |
+
"lstrip": false,
|
134 |
+
"normalized": false,
|
135 |
+
"rstrip": false,
|
136 |
+
"single_word": false,
|
137 |
+
"special": true
|
138 |
+
},
|
139 |
+
"17": {
|
140 |
+
"content": "[U8]",
|
141 |
+
"lstrip": false,
|
142 |
+
"normalized": false,
|
143 |
+
"rstrip": false,
|
144 |
+
"single_word": false,
|
145 |
+
"special": true
|
146 |
+
},
|
147 |
+
"18": {
|
148 |
+
"content": "[U9]",
|
149 |
+
"lstrip": false,
|
150 |
+
"normalized": false,
|
151 |
+
"rstrip": false,
|
152 |
+
"single_word": false,
|
153 |
+
"special": true
|
154 |
+
},
|
155 |
+
"19": {
|
156 |
+
"content": "[U10]",
|
157 |
+
"lstrip": false,
|
158 |
+
"normalized": false,
|
159 |
+
"rstrip": false,
|
160 |
+
"single_word": false,
|
161 |
+
"special": true
|
162 |
+
},
|
163 |
+
"20": {
|
164 |
+
"content": "[U11]",
|
165 |
+
"lstrip": false,
|
166 |
+
"normalized": false,
|
167 |
+
"rstrip": false,
|
168 |
+
"single_word": false,
|
169 |
+
"special": true
|
170 |
+
},
|
171 |
+
"21": {
|
172 |
+
"content": "[U12]",
|
173 |
+
"lstrip": false,
|
174 |
+
"normalized": false,
|
175 |
+
"rstrip": false,
|
176 |
+
"single_word": false,
|
177 |
+
"special": true
|
178 |
+
},
|
179 |
+
"22": {
|
180 |
+
"content": "[U13]",
|
181 |
+
"lstrip": false,
|
182 |
+
"normalized": false,
|
183 |
+
"rstrip": false,
|
184 |
+
"single_word": false,
|
185 |
+
"special": true
|
186 |
+
},
|
187 |
+
"23": {
|
188 |
+
"content": "[U14]",
|
189 |
+
"lstrip": false,
|
190 |
+
"normalized": false,
|
191 |
+
"rstrip": false,
|
192 |
+
"single_word": false,
|
193 |
+
"special": true
|
194 |
+
},
|
195 |
+
"24": {
|
196 |
+
"content": "[U15]",
|
197 |
+
"lstrip": false,
|
198 |
+
"normalized": false,
|
199 |
+
"rstrip": false,
|
200 |
+
"single_word": false,
|
201 |
+
"special": true
|
202 |
+
},
|
203 |
+
"25": {
|
204 |
+
"content": "[U16]",
|
205 |
+
"lstrip": false,
|
206 |
+
"normalized": false,
|
207 |
+
"rstrip": false,
|
208 |
+
"single_word": false,
|
209 |
+
"special": true
|
210 |
+
},
|
211 |
+
"26": {
|
212 |
+
"content": "[U17]",
|
213 |
+
"lstrip": false,
|
214 |
+
"normalized": false,
|
215 |
+
"rstrip": false,
|
216 |
+
"single_word": false,
|
217 |
+
"special": true
|
218 |
+
},
|
219 |
+
"27": {
|
220 |
+
"content": "[U18]",
|
221 |
+
"lstrip": false,
|
222 |
+
"normalized": false,
|
223 |
+
"rstrip": false,
|
224 |
+
"single_word": false,
|
225 |
+
"special": true
|
226 |
+
},
|
227 |
+
"28": {
|
228 |
+
"content": "[U19]",
|
229 |
+
"lstrip": false,
|
230 |
+
"normalized": false,
|
231 |
+
"rstrip": false,
|
232 |
+
"single_word": false,
|
233 |
+
"special": true
|
234 |
+
},
|
235 |
+
"29": {
|
236 |
+
"content": "[U20]",
|
237 |
+
"lstrip": false,
|
238 |
+
"normalized": false,
|
239 |
+
"rstrip": false,
|
240 |
+
"single_word": false,
|
241 |
+
"special": true
|
242 |
+
},
|
243 |
+
"30": {
|
244 |
+
"content": "[U21]",
|
245 |
+
"lstrip": false,
|
246 |
+
"normalized": false,
|
247 |
+
"rstrip": false,
|
248 |
+
"single_word": false,
|
249 |
+
"special": true
|
250 |
+
},
|
251 |
+
"31": {
|
252 |
+
"content": "[U22]",
|
253 |
+
"lstrip": false,
|
254 |
+
"normalized": false,
|
255 |
+
"rstrip": false,
|
256 |
+
"single_word": false,
|
257 |
+
"special": true
|
258 |
+
},
|
259 |
+
"32": {
|
260 |
+
"content": "[U23]",
|
261 |
+
"lstrip": false,
|
262 |
+
"normalized": false,
|
263 |
+
"rstrip": false,
|
264 |
+
"single_word": false,
|
265 |
+
"special": true
|
266 |
+
},
|
267 |
+
"33": {
|
268 |
+
"content": "[U24]",
|
269 |
+
"lstrip": false,
|
270 |
+
"normalized": false,
|
271 |
+
"rstrip": false,
|
272 |
+
"single_word": false,
|
273 |
+
"special": true
|
274 |
+
},
|
275 |
+
"34": {
|
276 |
+
"content": "[U25]",
|
277 |
+
"lstrip": false,
|
278 |
+
"normalized": false,
|
279 |
+
"rstrip": false,
|
280 |
+
"single_word": false,
|
281 |
+
"special": true
|
282 |
+
},
|
283 |
+
"35": {
|
284 |
+
"content": "[U26]",
|
285 |
+
"lstrip": false,
|
286 |
+
"normalized": false,
|
287 |
+
"rstrip": false,
|
288 |
+
"single_word": false,
|
289 |
+
"special": true
|
290 |
+
},
|
291 |
+
"36": {
|
292 |
+
"content": "[U27]",
|
293 |
+
"lstrip": false,
|
294 |
+
"normalized": false,
|
295 |
+
"rstrip": false,
|
296 |
+
"single_word": false,
|
297 |
+
"special": true
|
298 |
+
},
|
299 |
+
"37": {
|
300 |
+
"content": "[U28]",
|
301 |
+
"lstrip": false,
|
302 |
+
"normalized": false,
|
303 |
+
"rstrip": false,
|
304 |
+
"single_word": false,
|
305 |
+
"special": true
|
306 |
+
},
|
307 |
+
"38": {
|
308 |
+
"content": "[U29]",
|
309 |
+
"lstrip": false,
|
310 |
+
"normalized": false,
|
311 |
+
"rstrip": false,
|
312 |
+
"single_word": false,
|
313 |
+
"special": true
|
314 |
+
},
|
315 |
+
"39": {
|
316 |
+
"content": "[U30]",
|
317 |
+
"lstrip": false,
|
318 |
+
"normalized": false,
|
319 |
+
"rstrip": false,
|
320 |
+
"single_word": false,
|
321 |
+
"special": true
|
322 |
+
},
|
323 |
+
"40": {
|
324 |
+
"content": "[U31]",
|
325 |
+
"lstrip": false,
|
326 |
+
"normalized": false,
|
327 |
+
"rstrip": false,
|
328 |
+
"single_word": false,
|
329 |
+
"special": true
|
330 |
+
},
|
331 |
+
"41": {
|
332 |
+
"content": "[U32]",
|
333 |
+
"lstrip": false,
|
334 |
+
"normalized": false,
|
335 |
+
"rstrip": false,
|
336 |
+
"single_word": false,
|
337 |
+
"special": true
|
338 |
+
},
|
339 |
+
"42": {
|
340 |
+
"content": "[U33]",
|
341 |
+
"lstrip": false,
|
342 |
+
"normalized": false,
|
343 |
+
"rstrip": false,
|
344 |
+
"single_word": false,
|
345 |
+
"special": true
|
346 |
+
},
|
347 |
+
"43": {
|
348 |
+
"content": "[U34]",
|
349 |
+
"lstrip": false,
|
350 |
+
"normalized": false,
|
351 |
+
"rstrip": false,
|
352 |
+
"single_word": false,
|
353 |
+
"special": true
|
354 |
+
},
|
355 |
+
"44": {
|
356 |
+
"content": "[U35]",
|
357 |
+
"lstrip": false,
|
358 |
+
"normalized": false,
|
359 |
+
"rstrip": false,
|
360 |
+
"single_word": false,
|
361 |
+
"special": true
|
362 |
+
},
|
363 |
+
"45": {
|
364 |
+
"content": "[U36]",
|
365 |
+
"lstrip": false,
|
366 |
+
"normalized": false,
|
367 |
+
"rstrip": false,
|
368 |
+
"single_word": false,
|
369 |
+
"special": true
|
370 |
+
},
|
371 |
+
"46": {
|
372 |
+
"content": "[U37]",
|
373 |
+
"lstrip": false,
|
374 |
+
"normalized": false,
|
375 |
+
"rstrip": false,
|
376 |
+
"single_word": false,
|
377 |
+
"special": true
|
378 |
+
},
|
379 |
+
"47": {
|
380 |
+
"content": "[U38]",
|
381 |
+
"lstrip": false,
|
382 |
+
"normalized": false,
|
383 |
+
"rstrip": false,
|
384 |
+
"single_word": false,
|
385 |
+
"special": true
|
386 |
+
},
|
387 |
+
"48": {
|
388 |
+
"content": "[U39]",
|
389 |
+
"lstrip": false,
|
390 |
+
"normalized": false,
|
391 |
+
"rstrip": false,
|
392 |
+
"single_word": false,
|
393 |
+
"special": true
|
394 |
+
},
|
395 |
+
"49": {
|
396 |
+
"content": "[U40]",
|
397 |
+
"lstrip": false,
|
398 |
+
"normalized": false,
|
399 |
+
"rstrip": false,
|
400 |
+
"single_word": false,
|
401 |
+
"special": true
|
402 |
+
},
|
403 |
+
"50": {
|
404 |
+
"content": "[U41]",
|
405 |
+
"lstrip": false,
|
406 |
+
"normalized": false,
|
407 |
+
"rstrip": false,
|
408 |
+
"single_word": false,
|
409 |
+
"special": true
|
410 |
+
},
|
411 |
+
"51": {
|
412 |
+
"content": "[U42]",
|
413 |
+
"lstrip": false,
|
414 |
+
"normalized": false,
|
415 |
+
"rstrip": false,
|
416 |
+
"single_word": false,
|
417 |
+
"special": true
|
418 |
+
},
|
419 |
+
"52": {
|
420 |
+
"content": "[U43]",
|
421 |
+
"lstrip": false,
|
422 |
+
"normalized": false,
|
423 |
+
"rstrip": false,
|
424 |
+
"single_word": false,
|
425 |
+
"special": true
|
426 |
+
},
|
427 |
+
"53": {
|
428 |
+
"content": "[U44]",
|
429 |
+
"lstrip": false,
|
430 |
+
"normalized": false,
|
431 |
+
"rstrip": false,
|
432 |
+
"single_word": false,
|
433 |
+
"special": true
|
434 |
+
},
|
435 |
+
"54": {
|
436 |
+
"content": "[U45]",
|
437 |
+
"lstrip": false,
|
438 |
+
"normalized": false,
|
439 |
+
"rstrip": false,
|
440 |
+
"single_word": false,
|
441 |
+
"special": true
|
442 |
+
},
|
443 |
+
"55": {
|
444 |
+
"content": "[U46]",
|
445 |
+
"lstrip": false,
|
446 |
+
"normalized": false,
|
447 |
+
"rstrip": false,
|
448 |
+
"single_word": false,
|
449 |
+
"special": true
|
450 |
+
},
|
451 |
+
"56": {
|
452 |
+
"content": "[U47]",
|
453 |
+
"lstrip": false,
|
454 |
+
"normalized": false,
|
455 |
+
"rstrip": false,
|
456 |
+
"single_word": false,
|
457 |
+
"special": true
|
458 |
+
},
|
459 |
+
"57": {
|
460 |
+
"content": "[U48]",
|
461 |
+
"lstrip": false,
|
462 |
+
"normalized": false,
|
463 |
+
"rstrip": false,
|
464 |
+
"single_word": false,
|
465 |
+
"special": true
|
466 |
+
},
|
467 |
+
"58": {
|
468 |
+
"content": "[U49]",
|
469 |
+
"lstrip": false,
|
470 |
+
"normalized": false,
|
471 |
+
"rstrip": false,
|
472 |
+
"single_word": false,
|
473 |
+
"special": true
|
474 |
+
},
|
475 |
+
"59": {
|
476 |
+
"content": "[U50]",
|
477 |
+
"lstrip": false,
|
478 |
+
"normalized": false,
|
479 |
+
"rstrip": false,
|
480 |
+
"single_word": false,
|
481 |
+
"special": true
|
482 |
+
},
|
483 |
+
"60": {
|
484 |
+
"content": "[U51]",
|
485 |
+
"lstrip": false,
|
486 |
+
"normalized": false,
|
487 |
+
"rstrip": false,
|
488 |
+
"single_word": false,
|
489 |
+
"special": true
|
490 |
+
},
|
491 |
+
"61": {
|
492 |
+
"content": "[U52]",
|
493 |
+
"lstrip": false,
|
494 |
+
"normalized": false,
|
495 |
+
"rstrip": false,
|
496 |
+
"single_word": false,
|
497 |
+
"special": true
|
498 |
+
},
|
499 |
+
"62": {
|
500 |
+
"content": "[U53]",
|
501 |
+
"lstrip": false,
|
502 |
+
"normalized": false,
|
503 |
+
"rstrip": false,
|
504 |
+
"single_word": false,
|
505 |
+
"special": true
|
506 |
+
},
|
507 |
+
"63": {
|
508 |
+
"content": "[U54]",
|
509 |
+
"lstrip": false,
|
510 |
+
"normalized": false,
|
511 |
+
"rstrip": false,
|
512 |
+
"single_word": false,
|
513 |
+
"special": true
|
514 |
+
},
|
515 |
+
"64": {
|
516 |
+
"content": "[U55]",
|
517 |
+
"lstrip": false,
|
518 |
+
"normalized": false,
|
519 |
+
"rstrip": false,
|
520 |
+
"single_word": false,
|
521 |
+
"special": true
|
522 |
+
},
|
523 |
+
"65": {
|
524 |
+
"content": "[U56]",
|
525 |
+
"lstrip": false,
|
526 |
+
"normalized": false,
|
527 |
+
"rstrip": false,
|
528 |
+
"single_word": false,
|
529 |
+
"special": true
|
530 |
+
},
|
531 |
+
"66": {
|
532 |
+
"content": "[U57]",
|
533 |
+
"lstrip": false,
|
534 |
+
"normalized": false,
|
535 |
+
"rstrip": false,
|
536 |
+
"single_word": false,
|
537 |
+
"special": true
|
538 |
+
},
|
539 |
+
"67": {
|
540 |
+
"content": "[U58]",
|
541 |
+
"lstrip": false,
|
542 |
+
"normalized": false,
|
543 |
+
"rstrip": false,
|
544 |
+
"single_word": false,
|
545 |
+
"special": true
|
546 |
+
},
|
547 |
+
"68": {
|
548 |
+
"content": "[U59]",
|
549 |
+
"lstrip": false,
|
550 |
+
"normalized": false,
|
551 |
+
"rstrip": false,
|
552 |
+
"single_word": false,
|
553 |
+
"special": true
|
554 |
+
},
|
555 |
+
"69": {
|
556 |
+
"content": "[U60]",
|
557 |
+
"lstrip": false,
|
558 |
+
"normalized": false,
|
559 |
+
"rstrip": false,
|
560 |
+
"single_word": false,
|
561 |
+
"special": true
|
562 |
+
},
|
563 |
+
"70": {
|
564 |
+
"content": "[U61]",
|
565 |
+
"lstrip": false,
|
566 |
+
"normalized": false,
|
567 |
+
"rstrip": false,
|
568 |
+
"single_word": false,
|
569 |
+
"special": true
|
570 |
+
},
|
571 |
+
"71": {
|
572 |
+
"content": "[U62]",
|
573 |
+
"lstrip": false,
|
574 |
+
"normalized": false,
|
575 |
+
"rstrip": false,
|
576 |
+
"single_word": false,
|
577 |
+
"special": true
|
578 |
+
},
|
579 |
+
"72": {
|
580 |
+
"content": "[U63]",
|
581 |
+
"lstrip": false,
|
582 |
+
"normalized": false,
|
583 |
+
"rstrip": false,
|
584 |
+
"single_word": false,
|
585 |
+
"special": true
|
586 |
+
},
|
587 |
+
"73": {
|
588 |
+
"content": "[U64]",
|
589 |
+
"lstrip": false,
|
590 |
+
"normalized": false,
|
591 |
+
"rstrip": false,
|
592 |
+
"single_word": false,
|
593 |
+
"special": true
|
594 |
+
},
|
595 |
+
"74": {
|
596 |
+
"content": "[U65]",
|
597 |
+
"lstrip": false,
|
598 |
+
"normalized": false,
|
599 |
+
"rstrip": false,
|
600 |
+
"single_word": false,
|
601 |
+
"special": true
|
602 |
+
},
|
603 |
+
"75": {
|
604 |
+
"content": "[U66]",
|
605 |
+
"lstrip": false,
|
606 |
+
"normalized": false,
|
607 |
+
"rstrip": false,
|
608 |
+
"single_word": false,
|
609 |
+
"special": true
|
610 |
+
},
|
611 |
+
"76": {
|
612 |
+
"content": "[U67]",
|
613 |
+
"lstrip": false,
|
614 |
+
"normalized": false,
|
615 |
+
"rstrip": false,
|
616 |
+
"single_word": false,
|
617 |
+
"special": true
|
618 |
+
},
|
619 |
+
"77": {
|
620 |
+
"content": "[U68]",
|
621 |
+
"lstrip": false,
|
622 |
+
"normalized": false,
|
623 |
+
"rstrip": false,
|
624 |
+
"single_word": false,
|
625 |
+
"special": true
|
626 |
+
},
|
627 |
+
"78": {
|
628 |
+
"content": "[U69]",
|
629 |
+
"lstrip": false,
|
630 |
+
"normalized": false,
|
631 |
+
"rstrip": false,
|
632 |
+
"single_word": false,
|
633 |
+
"special": true
|
634 |
+
},
|
635 |
+
"79": {
|
636 |
+
"content": "[U70]",
|
637 |
+
"lstrip": false,
|
638 |
+
"normalized": false,
|
639 |
+
"rstrip": false,
|
640 |
+
"single_word": false,
|
641 |
+
"special": true
|
642 |
+
},
|
643 |
+
"80": {
|
644 |
+
"content": "[U71]",
|
645 |
+
"lstrip": false,
|
646 |
+
"normalized": false,
|
647 |
+
"rstrip": false,
|
648 |
+
"single_word": false,
|
649 |
+
"special": true
|
650 |
+
},
|
651 |
+
"81": {
|
652 |
+
"content": "[U72]",
|
653 |
+
"lstrip": false,
|
654 |
+
"normalized": false,
|
655 |
+
"rstrip": false,
|
656 |
+
"single_word": false,
|
657 |
+
"special": true
|
658 |
+
},
|
659 |
+
"82": {
|
660 |
+
"content": "[U73]",
|
661 |
+
"lstrip": false,
|
662 |
+
"normalized": false,
|
663 |
+
"rstrip": false,
|
664 |
+
"single_word": false,
|
665 |
+
"special": true
|
666 |
+
},
|
667 |
+
"83": {
|
668 |
+
"content": "[U74]",
|
669 |
+
"lstrip": false,
|
670 |
+
"normalized": false,
|
671 |
+
"rstrip": false,
|
672 |
+
"single_word": false,
|
673 |
+
"special": true
|
674 |
+
},
|
675 |
+
"84": {
|
676 |
+
"content": "[U75]",
|
677 |
+
"lstrip": false,
|
678 |
+
"normalized": false,
|
679 |
+
"rstrip": false,
|
680 |
+
"single_word": false,
|
681 |
+
"special": true
|
682 |
+
},
|
683 |
+
"85": {
|
684 |
+
"content": "[U76]",
|
685 |
+
"lstrip": false,
|
686 |
+
"normalized": false,
|
687 |
+
"rstrip": false,
|
688 |
+
"single_word": false,
|
689 |
+
"special": true
|
690 |
+
},
|
691 |
+
"86": {
|
692 |
+
"content": "[U77]",
|
693 |
+
"lstrip": false,
|
694 |
+
"normalized": false,
|
695 |
+
"rstrip": false,
|
696 |
+
"single_word": false,
|
697 |
+
"special": true
|
698 |
+
},
|
699 |
+
"87": {
|
700 |
+
"content": "[U78]",
|
701 |
+
"lstrip": false,
|
702 |
+
"normalized": false,
|
703 |
+
"rstrip": false,
|
704 |
+
"single_word": false,
|
705 |
+
"special": true
|
706 |
+
},
|
707 |
+
"88": {
|
708 |
+
"content": "[U79]",
|
709 |
+
"lstrip": false,
|
710 |
+
"normalized": false,
|
711 |
+
"rstrip": false,
|
712 |
+
"single_word": false,
|
713 |
+
"special": true
|
714 |
+
},
|
715 |
+
"89": {
|
716 |
+
"content": "[U80]",
|
717 |
+
"lstrip": false,
|
718 |
+
"normalized": false,
|
719 |
+
"rstrip": false,
|
720 |
+
"single_word": false,
|
721 |
+
"special": true
|
722 |
+
},
|
723 |
+
"90": {
|
724 |
+
"content": "[U81]",
|
725 |
+
"lstrip": false,
|
726 |
+
"normalized": false,
|
727 |
+
"rstrip": false,
|
728 |
+
"single_word": false,
|
729 |
+
"special": true
|
730 |
+
},
|
731 |
+
"91": {
|
732 |
+
"content": "[U82]",
|
733 |
+
"lstrip": false,
|
734 |
+
"normalized": false,
|
735 |
+
"rstrip": false,
|
736 |
+
"single_word": false,
|
737 |
+
"special": true
|
738 |
+
},
|
739 |
+
"92": {
|
740 |
+
"content": "[U83]",
|
741 |
+
"lstrip": false,
|
742 |
+
"normalized": false,
|
743 |
+
"rstrip": false,
|
744 |
+
"single_word": false,
|
745 |
+
"special": true
|
746 |
+
},
|
747 |
+
"93": {
|
748 |
+
"content": "[U84]",
|
749 |
+
"lstrip": false,
|
750 |
+
"normalized": false,
|
751 |
+
"rstrip": false,
|
752 |
+
"single_word": false,
|
753 |
+
"special": true
|
754 |
+
},
|
755 |
+
"94": {
|
756 |
+
"content": "[U85]",
|
757 |
+
"lstrip": false,
|
758 |
+
"normalized": false,
|
759 |
+
"rstrip": false,
|
760 |
+
"single_word": false,
|
761 |
+
"special": true
|
762 |
+
},
|
763 |
+
"95": {
|
764 |
+
"content": "[U86]",
|
765 |
+
"lstrip": false,
|
766 |
+
"normalized": false,
|
767 |
+
"rstrip": false,
|
768 |
+
"single_word": false,
|
769 |
+
"special": true
|
770 |
+
},
|
771 |
+
"96": {
|
772 |
+
"content": "[U87]",
|
773 |
+
"lstrip": false,
|
774 |
+
"normalized": false,
|
775 |
+
"rstrip": false,
|
776 |
+
"single_word": false,
|
777 |
+
"special": true
|
778 |
+
},
|
779 |
+
"97": {
|
780 |
+
"content": "[U88]",
|
781 |
+
"lstrip": false,
|
782 |
+
"normalized": false,
|
783 |
+
"rstrip": false,
|
784 |
+
"single_word": false,
|
785 |
+
"special": true
|
786 |
+
},
|
787 |
+
"98": {
|
788 |
+
"content": "[U89]",
|
789 |
+
"lstrip": false,
|
790 |
+
"normalized": false,
|
791 |
+
"rstrip": false,
|
792 |
+
"single_word": false,
|
793 |
+
"special": true
|
794 |
+
},
|
795 |
+
"99": {
|
796 |
+
"content": "[U90]",
|
797 |
+
"lstrip": false,
|
798 |
+
"normalized": false,
|
799 |
+
"rstrip": false,
|
800 |
+
"single_word": false,
|
801 |
+
"special": true
|
802 |
+
},
|
803 |
+
"100": {
|
804 |
+
"content": "[U91]",
|
805 |
+
"lstrip": false,
|
806 |
+
"normalized": false,
|
807 |
+
"rstrip": false,
|
808 |
+
"single_word": false,
|
809 |
+
"special": true
|
810 |
+
},
|
811 |
+
"101": {
|
812 |
+
"content": "[U92]",
|
813 |
+
"lstrip": false,
|
814 |
+
"normalized": false,
|
815 |
+
"rstrip": false,
|
816 |
+
"single_word": false,
|
817 |
+
"special": true
|
818 |
+
},
|
819 |
+
"102": {
|
820 |
+
"content": "[U93]",
|
821 |
+
"lstrip": false,
|
822 |
+
"normalized": false,
|
823 |
+
"rstrip": false,
|
824 |
+
"single_word": false,
|
825 |
+
"special": true
|
826 |
+
},
|
827 |
+
"103": {
|
828 |
+
"content": "[U94]",
|
829 |
+
"lstrip": false,
|
830 |
+
"normalized": false,
|
831 |
+
"rstrip": false,
|
832 |
+
"single_word": false,
|
833 |
+
"special": true
|
834 |
+
},
|
835 |
+
"104": {
|
836 |
+
"content": "[U95]",
|
837 |
+
"lstrip": false,
|
838 |
+
"normalized": false,
|
839 |
+
"rstrip": false,
|
840 |
+
"single_word": false,
|
841 |
+
"special": true
|
842 |
+
},
|
843 |
+
"105": {
|
844 |
+
"content": "[U96]",
|
845 |
+
"lstrip": false,
|
846 |
+
"normalized": false,
|
847 |
+
"rstrip": false,
|
848 |
+
"single_word": false,
|
849 |
+
"special": true
|
850 |
+
},
|
851 |
+
"106": {
|
852 |
+
"content": "[U97]",
|
853 |
+
"lstrip": false,
|
854 |
+
"normalized": false,
|
855 |
+
"rstrip": false,
|
856 |
+
"single_word": false,
|
857 |
+
"special": true
|
858 |
+
},
|
859 |
+
"107": {
|
860 |
+
"content": "[U98]",
|
861 |
+
"lstrip": false,
|
862 |
+
"normalized": false,
|
863 |
+
"rstrip": false,
|
864 |
+
"single_word": false,
|
865 |
+
"special": true
|
866 |
+
},
|
867 |
+
"108": {
|
868 |
+
"content": "[U99]",
|
869 |
+
"lstrip": false,
|
870 |
+
"normalized": false,
|
871 |
+
"rstrip": false,
|
872 |
+
"single_word": false,
|
873 |
+
"special": true
|
874 |
+
},
|
875 |
+
"109": {
|
876 |
+
"content": "[U100]",
|
877 |
+
"lstrip": false,
|
878 |
+
"normalized": false,
|
879 |
+
"rstrip": false,
|
880 |
+
"single_word": false,
|
881 |
+
"special": true
|
882 |
+
}
|
883 |
+
},
|
884 |
+
"clean_up_tokenization_spaces": true,
|
885 |
+
"cls_token": "[CLS]",
|
886 |
+
"do_lower_case": false,
|
887 |
+
"mask_token": "[MASK]",
|
888 |
+
"max_length": 512,
|
889 |
+
"model_max_length": 512,
|
890 |
+
"pad_to_multiple_of": null,
|
891 |
+
"pad_token": "[PAD]",
|
892 |
+
"pad_token_type_id": 0,
|
893 |
+
"padding_side": "right",
|
894 |
+
"sep_token": "[SEP]",
|
895 |
+
"stride": 0,
|
896 |
+
"strip_accents": false,
|
897 |
+
"tokenize_chinese_chars": true,
|
898 |
+
"tokenizer_class": "DistilBertTokenizer",
|
899 |
+
"truncation_side": "right",
|
900 |
+
"truncation_strategy": "longest_first",
|
901 |
+
"unk_token": "[UNK]"
|
902 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|