dekshitha-k commited on
Commit
7ff39ef
1 Parent(s): 6267a50

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,359 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:5749
8
+ - loss:CosineSimilarityLoss
9
+ base_model: sentence-transformers/all-MiniLM-L6-v2
10
+ widget:
11
+ - source_sentence: Navy Jet Crashes Into Apartment Building
12
+ sentences:
13
+ - the problem is who doesn't have money.
14
+ - US Navy Jet Crashes into Apartment Block
15
+ - Two are trapped as US building collapses
16
+ - source_sentence: A tan puppy being petted.
17
+ sentences:
18
+ - France Welcomes US-Russia Deal on Syria
19
+ - Ukraine protesters topple Lenin statue in Kiev
20
+ - A tan puppy being held and petted.
21
+ - source_sentence: A woman is running on the beach.
22
+ sentences:
23
+ - Police used pepper spray and rubber bullets to disperse a downtown march and rally
24
+ last night by activists protesting an annual police intelligence-training seminar.
25
+ - Bird sitting on a log in a lake.
26
+ - A dog is swimming in a pool.
27
+ - source_sentence: A man riding a white horse.
28
+ sentences:
29
+ - A woman riding a brown horse.
30
+ - A man is playing a guitar.
31
+ - A lion is walking around.
32
+ - source_sentence: Egypt imposes state of emergency after 95 people killed
33
+ sentences:
34
+ - The arrests came just days after Israeli troops shot and killed Abdullah Kawasme,
35
+ the militant group's leader in Hebron.
36
+ - Egypt announces one-month state of emergency nationwide
37
+ - A plane flying near the sunset.
38
+ pipeline_tag: sentence-similarity
39
+ library_name: sentence-transformers
40
+ ---
41
+
42
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
43
+
44
+ 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.
45
+
46
+ ## Model Details
47
+
48
+ ### Model Description
49
+ - **Model Type:** Sentence Transformer
50
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision fa97f6e7cb1a59073dff9e6b13e2715cf7475ac9 -->
51
+ - **Maximum Sequence Length:** 256 tokens
52
+ - **Output Dimensionality:** 384 dimensions
53
+ - **Similarity Function:** Cosine Similarity
54
+ <!-- - **Training Dataset:** Unknown -->
55
+ <!-- - **Language:** Unknown -->
56
+ <!-- - **License:** Unknown -->
57
+
58
+ ### Model Sources
59
+
60
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
61
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
62
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
63
+
64
+ ### Full Model Architecture
65
+
66
+ ```
67
+ SentenceTransformer(
68
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False}) with Transformer model: BertModel
69
+ (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})
70
+ (2): Normalize()
71
+ )
72
+ ```
73
+
74
+ ## Usage
75
+
76
+ ### Direct Usage (Sentence Transformers)
77
+
78
+ First install the Sentence Transformers library:
79
+
80
+ ```bash
81
+ pip install -U sentence-transformers
82
+ ```
83
+
84
+ Then you can load this model and run inference.
85
+ ```python
86
+ from sentence_transformers import SentenceTransformer
87
+
88
+ # Download from the 🤗 Hub
89
+ model = SentenceTransformer("dekshitha-k/sentence-transformers-stsb")
90
+ # Run inference
91
+ sentences = [
92
+ 'Egypt imposes state of emergency after 95 people killed',
93
+ 'Egypt announces one-month state of emergency nationwide',
94
+ "The arrests came just days after Israeli troops shot and killed Abdullah Kawasme, the militant group's leader in Hebron.",
95
+ ]
96
+ embeddings = model.encode(sentences)
97
+ print(embeddings.shape)
98
+ # [3, 384]
99
+
100
+ # Get the similarity scores for the embeddings
101
+ similarities = model.similarity(embeddings, embeddings)
102
+ print(similarities.shape)
103
+ # [3, 3]
104
+ ```
105
+
106
+ <!--
107
+ ### Direct Usage (Transformers)
108
+
109
+ <details><summary>Click to see the direct usage in Transformers</summary>
110
+
111
+ </details>
112
+ -->
113
+
114
+ <!--
115
+ ### Downstream Usage (Sentence Transformers)
116
+
117
+ You can finetune this model on your own dataset.
118
+
119
+ <details><summary>Click to expand</summary>
120
+
121
+ </details>
122
+ -->
123
+
124
+ <!--
125
+ ### Out-of-Scope Use
126
+
127
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
128
+ -->
129
+
130
+ <!--
131
+ ## Bias, Risks and Limitations
132
+
133
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
134
+ -->
135
+
136
+ <!--
137
+ ### Recommendations
138
+
139
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
140
+ -->
141
+
142
+ ## Training Details
143
+
144
+ ### Training Dataset
145
+
146
+ #### Unnamed Dataset
147
+
148
+
149
+ * Size: 5,749 training samples
150
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
151
+ * Approximate statistics based on the first 1000 samples:
152
+ | | sentence_0 | sentence_1 | label |
153
+ |:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------|
154
+ | type | string | string | float |
155
+ | details | <ul><li>min: 6 tokens</li><li>mean: 14.49 tokens</li><li>max: 70 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 14.45 tokens</li><li>max: 63 tokens</li></ul> | <ul><li>min: 0.0</li><li>mean: 0.55</li><li>max: 1.0</li></ul> |
156
+ * Samples:
157
+ | sentence_0 | sentence_1 | label |
158
+ |:---------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------|:------------------|
159
+ | <code>Dozens dead in Central African Republic fighting</code> | <code>98 dead in Central African Republic after clashes</code> | <code>0.68</code> |
160
+ | <code>Dean told reporters traveling on his 10-city "Sleepless Summer" tour that he considered campaigning in Texas a challenge.</code> | <code>Today, Dean ends his four-day, 10-city "Sleepless Summer" tour in Chicago and New York.</code> | <code>0.52</code> |
161
+ | <code>The WiFi potties were to be unveiled this summer, at music festivals in Britain.</code> | <code>The world's first portal potty was soon to be rolled out at summer festivals in Great Britain.</code> | <code>0.8</code> |
162
+ * Loss: [<code>CosineSimilarityLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
163
+ ```json
164
+ {
165
+ "loss_fct": "torch.nn.modules.loss.MSELoss"
166
+ }
167
+ ```
168
+
169
+ ### Training Hyperparameters
170
+ #### Non-Default Hyperparameters
171
+
172
+ - `per_device_train_batch_size`: 16
173
+ - `per_device_eval_batch_size`: 16
174
+ - `num_train_epochs`: 20
175
+ - `multi_dataset_batch_sampler`: round_robin
176
+
177
+ #### All Hyperparameters
178
+ <details><summary>Click to expand</summary>
179
+
180
+ - `overwrite_output_dir`: False
181
+ - `do_predict`: False
182
+ - `eval_strategy`: no
183
+ - `prediction_loss_only`: True
184
+ - `per_device_train_batch_size`: 16
185
+ - `per_device_eval_batch_size`: 16
186
+ - `per_gpu_train_batch_size`: None
187
+ - `per_gpu_eval_batch_size`: None
188
+ - `gradient_accumulation_steps`: 1
189
+ - `eval_accumulation_steps`: None
190
+ - `torch_empty_cache_steps`: None
191
+ - `learning_rate`: 5e-05
192
+ - `weight_decay`: 0.0
193
+ - `adam_beta1`: 0.9
194
+ - `adam_beta2`: 0.999
195
+ - `adam_epsilon`: 1e-08
196
+ - `max_grad_norm`: 1
197
+ - `num_train_epochs`: 20
198
+ - `max_steps`: -1
199
+ - `lr_scheduler_type`: linear
200
+ - `lr_scheduler_kwargs`: {}
201
+ - `warmup_ratio`: 0.0
202
+ - `warmup_steps`: 0
203
+ - `log_level`: passive
204
+ - `log_level_replica`: warning
205
+ - `log_on_each_node`: True
206
+ - `logging_nan_inf_filter`: True
207
+ - `save_safetensors`: True
208
+ - `save_on_each_node`: False
209
+ - `save_only_model`: False
210
+ - `restore_callback_states_from_checkpoint`: False
211
+ - `no_cuda`: False
212
+ - `use_cpu`: False
213
+ - `use_mps_device`: False
214
+ - `seed`: 42
215
+ - `data_seed`: None
216
+ - `jit_mode_eval`: False
217
+ - `use_ipex`: False
218
+ - `bf16`: False
219
+ - `fp16`: False
220
+ - `fp16_opt_level`: O1
221
+ - `half_precision_backend`: auto
222
+ - `bf16_full_eval`: False
223
+ - `fp16_full_eval`: False
224
+ - `tf32`: None
225
+ - `local_rank`: 0
226
+ - `ddp_backend`: None
227
+ - `tpu_num_cores`: None
228
+ - `tpu_metrics_debug`: False
229
+ - `debug`: []
230
+ - `dataloader_drop_last`: False
231
+ - `dataloader_num_workers`: 0
232
+ - `dataloader_prefetch_factor`: None
233
+ - `past_index`: -1
234
+ - `disable_tqdm`: False
235
+ - `remove_unused_columns`: True
236
+ - `label_names`: None
237
+ - `load_best_model_at_end`: False
238
+ - `ignore_data_skip`: False
239
+ - `fsdp`: []
240
+ - `fsdp_min_num_params`: 0
241
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
242
+ - `fsdp_transformer_layer_cls_to_wrap`: None
243
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
244
+ - `deepspeed`: None
245
+ - `label_smoothing_factor`: 0.0
246
+ - `optim`: adamw_torch
247
+ - `optim_args`: None
248
+ - `adafactor`: False
249
+ - `group_by_length`: False
250
+ - `length_column_name`: length
251
+ - `ddp_find_unused_parameters`: None
252
+ - `ddp_bucket_cap_mb`: None
253
+ - `ddp_broadcast_buffers`: False
254
+ - `dataloader_pin_memory`: True
255
+ - `dataloader_persistent_workers`: False
256
+ - `skip_memory_metrics`: True
257
+ - `use_legacy_prediction_loop`: False
258
+ - `push_to_hub`: False
259
+ - `resume_from_checkpoint`: None
260
+ - `hub_model_id`: None
261
+ - `hub_strategy`: every_save
262
+ - `hub_private_repo`: False
263
+ - `hub_always_push`: False
264
+ - `gradient_checkpointing`: False
265
+ - `gradient_checkpointing_kwargs`: None
266
+ - `include_inputs_for_metrics`: False
267
+ - `include_for_metrics`: []
268
+ - `eval_do_concat_batches`: True
269
+ - `fp16_backend`: auto
270
+ - `push_to_hub_model_id`: None
271
+ - `push_to_hub_organization`: None
272
+ - `mp_parameters`:
273
+ - `auto_find_batch_size`: False
274
+ - `full_determinism`: False
275
+ - `torchdynamo`: None
276
+ - `ray_scope`: last
277
+ - `ddp_timeout`: 1800
278
+ - `torch_compile`: False
279
+ - `torch_compile_backend`: None
280
+ - `torch_compile_mode`: None
281
+ - `dispatch_batches`: None
282
+ - `split_batches`: None
283
+ - `include_tokens_per_second`: False
284
+ - `include_num_input_tokens_seen`: False
285
+ - `neftune_noise_alpha`: None
286
+ - `optim_target_modules`: None
287
+ - `batch_eval_metrics`: False
288
+ - `eval_on_start`: False
289
+ - `use_liger_kernel`: False
290
+ - `eval_use_gather_object`: False
291
+ - `average_tokens_across_devices`: False
292
+ - `prompts`: None
293
+ - `batch_sampler`: batch_sampler
294
+ - `multi_dataset_batch_sampler`: round_robin
295
+
296
+ </details>
297
+
298
+ ### Training Logs
299
+ | Epoch | Step | Training Loss |
300
+ |:-------:|:----:|:-------------:|
301
+ | 1.3889 | 500 | 0.0293 |
302
+ | 2.7778 | 1000 | 0.0242 |
303
+ | 4.1667 | 1500 | 0.0217 |
304
+ | 5.5556 | 2000 | 0.0194 |
305
+ | 6.9444 | 2500 | 0.0176 |
306
+ | 8.3333 | 3000 | 0.0154 |
307
+ | 9.7222 | 3500 | 0.0136 |
308
+ | 11.1111 | 4000 | 0.012 |
309
+ | 12.5 | 4500 | 0.0101 |
310
+ | 13.8889 | 5000 | 0.0087 |
311
+ | 15.2778 | 5500 | 0.0076 |
312
+ | 16.6667 | 6000 | 0.0064 |
313
+ | 18.0556 | 6500 | 0.0056 |
314
+ | 19.4444 | 7000 | 0.0049 |
315
+
316
+
317
+ ### Framework Versions
318
+ - Python: 3.10.12
319
+ - Sentence Transformers: 3.3.0
320
+ - Transformers: 4.46.2
321
+ - PyTorch: 2.5.0+cu121
322
+ - Accelerate: 1.1.1
323
+ - Datasets: 3.1.0
324
+ - Tokenizers: 0.20.3
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
+ <!--
344
+ ## Glossary
345
+
346
+ *Clearly define terms in order to be accessible across audiences.*
347
+ -->
348
+
349
+ <!--
350
+ ## Model Card Authors
351
+
352
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
353
+ -->
354
+
355
+ <!--
356
+ ## Model Card Contact
357
+
358
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
359
+ -->
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.46.2",
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.0",
4
+ "transformers": "4.46.2",
5
+ "pytorch": "2.5.0+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:2ffd8f9d1f555aadd9bba8bf102eab259751dac2892d2d4969975bbbe3296d48
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