bau0221 commited on
Commit
2fa6561
1 Parent(s): 4d3e7e7

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,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:710
8
+ - loss:MultipleNegativesRankingLoss
9
+ base_model: sentence-transformers/multi-qa-MiniLM-L6-cos-v1
10
+ widget:
11
+ - source_sentence: Set Camera 4 to follow Ava at the top side
12
+ sentences:
13
+ - Camera 4 put Grace on the top side
14
+ - Set Camera 3 to put Michael at the bottom side
15
+ - Set Wyatt at the left side on group1
16
+ - source_sentence: Camera 1 put Hazel on the right side
17
+ sentences:
18
+ - Group2 move Elijah to the top side
19
+ - Camera 4 put Amelia on the left side
20
+ - Set Camera 2 to follow Ethan at the top side
21
+ - source_sentence: Group2 place Harper at the left side
22
+ sentences:
23
+ - Camera 1 put Zoe at the right side
24
+ - Camera group1 put Aiden at the right side
25
+ - Camera 1 put Chloe on the right side
26
+ - source_sentence: Camera 2 put Henry at the left side
27
+ sentences:
28
+ - group1 put Nathan at the left side
29
+ - Set Camera 2 to position Emma at the top side
30
+ - group1 put Wyatt at the left side
31
+ - source_sentence: group1 put Abigail on the right side
32
+ sentences:
33
+ - Set Evelyn at the right side on Camera 1
34
+ - Place James on the top side of Camera 4
35
+ - Move Charlotte to the right on Camera 4
36
+ pipeline_tag: sentence-similarity
37
+ library_name: sentence-transformers
38
+ ---
39
+
40
+ # SentenceTransformer based on sentence-transformers/multi-qa-MiniLM-L6-cos-v1
41
+
42
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/multi-qa-MiniLM-L6-cos-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-v1). 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.
43
+
44
+ ## Model Details
45
+
46
+ ### Model Description
47
+ - **Model Type:** Sentence Transformer
48
+ - **Base model:** [sentence-transformers/multi-qa-MiniLM-L6-cos-v1](https://huggingface.co/sentence-transformers/multi-qa-MiniLM-L6-cos-v1) <!-- at revision b207367332321f8e44f96e224ef15bc607f4dbf0 -->
49
+ - **Maximum Sequence Length:** 512 tokens
50
+ - **Output Dimensionality:** 384 dimensions
51
+ - **Similarity Function:** Cosine Similarity
52
+ <!-- - **Training Dataset:** Unknown -->
53
+ <!-- - **Language:** Unknown -->
54
+ <!-- - **License:** Unknown -->
55
+
56
+ ### Model Sources
57
+
58
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
59
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
60
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
61
+
62
+ ### Full Model Architecture
63
+
64
+ ```
65
+ SentenceTransformer(
66
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
67
+ (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})
68
+ (2): Normalize()
69
+ )
70
+ ```
71
+
72
+ ## Usage
73
+
74
+ ### Direct Usage (Sentence Transformers)
75
+
76
+ First install the Sentence Transformers library:
77
+
78
+ ```bash
79
+ pip install -U sentence-transformers
80
+ ```
81
+
82
+ Then you can load this model and run inference.
83
+ ```python
84
+ from sentence_transformers import SentenceTransformer
85
+
86
+ # Download from the 🤗 Hub
87
+ model = SentenceTransformer("bau0221/ptz_embedding_2")
88
+ # Run inference
89
+ sentences = [
90
+ 'group1 put Abigail on the right side',
91
+ 'Move Charlotte to the right on Camera 4',
92
+ 'Set Evelyn at the right side on Camera 1',
93
+ ]
94
+ embeddings = model.encode(sentences)
95
+ print(embeddings.shape)
96
+ # [3, 384]
97
+
98
+ # Get the similarity scores for the embeddings
99
+ similarities = model.similarity(embeddings, embeddings)
100
+ print(similarities.shape)
101
+ # [3, 3]
102
+ ```
103
+
104
+ <!--
105
+ ### Direct Usage (Transformers)
106
+
107
+ <details><summary>Click to see the direct usage in Transformers</summary>
108
+
109
+ </details>
110
+ -->
111
+
112
+ <!--
113
+ ### Downstream Usage (Sentence Transformers)
114
+
115
+ You can finetune this model on your own dataset.
116
+
117
+ <details><summary>Click to expand</summary>
118
+
119
+ </details>
120
+ -->
121
+
122
+ <!--
123
+ ### Out-of-Scope Use
124
+
125
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
126
+ -->
127
+
128
+ <!--
129
+ ## Bias, Risks and Limitations
130
+
131
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
132
+ -->
133
+
134
+ <!--
135
+ ### Recommendations
136
+
137
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
138
+ -->
139
+
140
+ ## Training Details
141
+
142
+ ### Training Dataset
143
+
144
+ #### Unnamed Dataset
145
+
146
+
147
+ * Size: 710 training samples
148
+ * Columns: <code>query</code>, <code>pos</code>, and <code>neg</code>
149
+ * Approximate statistics based on the first 710 samples:
150
+ | | query | pos | neg |
151
+ |:--------|:----------------------------------------------------------------------------------|:-----------------------------------|:-----------------------------------|
152
+ | type | string | list | list |
153
+ | details | <ul><li>min: 5 tokens</li><li>mean: 11.46 tokens</li><li>max: 28 tokens</li></ul> | <ul><li>size: 3 elements</li></ul> | <ul><li>size: 3 elements</li></ul> |
154
+ * Samples:
155
+ | query | pos | neg |
156
+ |:-----------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
157
+ | <code>Set camera 1 to track target A at bottom_right with fast speed.</code> | <code>['Set camera 1 to track target A at bottom_right with fast speed.', 'Set camera 1 to track target A at bottom_right with fast speed.', 'Set camera 1 to track target A at bottom_right with fast speed.']</code> | <code>['Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.', 'Turn camera 2 to the right for 5 seconds.']</code> |
158
+ | <code>Camera 2 tracking Kyle</code> | <code>['Camera 2 tracking Kyle', 'Camera 4 tracking Kyle', 'Cam 2 tracking Kyle']</code> | <code>['Set camera 1 to track target A at bottom_right with fast speed.', 'Set camera 3 to track target B at the top with slow speed.', 'Turn camera 2 to the right for 5 seconds.']</code> |
159
+ | <code>Set camera 3 to track target B at the top with slow speed.</code> | <code>['Set camera 3 to track target B at the top with slow speed.', 'Set camera 3 to track target B at the top with slow speed.', 'Set camera 3 to track target B at the top with slow speed.']</code> | <code>['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Turn camera 2 to the right for 5 seconds.']</code> |
160
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
161
+ ```json
162
+ {
163
+ "scale": 20.0,
164
+ "similarity_fct": "cos_sim"
165
+ }
166
+ ```
167
+
168
+ ### Evaluation Dataset
169
+
170
+ #### Unnamed Dataset
171
+
172
+
173
+ * Size: 71 evaluation samples
174
+ * Columns: <code>query</code>, <code>pos</code>, and <code>neg</code>
175
+ * Approximate statistics based on the first 71 samples:
176
+ | | query | pos | neg |
177
+ |:--------|:----------------------------------------------------------------------------------|:-----------------------------------|:-----------------------------------|
178
+ | type | string | list | list |
179
+ | details | <ul><li>min: 6 tokens</li><li>mean: 10.35 tokens</li><li>max: 12 tokens</li></ul> | <ul><li>size: 3 elements</li></ul> | <ul><li>size: 3 elements</li></ul> |
180
+ * Samples:
181
+ | query | pos | neg |
182
+ |:---------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
183
+ | <code>Camera 3 put Harper at the right side</code> | <code>['Camera 3 put Harper at the right side', 'Cam 3 put Harper at the right side', 'Camera 3 put Harper at the right side']</code> | <code>['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.']</code> |
184
+ | <code>Camera 4 put Amelia on the left side</code> | <code>['Camera 4 put Amelia on the left side', 'Cam 4 put Amelia on the left side', 'Camera 4 put Amelia on the left side']</code> | <code>['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.']</code> |
185
+ | <code>Group2 put Logan at the right side</code> | <code>['Group2 put Logan at the right side', 'Group2 put Logan at the right side', 'Group2 put Logan at the right side']</code> | <code>['Set camera 1 to track target A at bottom_right with fast speed.', 'Camera 2 tracking Kyle', 'Set camera 3 to track target B at the top with slow speed.']</code> |
186
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
187
+ ```json
188
+ {
189
+ "scale": 20.0,
190
+ "similarity_fct": "cos_sim"
191
+ }
192
+ ```
193
+
194
+ ### Training Hyperparameters
195
+
196
+ #### All Hyperparameters
197
+ <details><summary>Click to expand</summary>
198
+
199
+ - `overwrite_output_dir`: False
200
+ - `do_predict`: False
201
+ - `eval_strategy`: no
202
+ - `prediction_loss_only`: True
203
+ - `per_device_train_batch_size`: 8
204
+ - `per_device_eval_batch_size`: 8
205
+ - `per_gpu_train_batch_size`: None
206
+ - `per_gpu_eval_batch_size`: None
207
+ - `gradient_accumulation_steps`: 1
208
+ - `eval_accumulation_steps`: None
209
+ - `torch_empty_cache_steps`: None
210
+ - `learning_rate`: 5e-05
211
+ - `weight_decay`: 0.0
212
+ - `adam_beta1`: 0.9
213
+ - `adam_beta2`: 0.999
214
+ - `adam_epsilon`: 1e-08
215
+ - `max_grad_norm`: 1.0
216
+ - `num_train_epochs`: 3.0
217
+ - `max_steps`: -1
218
+ - `lr_scheduler_type`: linear
219
+ - `lr_scheduler_kwargs`: {}
220
+ - `warmup_ratio`: 0.0
221
+ - `warmup_steps`: 0
222
+ - `log_level`: passive
223
+ - `log_level_replica`: warning
224
+ - `log_on_each_node`: True
225
+ - `logging_nan_inf_filter`: True
226
+ - `save_safetensors`: True
227
+ - `save_on_each_node`: False
228
+ - `save_only_model`: False
229
+ - `restore_callback_states_from_checkpoint`: False
230
+ - `no_cuda`: False
231
+ - `use_cpu`: False
232
+ - `use_mps_device`: False
233
+ - `seed`: 42
234
+ - `data_seed`: None
235
+ - `jit_mode_eval`: False
236
+ - `use_ipex`: False
237
+ - `bf16`: False
238
+ - `fp16`: False
239
+ - `fp16_opt_level`: O1
240
+ - `half_precision_backend`: auto
241
+ - `bf16_full_eval`: False
242
+ - `fp16_full_eval`: False
243
+ - `tf32`: None
244
+ - `local_rank`: 0
245
+ - `ddp_backend`: None
246
+ - `tpu_num_cores`: None
247
+ - `tpu_metrics_debug`: False
248
+ - `debug`: []
249
+ - `dataloader_drop_last`: False
250
+ - `dataloader_num_workers`: 0
251
+ - `dataloader_prefetch_factor`: None
252
+ - `past_index`: -1
253
+ - `disable_tqdm`: False
254
+ - `remove_unused_columns`: True
255
+ - `label_names`: None
256
+ - `load_best_model_at_end`: False
257
+ - `ignore_data_skip`: False
258
+ - `fsdp`: []
259
+ - `fsdp_min_num_params`: 0
260
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
261
+ - `fsdp_transformer_layer_cls_to_wrap`: None
262
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
263
+ - `deepspeed`: None
264
+ - `label_smoothing_factor`: 0.0
265
+ - `optim`: adamw_torch
266
+ - `optim_args`: None
267
+ - `adafactor`: False
268
+ - `group_by_length`: False
269
+ - `length_column_name`: length
270
+ - `ddp_find_unused_parameters`: None
271
+ - `ddp_bucket_cap_mb`: None
272
+ - `ddp_broadcast_buffers`: False
273
+ - `dataloader_pin_memory`: True
274
+ - `dataloader_persistent_workers`: False
275
+ - `skip_memory_metrics`: True
276
+ - `use_legacy_prediction_loop`: False
277
+ - `push_to_hub`: False
278
+ - `resume_from_checkpoint`: None
279
+ - `hub_model_id`: None
280
+ - `hub_strategy`: every_save
281
+ - `hub_private_repo`: None
282
+ - `hub_always_push`: False
283
+ - `gradient_checkpointing`: False
284
+ - `gradient_checkpointing_kwargs`: None
285
+ - `include_inputs_for_metrics`: False
286
+ - `include_for_metrics`: []
287
+ - `eval_do_concat_batches`: True
288
+ - `fp16_backend`: auto
289
+ - `push_to_hub_model_id`: None
290
+ - `push_to_hub_organization`: None
291
+ - `mp_parameters`:
292
+ - `auto_find_batch_size`: False
293
+ - `full_determinism`: False
294
+ - `torchdynamo`: None
295
+ - `ray_scope`: last
296
+ - `ddp_timeout`: 1800
297
+ - `torch_compile`: False
298
+ - `torch_compile_backend`: None
299
+ - `torch_compile_mode`: None
300
+ - `dispatch_batches`: None
301
+ - `split_batches`: None
302
+ - `include_tokens_per_second`: False
303
+ - `include_num_input_tokens_seen`: False
304
+ - `neftune_noise_alpha`: None
305
+ - `optim_target_modules`: None
306
+ - `batch_eval_metrics`: False
307
+ - `eval_on_start`: False
308
+ - `use_liger_kernel`: False
309
+ - `eval_use_gather_object`: False
310
+ - `average_tokens_across_devices`: False
311
+ - `prompts`: None
312
+ - `batch_sampler`: batch_sampler
313
+ - `multi_dataset_batch_sampler`: proportional
314
+
315
+ </details>
316
+
317
+ ### Framework Versions
318
+ - Python: 3.10.12
319
+ - Sentence Transformers: 3.3.1
320
+ - Transformers: 4.47.1
321
+ - PyTorch: 2.5.1+cu121
322
+ - Accelerate: 1.2.1
323
+ - Datasets: 3.2.0
324
+ - Tokenizers: 0.21.0
325
+
326
+ ## Citation
327
+
328
+ ### BibTeX
329
+
330
+ #### Sentence Transformers
331
+ ```bibtex
332
+ @inproceedings{reimers-2019-sentence-bert,
333
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
334
+ author = "Reimers, Nils and Gurevych, Iryna",
335
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
336
+ month = "11",
337
+ year = "2019",
338
+ publisher = "Association for Computational Linguistics",
339
+ url = "https://arxiv.org/abs/1908.10084",
340
+ }
341
+ ```
342
+
343
+ #### MultipleNegativesRankingLoss
344
+ ```bibtex
345
+ @misc{henderson2017efficient,
346
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
347
+ 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},
348
+ year={2017},
349
+ eprint={1705.00652},
350
+ archivePrefix={arXiv},
351
+ primaryClass={cs.CL}
352
+ }
353
+ ```
354
+
355
+ <!--
356
+ ## Glossary
357
+
358
+ *Clearly define terms in order to be accessible across audiences.*
359
+ -->
360
+
361
+ <!--
362
+ ## Model Card Authors
363
+
364
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
365
+ -->
366
+
367
+ <!--
368
+ ## Model Card Contact
369
+
370
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
371
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/multi-qa-MiniLM-L6-cos-v1",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 384,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 1536,
14
+ "layer_norm_eps": 1e-12,
15
+ "max_position_embeddings": 512,
16
+ "model_type": "bert",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 6,
19
+ "pad_token_id": 0,
20
+ "position_embedding_type": "absolute",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.47.1",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 30522
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.47.1",
5
+ "pytorch": "2.5.1+cu121"
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:41df277533f769b16b92ba938fe212aa9f8975d03f3fc288f483d836aa133544
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": 512,
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": 250,
51
+ "model_max_length": 512,
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