ds7619tz commited on
Commit
6a7144e
·
verified ·
1 Parent(s): 35045fe

Add new SentenceTransformer model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
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,364 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:5000
8
+ - loss:MultipleNegativesRankingLoss
9
+ base_model: sentence-transformers/all-MiniLM-L6-v2
10
+ widget:
11
+ - source_sentence: What is the id and name of the browser that is compatible with
12
+ the most web accelerators?
13
+ sentences:
14
+ - CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details
15
+ VARCHAR, investor_id VARCHAR)
16
+ - CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser
17
+ (browser_id VARCHAR)
18
+ - CREATE TABLE STUDENT (Major VARCHAR)
19
+ - source_sentence: Show different type codes of products and the number of products
20
+ with each type code.
21
+ sentences:
22
+ - CREATE TABLE affected_region (storm_id VARCHAR, number_city_affected INTEGER);
23
+ CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)
24
+ - CREATE TABLE products (product_name VARCHAR, product_category_code VARCHAR)
25
+ - CREATE TABLE Products (Product_Type_Code VARCHAR)
26
+ - source_sentence: List venues of all matches in the order of their dates starting
27
+ from the most recent one.
28
+ sentences:
29
+ - CREATE TABLE Orders (order_id VARCHAR, order_details VARCHAR); CREATE TABLE Invoices
30
+ (order_id VARCHAR)
31
+ - CREATE TABLE MATCH (venue VARCHAR, date VARCHAR)
32
+ - CREATE TABLE Course_Authors_and_Tutors (login_name VARCHAR, family_name VARCHAR)
33
+ - source_sentence: Show aircraft names and number of flights for each aircraft.
34
+ sentences:
35
+ - CREATE TABLE Documents_with_expenses (document_id VARCHAR, budget_type_code VARCHAR)
36
+ - CREATE TABLE farm_competition (Official_Name VARCHAR, City_ID VARCHAR, Host_city_ID
37
+ VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR, Host_city_ID
38
+ VARCHAR)
39
+ - CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)
40
+ - source_sentence: Find the name of all customers.
41
+ sentences:
42
+ - CREATE TABLE country (Name VARCHAR, SurfaceArea INTEGER, Continent VARCHAR)
43
+ - CREATE TABLE elimination (team VARCHAR)
44
+ - CREATE TABLE customers (customer_name VARCHAR)
45
+ pipeline_tag: sentence-similarity
46
+ library_name: sentence-transformers
47
+ ---
48
+
49
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
50
+
51
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). It maps sentences & paragraphs to a 384-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.
52
+
53
+ ## Model Details
54
+
55
+ ### Model Description
56
+ - **Model Type:** Sentence Transformer
57
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
58
+ - **Maximum Sequence Length:** 256 tokens
59
+ - **Output Dimensionality:** 384 dimensions
60
+ - **Similarity Function:** Cosine Similarity
61
+ <!-- - **Training Dataset:** Unknown -->
62
+ <!-- - **Language:** Unknown -->
63
+ <!-- - **License:** Unknown -->
64
+
65
+ ### Model Sources
66
+
67
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
68
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
69
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
70
+
71
+ ### Full Model Architecture
72
+
73
+ ```
74
+ SentenceTransformer(
75
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
76
+ (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
77
+ (2): Normalize()
78
+ )
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ ### Direct Usage (Sentence Transformers)
84
+
85
+ First install the Sentence Transformers library:
86
+
87
+ ```bash
88
+ pip install -U sentence-transformers
89
+ ```
90
+
91
+ Then you can load this model and run inference.
92
+ ```python
93
+ from sentence_transformers import SentenceTransformer
94
+
95
+ # Download from the 🤗 Hub
96
+ model = SentenceTransformer("ds7619tz/fine-tuned-dataset")
97
+ # Run inference
98
+ sentences = [
99
+ 'Find the name of all customers.',
100
+ 'CREATE TABLE customers (customer_name VARCHAR)',
101
+ 'CREATE TABLE elimination (team VARCHAR)',
102
+ ]
103
+ embeddings = model.encode(sentences)
104
+ print(embeddings.shape)
105
+ # [3, 384]
106
+
107
+ # Get the similarity scores for the embeddings
108
+ similarities = model.similarity(embeddings, embeddings)
109
+ print(similarities.shape)
110
+ # [3, 3]
111
+ ```
112
+
113
+ <!--
114
+ ### Direct Usage (Transformers)
115
+
116
+ <details><summary>Click to see the direct usage in Transformers</summary>
117
+
118
+ </details>
119
+ -->
120
+
121
+ <!--
122
+ ### Downstream Usage (Sentence Transformers)
123
+
124
+ You can finetune this model on your own dataset.
125
+
126
+ <details><summary>Click to expand</summary>
127
+
128
+ </details>
129
+ -->
130
+
131
+ <!--
132
+ ### Out-of-Scope Use
133
+
134
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
135
+ -->
136
+
137
+ <!--
138
+ ## Bias, Risks and Limitations
139
+
140
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
141
+ -->
142
+
143
+ <!--
144
+ ### Recommendations
145
+
146
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
147
+ -->
148
+
149
+ ## Training Details
150
+
151
+ ### Training Dataset
152
+
153
+ #### Unnamed Dataset
154
+
155
+ * Size: 5,000 training samples
156
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
157
+ * Approximate statistics based on the first 1000 samples:
158
+ | | sentence_0 | sentence_1 |
159
+ |:--------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
160
+ | type | string | string |
161
+ | details | <ul><li>min: 6 tokens</li><li>mean: 16.1 tokens</li><li>max: 47 tokens</li></ul> | <ul><li>min: 9 tokens</li><li>mean: 28.07 tokens</li><li>max: 113 tokens</li></ul> |
162
+ * Samples:
163
+ | sentence_0 | sentence_1 |
164
+ |:-------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------|
165
+ | <code>Show the teams that have both wrestlers eliminated by "Orton" and wrestlers eliminated by "Benjamin".</code> | <code>CREATE TABLE Elimination (Team VARCHAR, Eliminated_By VARCHAR)</code> |
166
+ | <code>Show the distinct director of films with market estimation in the year of 1995.</code> | <code>CREATE TABLE film (Director VARCHAR, Film_ID VARCHAR); CREATE TABLE film_market_estimation (Film_ID VARCHAR, Year VARCHAR)</code> |
167
+ | <code>What are the maximum and average height of the mountains?</code> | <code>CREATE TABLE mountain (height INTEGER)</code> |
168
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
169
+ ```json
170
+ {
171
+ "scale": 20.0,
172
+ "similarity_fct": "cos_sim"
173
+ }
174
+ ```
175
+
176
+ ### Training Hyperparameters
177
+ #### Non-Default Hyperparameters
178
+
179
+ - `per_device_train_batch_size`: 16
180
+ - `per_device_eval_batch_size`: 16
181
+ - `num_train_epochs`: 4
182
+ - `multi_dataset_batch_sampler`: round_robin
183
+
184
+ #### All Hyperparameters
185
+ <details><summary>Click to expand</summary>
186
+
187
+ - `overwrite_output_dir`: False
188
+ - `do_predict`: False
189
+ - `eval_strategy`: no
190
+ - `prediction_loss_only`: True
191
+ - `per_device_train_batch_size`: 16
192
+ - `per_device_eval_batch_size`: 16
193
+ - `per_gpu_train_batch_size`: None
194
+ - `per_gpu_eval_batch_size`: None
195
+ - `gradient_accumulation_steps`: 1
196
+ - `eval_accumulation_steps`: None
197
+ - `torch_empty_cache_steps`: None
198
+ - `learning_rate`: 5e-05
199
+ - `weight_decay`: 0.0
200
+ - `adam_beta1`: 0.9
201
+ - `adam_beta2`: 0.999
202
+ - `adam_epsilon`: 1e-08
203
+ - `max_grad_norm`: 1
204
+ - `num_train_epochs`: 4
205
+ - `max_steps`: -1
206
+ - `lr_scheduler_type`: linear
207
+ - `lr_scheduler_kwargs`: {}
208
+ - `warmup_ratio`: 0.0
209
+ - `warmup_steps`: 0
210
+ - `log_level`: passive
211
+ - `log_level_replica`: warning
212
+ - `log_on_each_node`: True
213
+ - `logging_nan_inf_filter`: True
214
+ - `save_safetensors`: True
215
+ - `save_on_each_node`: False
216
+ - `save_only_model`: False
217
+ - `restore_callback_states_from_checkpoint`: False
218
+ - `no_cuda`: False
219
+ - `use_cpu`: False
220
+ - `use_mps_device`: False
221
+ - `seed`: 42
222
+ - `data_seed`: None
223
+ - `jit_mode_eval`: False
224
+ - `use_ipex`: False
225
+ - `bf16`: False
226
+ - `fp16`: False
227
+ - `fp16_opt_level`: O1
228
+ - `half_precision_backend`: auto
229
+ - `bf16_full_eval`: False
230
+ - `fp16_full_eval`: False
231
+ - `tf32`: None
232
+ - `local_rank`: 0
233
+ - `ddp_backend`: None
234
+ - `tpu_num_cores`: None
235
+ - `tpu_metrics_debug`: False
236
+ - `debug`: []
237
+ - `dataloader_drop_last`: False
238
+ - `dataloader_num_workers`: 0
239
+ - `dataloader_prefetch_factor`: None
240
+ - `past_index`: -1
241
+ - `disable_tqdm`: False
242
+ - `remove_unused_columns`: True
243
+ - `label_names`: None
244
+ - `load_best_model_at_end`: False
245
+ - `ignore_data_skip`: False
246
+ - `fsdp`: []
247
+ - `fsdp_min_num_params`: 0
248
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
249
+ - `fsdp_transformer_layer_cls_to_wrap`: None
250
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
251
+ - `deepspeed`: None
252
+ - `label_smoothing_factor`: 0.0
253
+ - `optim`: adamw_torch
254
+ - `optim_args`: None
255
+ - `adafactor`: False
256
+ - `group_by_length`: False
257
+ - `length_column_name`: length
258
+ - `ddp_find_unused_parameters`: None
259
+ - `ddp_bucket_cap_mb`: None
260
+ - `ddp_broadcast_buffers`: False
261
+ - `dataloader_pin_memory`: True
262
+ - `dataloader_persistent_workers`: False
263
+ - `skip_memory_metrics`: True
264
+ - `use_legacy_prediction_loop`: False
265
+ - `push_to_hub`: False
266
+ - `resume_from_checkpoint`: None
267
+ - `hub_model_id`: None
268
+ - `hub_strategy`: every_save
269
+ - `hub_private_repo`: None
270
+ - `hub_always_push`: False
271
+ - `gradient_checkpointing`: False
272
+ - `gradient_checkpointing_kwargs`: None
273
+ - `include_inputs_for_metrics`: False
274
+ - `include_for_metrics`: []
275
+ - `eval_do_concat_batches`: True
276
+ - `fp16_backend`: auto
277
+ - `push_to_hub_model_id`: None
278
+ - `push_to_hub_organization`: None
279
+ - `mp_parameters`:
280
+ - `auto_find_batch_size`: False
281
+ - `full_determinism`: False
282
+ - `torchdynamo`: None
283
+ - `ray_scope`: last
284
+ - `ddp_timeout`: 1800
285
+ - `torch_compile`: False
286
+ - `torch_compile_backend`: None
287
+ - `torch_compile_mode`: None
288
+ - `include_tokens_per_second`: False
289
+ - `include_num_input_tokens_seen`: False
290
+ - `neftune_noise_alpha`: None
291
+ - `optim_target_modules`: None
292
+ - `batch_eval_metrics`: False
293
+ - `eval_on_start`: False
294
+ - `use_liger_kernel`: False
295
+ - `eval_use_gather_object`: False
296
+ - `average_tokens_across_devices`: False
297
+ - `prompts`: None
298
+ - `batch_sampler`: batch_sampler
299
+ - `multi_dataset_batch_sampler`: round_robin
300
+
301
+ </details>
302
+
303
+ ### Training Logs
304
+ | Epoch | Step | Training Loss |
305
+ |:------:|:----:|:-------------:|
306
+ | 1.5974 | 500 | 0.0454 |
307
+ | 3.1949 | 1000 | 0.0181 |
308
+
309
+
310
+ ### Framework Versions
311
+ - Python: 3.11.13
312
+ - Sentence Transformers: 4.1.0
313
+ - Transformers: 4.52.4
314
+ - PyTorch: 2.6.0+cu124
315
+ - Accelerate: 1.8.1
316
+ - Datasets: 3.6.0
317
+ - Tokenizers: 0.21.2
318
+
319
+ ## Citation
320
+
321
+ ### BibTeX
322
+
323
+ #### Sentence Transformers
324
+ ```bibtex
325
+ @inproceedings{reimers-2019-sentence-bert,
326
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
327
+ author = "Reimers, Nils and Gurevych, Iryna",
328
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
329
+ month = "11",
330
+ year = "2019",
331
+ publisher = "Association for Computational Linguistics",
332
+ url = "https://arxiv.org/abs/1908.10084",
333
+ }
334
+ ```
335
+
336
+ #### MultipleNegativesRankingLoss
337
+ ```bibtex
338
+ @misc{henderson2017efficient,
339
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
340
+ author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
341
+ year={2017},
342
+ eprint={1705.00652},
343
+ archivePrefix={arXiv},
344
+ primaryClass={cs.CL}
345
+ }
346
+ ```
347
+
348
+ <!--
349
+ ## Glossary
350
+
351
+ *Clearly define terms in order to be accessible across audiences.*
352
+ -->
353
+
354
+ <!--
355
+ ## Model Card Authors
356
+
357
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
358
+ -->
359
+
360
+ <!--
361
+ ## Model Card Contact
362
+
363
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
364
+ -->
config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "gradient_checkpointing": false,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 384,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 1536,
13
+ "layer_norm_eps": 1e-12,
14
+ "max_position_embeddings": 512,
15
+ "model_type": "bert",
16
+ "num_attention_heads": 12,
17
+ "num_hidden_layers": 6,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "torch_dtype": "float32",
21
+ "transformers_version": "4.52.4",
22
+ "type_vocab_size": 2,
23
+ "use_cache": true,
24
+ "vocab_size": 30522
25
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "4.1.0",
4
+ "transformers": "4.52.4",
5
+ "pytorch": "2.6.0+cu124"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": "cosine"
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a5589413fcf24ffc7ec5e188764b2e373e7d90056950f1636d4872459a6fc31e
3
+ size 90864192
modules.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ {
15
+ "idx": 2,
16
+ "name": "2",
17
+ "path": "2_Normalize",
18
+ "type": "sentence_transformers.models.Normalize"
19
+ }
20
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 256,
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
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "max_length": 128,
51
+ "model_max_length": 256,
52
+ "never_split": null,
53
+ "pad_to_multiple_of": null,
54
+ "pad_token": "[PAD]",
55
+ "pad_token_type_id": 0,
56
+ "padding_side": "right",
57
+ "sep_token": "[SEP]",
58
+ "stride": 0,
59
+ "strip_accents": null,
60
+ "tokenize_chinese_chars": true,
61
+ "tokenizer_class": "BertTokenizer",
62
+ "truncation_side": "right",
63
+ "truncation_strategy": "longest_first",
64
+ "unk_token": "[UNK]"
65
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff