youssefkhalil320 commited on
Commit
722a94a
·
verified ·
1 Parent(s): 4215e4f

Upload folder using huggingface_hub

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,408 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: sentence-transformers/all-MiniLM-L6-v2
3
+ language:
4
+ - en
5
+ library_name: sentence-transformers
6
+ license: apache-2.0
7
+ metrics:
8
+ - pearson_cosine
9
+ - spearman_cosine
10
+ - pearson_manhattan
11
+ - spearman_manhattan
12
+ - pearson_euclidean
13
+ - spearman_euclidean
14
+ - pearson_dot
15
+ - spearman_dot
16
+ - pearson_max
17
+ - spearman_max
18
+ pipeline_tag: sentence-similarity
19
+ tags:
20
+ - sentence-transformers
21
+ - sentence-similarity
22
+ - feature-extraction
23
+ - generated_from_trainer
24
+ - dataset_size:8004920
25
+ - loss:CoSENTLoss
26
+ widget:
27
+ - source_sentence: Fast dry hijab
28
+ sentences:
29
+ - Old navy/white color combination
30
+ - Foam slides
31
+ - reversible scarf
32
+ - source_sentence: shiny hair Shampoo
33
+ sentences:
34
+ - comfort shirt
35
+ - treat dry hair Mask
36
+ - jeans trowsers
37
+ - source_sentence: Mustard purse
38
+ sentences:
39
+ - matcha lemonade trowsers
40
+ - shadow stalker trowsers
41
+ - petroleum satchel
42
+ - source_sentence: naan cutting knife
43
+ sentences:
44
+ - gibna omelet
45
+ - lemon exfoliator
46
+ - blue shark bundle
47
+ - source_sentence: deep macarona plates
48
+ sentences:
49
+ - tea cup
50
+ - handmade Fanny backpack
51
+ - back pocket
52
+ model-index:
53
+ - name: all-MiniLM-L6-v3-pair_score
54
+ results:
55
+ - task:
56
+ type: semantic-similarity
57
+ name: Semantic Similarity
58
+ dataset:
59
+ name: sts dev
60
+ type: sts-dev
61
+ metrics:
62
+ - type: pearson_cosine
63
+ value: 0.49121212197149733
64
+ name: Pearson Cosine
65
+ - type: spearman_cosine
66
+ value: 0.4987790688691961
67
+ name: Spearman Cosine
68
+ - type: pearson_manhattan
69
+ value: 0.4739753233013834
70
+ name: Pearson Manhattan
71
+ - type: spearman_manhattan
72
+ value: 0.5210618252307972
73
+ name: Spearman Manhattan
74
+ - type: pearson_euclidean
75
+ value: 0.460118456049799
76
+ name: Pearson Euclidean
77
+ - type: spearman_euclidean
78
+ value: 0.4987790688691961
79
+ name: Spearman Euclidean
80
+ - type: pearson_dot
81
+ value: 0.49121219031215435
82
+ name: Pearson Dot
83
+ - type: spearman_dot
84
+ value: 0.4987790688691961
85
+ name: Spearman Dot
86
+ - type: pearson_max
87
+ value: 0.49121219031215435
88
+ name: Pearson Max
89
+ - type: spearman_max
90
+ value: 0.5210618252307972
91
+ name: Spearman Max
92
+ ---
93
+
94
+ # all-MiniLM-L6-v3-pair_score
95
+
96
+ 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.
97
+
98
+ ## Model Details
99
+
100
+ ### Model Description
101
+ - **Model Type:** Sentence Transformer
102
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision fa97f6e7cb1a59073dff9e6b13e2715cf7475ac9 -->
103
+ - **Maximum Sequence Length:** 256 tokens
104
+ - **Output Dimensionality:** 384 tokens
105
+ - **Similarity Function:** Cosine Similarity
106
+ <!-- - **Training Dataset:** Unknown -->
107
+ - **Language:** en
108
+ - **License:** apache-2.0
109
+
110
+ ### Model Sources
111
+
112
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
113
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
114
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
115
+
116
+ ### Full Model Architecture
117
+
118
+ ```
119
+ SentenceTransformer(
120
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
121
+ (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})
122
+ (2): Normalize()
123
+ )
124
+ ```
125
+
126
+ ## Usage
127
+
128
+ ### Direct Usage (Sentence Transformers)
129
+
130
+ First install the Sentence Transformers library:
131
+
132
+ ```bash
133
+ pip install -U sentence-transformers
134
+ ```
135
+
136
+ Then you can load this model and run inference.
137
+ ```python
138
+ from sentence_transformers import SentenceTransformer
139
+
140
+ # Download from the 🤗 Hub
141
+ model = SentenceTransformer("sentence_transformers_model_id")
142
+ # Run inference
143
+ sentences = [
144
+ 'deep macarona plates',
145
+ 'tea cup',
146
+ 'back pocket',
147
+ ]
148
+ embeddings = model.encode(sentences)
149
+ print(embeddings.shape)
150
+ # [3, 384]
151
+
152
+ # Get the similarity scores for the embeddings
153
+ similarities = model.similarity(embeddings, embeddings)
154
+ print(similarities.shape)
155
+ # [3, 3]
156
+ ```
157
+
158
+ <!--
159
+ ### Direct Usage (Transformers)
160
+
161
+ <details><summary>Click to see the direct usage in Transformers</summary>
162
+
163
+ </details>
164
+ -->
165
+
166
+ <!--
167
+ ### Downstream Usage (Sentence Transformers)
168
+
169
+ You can finetune this model on your own dataset.
170
+
171
+ <details><summary>Click to expand</summary>
172
+
173
+ </details>
174
+ -->
175
+
176
+ <!--
177
+ ### Out-of-Scope Use
178
+
179
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
180
+ -->
181
+
182
+ ## Evaluation
183
+
184
+ ### Metrics
185
+
186
+ #### Semantic Similarity
187
+ * Dataset: `sts-dev`
188
+ * Evaluated with [<code>EmbeddingSimilarityEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.EmbeddingSimilarityEvaluator)
189
+
190
+ | Metric | Value |
191
+ |:--------------------|:-----------|
192
+ | pearson_cosine | 0.4912 |
193
+ | **spearman_cosine** | **0.4988** |
194
+ | pearson_manhattan | 0.474 |
195
+ | spearman_manhattan | 0.5211 |
196
+ | pearson_euclidean | 0.4601 |
197
+ | spearman_euclidean | 0.4988 |
198
+ | pearson_dot | 0.4912 |
199
+ | spearman_dot | 0.4988 |
200
+ | pearson_max | 0.4912 |
201
+ | spearman_max | 0.5211 |
202
+
203
+ <!--
204
+ ## Bias, Risks and Limitations
205
+
206
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
207
+ -->
208
+
209
+ <!--
210
+ ### Recommendations
211
+
212
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
213
+ -->
214
+
215
+ ## Training Details
216
+
217
+ ### Training Hyperparameters
218
+ #### Non-Default Hyperparameters
219
+
220
+ - `eval_strategy`: steps
221
+ - `per_device_train_batch_size`: 1
222
+ - `per_device_eval_batch_size`: 1
223
+ - `learning_rate`: 2e-05
224
+ - `num_train_epochs`: 4
225
+ - `warmup_ratio`: 0.1
226
+
227
+ #### All Hyperparameters
228
+ <details><summary>Click to expand</summary>
229
+
230
+ - `overwrite_output_dir`: False
231
+ - `do_predict`: False
232
+ - `eval_strategy`: steps
233
+ - `prediction_loss_only`: True
234
+ - `per_device_train_batch_size`: 1
235
+ - `per_device_eval_batch_size`: 1
236
+ - `per_gpu_train_batch_size`: None
237
+ - `per_gpu_eval_batch_size`: None
238
+ - `gradient_accumulation_steps`: 1
239
+ - `eval_accumulation_steps`: None
240
+ - `torch_empty_cache_steps`: None
241
+ - `learning_rate`: 2e-05
242
+ - `weight_decay`: 0.0
243
+ - `adam_beta1`: 0.9
244
+ - `adam_beta2`: 0.999
245
+ - `adam_epsilon`: 1e-08
246
+ - `max_grad_norm`: 1.0
247
+ - `num_train_epochs`: 4
248
+ - `max_steps`: -1
249
+ - `lr_scheduler_type`: linear
250
+ - `lr_scheduler_kwargs`: {}
251
+ - `warmup_ratio`: 0.1
252
+ - `warmup_steps`: 0
253
+ - `log_level`: passive
254
+ - `log_level_replica`: warning
255
+ - `log_on_each_node`: True
256
+ - `logging_nan_inf_filter`: True
257
+ - `save_safetensors`: True
258
+ - `save_on_each_node`: False
259
+ - `save_only_model`: False
260
+ - `restore_callback_states_from_checkpoint`: False
261
+ - `no_cuda`: False
262
+ - `use_cpu`: False
263
+ - `use_mps_device`: False
264
+ - `seed`: 42
265
+ - `data_seed`: None
266
+ - `jit_mode_eval`: False
267
+ - `use_ipex`: False
268
+ - `bf16`: False
269
+ - `fp16`: False
270
+ - `fp16_opt_level`: O1
271
+ - `half_precision_backend`: auto
272
+ - `bf16_full_eval`: False
273
+ - `fp16_full_eval`: False
274
+ - `tf32`: None
275
+ - `local_rank`: 0
276
+ - `ddp_backend`: None
277
+ - `tpu_num_cores`: None
278
+ - `tpu_metrics_debug`: False
279
+ - `debug`: []
280
+ - `dataloader_drop_last`: False
281
+ - `dataloader_num_workers`: 0
282
+ - `dataloader_prefetch_factor`: None
283
+ - `past_index`: -1
284
+ - `disable_tqdm`: False
285
+ - `remove_unused_columns`: True
286
+ - `label_names`: None
287
+ - `load_best_model_at_end`: False
288
+ - `ignore_data_skip`: False
289
+ - `fsdp`: []
290
+ - `fsdp_min_num_params`: 0
291
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
292
+ - `fsdp_transformer_layer_cls_to_wrap`: None
293
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
294
+ - `deepspeed`: None
295
+ - `label_smoothing_factor`: 0.0
296
+ - `optim`: adamw_torch
297
+ - `optim_args`: None
298
+ - `adafactor`: False
299
+ - `group_by_length`: False
300
+ - `length_column_name`: length
301
+ - `ddp_find_unused_parameters`: None
302
+ - `ddp_bucket_cap_mb`: None
303
+ - `ddp_broadcast_buffers`: False
304
+ - `dataloader_pin_memory`: True
305
+ - `dataloader_persistent_workers`: False
306
+ - `skip_memory_metrics`: True
307
+ - `use_legacy_prediction_loop`: False
308
+ - `push_to_hub`: False
309
+ - `resume_from_checkpoint`: None
310
+ - `hub_model_id`: None
311
+ - `hub_strategy`: every_save
312
+ - `hub_private_repo`: False
313
+ - `hub_always_push`: False
314
+ - `gradient_checkpointing`: False
315
+ - `gradient_checkpointing_kwargs`: None
316
+ - `include_inputs_for_metrics`: False
317
+ - `eval_do_concat_batches`: True
318
+ - `fp16_backend`: auto
319
+ - `push_to_hub_model_id`: None
320
+ - `push_to_hub_organization`: None
321
+ - `mp_parameters`:
322
+ - `auto_find_batch_size`: False
323
+ - `full_determinism`: False
324
+ - `torchdynamo`: None
325
+ - `ray_scope`: last
326
+ - `ddp_timeout`: 1800
327
+ - `torch_compile`: False
328
+ - `torch_compile_backend`: None
329
+ - `torch_compile_mode`: None
330
+ - `dispatch_batches`: None
331
+ - `split_batches`: None
332
+ - `include_tokens_per_second`: False
333
+ - `include_num_input_tokens_seen`: False
334
+ - `neftune_noise_alpha`: None
335
+ - `optim_target_modules`: None
336
+ - `batch_eval_metrics`: False
337
+ - `eval_on_start`: False
338
+ - `use_liger_kernel`: False
339
+ - `eval_use_gather_object`: False
340
+ - `batch_sampler`: batch_sampler
341
+ - `multi_dataset_batch_sampler`: proportional
342
+
343
+ </details>
344
+
345
+ ### Training Logs
346
+ | Epoch | Step | Training Loss | sts-dev_spearman_cosine |
347
+ |:-----:|:----:|:-------------:|:-----------------------:|
348
+ | 0 | 0 | - | 0.4988 |
349
+ | 1.0 | 100 | 0.0 | - |
350
+ | 2.0 | 200 | 0.0 | - |
351
+ | 3.0 | 300 | 0.0 | - |
352
+ | 4.0 | 400 | 0.0 | - |
353
+
354
+
355
+ ### Framework Versions
356
+ - Python: 3.8.10
357
+ - Sentence Transformers: 3.1.1
358
+ - Transformers: 4.45.1
359
+ - PyTorch: 2.4.1+cu121
360
+ - Accelerate: 0.34.2
361
+ - Datasets: 3.0.1
362
+ - Tokenizers: 0.20.0
363
+
364
+ ## Citation
365
+
366
+ ### BibTeX
367
+
368
+ #### Sentence Transformers
369
+ ```bibtex
370
+ @inproceedings{reimers-2019-sentence-bert,
371
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
372
+ author = "Reimers, Nils and Gurevych, Iryna",
373
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
374
+ month = "11",
375
+ year = "2019",
376
+ publisher = "Association for Computational Linguistics",
377
+ url = "https://arxiv.org/abs/1908.10084",
378
+ }
379
+ ```
380
+
381
+ #### CoSENTLoss
382
+ ```bibtex
383
+ @online{kexuefm-8847,
384
+ title={CoSENT: A more efficient sentence vector scheme than Sentence-BERT},
385
+ author={Su Jianlin},
386
+ year={2022},
387
+ month={Jan},
388
+ url={https://kexue.fm/archives/8847},
389
+ }
390
+ ```
391
+
392
+ <!--
393
+ ## Glossary
394
+
395
+ *Clearly define terms in order to be accessible across audiences.*
396
+ -->
397
+
398
+ <!--
399
+ ## Model Card Authors
400
+
401
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
402
+ -->
403
+
404
+ <!--
405
+ ## Model Card Contact
406
+
407
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
408
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sentence-transformers/all-MiniLM-L6-v2",
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.45.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.1.1",
4
+ "transformers": "4.45.1",
5
+ "pytorch": "2.4.1+cu121"
6
+ },
7
+ "prompts": {},
8
+ "default_prompt_name": null,
9
+ "similarity_fn_name": null
10
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1377e9af0ca0b016a9f2aa584d6fc71ab3ea6804fae21ef9fb1416e2944057ac
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,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "mask_token": "[MASK]",
49
+ "max_length": 128,
50
+ "model_max_length": 256,
51
+ "never_split": null,
52
+ "pad_to_multiple_of": null,
53
+ "pad_token": "[PAD]",
54
+ "pad_token_type_id": 0,
55
+ "padding_side": "right",
56
+ "sep_token": "[SEP]",
57
+ "stride": 0,
58
+ "strip_accents": null,
59
+ "tokenize_chinese_chars": true,
60
+ "tokenizer_class": "BertTokenizer",
61
+ "truncation_side": "right",
62
+ "truncation_strategy": "longest_first",
63
+ "unk_token": "[UNK]"
64
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff