Auto-opt commited on
Commit
cd6ffe4
·
verified ·
1 Parent(s): 52bd414

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,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:439290
8
+ - loss:DualThresholdEnforcedMNRL1
9
+ base_model: flax-sentence-embeddings/all_datasets_v4_MiniLM-L6
10
+ widget:
11
+ - source_sentence: compression therapy benefits
12
+ sentences:
13
+ - 'edema: what is, causes, symptoms, and treatment'
14
+ - How VIN Data Enhances Market Value Assessments
15
+ - Daily Iron Intake from Leafy Greens and Fortified Cereals
16
+ - source_sentence: liver function improvement tips
17
+ sentences:
18
+ - Antioxidants' Role in Liver Enzyme Regulation
19
+ - Vitamin K2 and Its Role in Artery Calcification
20
+ - Fatty Acids' Role in Liver Health
21
+ - source_sentence: back pain prevention exercises
22
+ sentences:
23
+ - 'Medication Side Effects: Dizziness, Fatigue, and More'
24
+ - 'Strengthening Moves: Lunges, Squats, and Leg Raises'
25
+ - 'Natural Anti-Inflammatories: Foods That May Help'
26
+ - source_sentence: weekly ad shopping tips
27
+ sentences:
28
+ - Investor Responses to Surplus Capital in Tech Firms
29
+ - How Glycemic Index Affects Blood Sugar Levels
30
+ - Evaluating Household Essentials Promotions in Weekly Circulars
31
+ - source_sentence: vitamin B12 for nerve health
32
+ sentences:
33
+ - 'Minoxidil: Side Effects and Use Cases'
34
+ - Emerging Patterns in Roblox Code Distribution Channels
35
+ - The Role of Magnesium in Muscle and Nerve Function
36
+ pipeline_tag: sentence-similarity
37
+ library_name: sentence-transformers
38
+ ---
39
+
40
+ # SentenceTransformer based on flax-sentence-embeddings/all_datasets_v4_MiniLM-L6
41
+
42
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [flax-sentence-embeddings/all_datasets_v4_MiniLM-L6](https://huggingface.co/flax-sentence-embeddings/all_datasets_v4_MiniLM-L6). 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:** [flax-sentence-embeddings/all_datasets_v4_MiniLM-L6](https://huggingface.co/flax-sentence-embeddings/all_datasets_v4_MiniLM-L6) <!-- at revision a407cc0b7d85eec9a5617eaf51dbe7b353b0c79f -->
49
+ - **Maximum Sequence Length:** 128 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': 128, '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("Auto-opts/flax-TMNRLB_CVR")
88
+ # Run inference
89
+ sentences = [
90
+ 'vitamin B12 for nerve health',
91
+ 'The Role of Magnesium in Muscle and Nerve Function',
92
+ 'Emerging Patterns in Roblox Code Distribution Channels',
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
+ * Size: 439,290 training samples
147
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
148
+ * Approximate statistics based on the first 1000 samples:
149
+ | | sentence_0 | sentence_1 | label |
150
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------|
151
+ | type | string | string | float |
152
+ | details | <ul><li>min: 5 tokens</li><li>mean: 7.43 tokens</li><li>max: 15 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 11.34 tokens</li><li>max: 34 tokens</li></ul> | <ul><li>min: 0.01</li><li>mean: 0.94</li><li>max: 1.0</li></ul> |
153
+ * Samples:
154
+ | sentence_0 | sentence_1 | label |
155
+ |:---------------------------------------------|:---------------------------------------------------------------------|:-----------------|
156
+ | <code>common UTI misconceptions</code> | <code>How Antibiotics Like Fosfomycin Target Infections</code> | <code>1.0</code> |
157
+ | <code>diuretics for swelling</code> | <code>Venous Insufficiency and Its Impact on Leg Swelling</code> | <code>1.0</code> |
158
+ | <code>pelvic floor exercises benefits</code> | <code>Testosterone Levels and Their Impact on Erectile Health</code> | <code>1.0</code> |
159
+ * Loss: <code>__main__.DualThresholdEnforcedMNRL1</code>
160
+
161
+ ### Training Hyperparameters
162
+ #### Non-Default Hyperparameters
163
+
164
+ - `per_device_train_batch_size`: 90
165
+ - `per_device_eval_batch_size`: 90
166
+ - `num_train_epochs`: 5
167
+ - `batch_sampler`: no_duplicates
168
+ - `multi_dataset_batch_sampler`: round_robin
169
+
170
+ #### All Hyperparameters
171
+ <details><summary>Click to expand</summary>
172
+
173
+ - `overwrite_output_dir`: False
174
+ - `do_predict`: False
175
+ - `eval_strategy`: no
176
+ - `prediction_loss_only`: True
177
+ - `per_device_train_batch_size`: 90
178
+ - `per_device_eval_batch_size`: 90
179
+ - `per_gpu_train_batch_size`: None
180
+ - `per_gpu_eval_batch_size`: None
181
+ - `gradient_accumulation_steps`: 1
182
+ - `eval_accumulation_steps`: None
183
+ - `torch_empty_cache_steps`: None
184
+ - `learning_rate`: 5e-05
185
+ - `weight_decay`: 0.0
186
+ - `adam_beta1`: 0.9
187
+ - `adam_beta2`: 0.999
188
+ - `adam_epsilon`: 1e-08
189
+ - `max_grad_norm`: 1
190
+ - `num_train_epochs`: 5
191
+ - `max_steps`: -1
192
+ - `lr_scheduler_type`: linear
193
+ - `lr_scheduler_kwargs`: {}
194
+ - `warmup_ratio`: 0.0
195
+ - `warmup_steps`: 0
196
+ - `log_level`: passive
197
+ - `log_level_replica`: warning
198
+ - `log_on_each_node`: True
199
+ - `logging_nan_inf_filter`: True
200
+ - `save_safetensors`: True
201
+ - `save_on_each_node`: False
202
+ - `save_only_model`: False
203
+ - `restore_callback_states_from_checkpoint`: False
204
+ - `no_cuda`: False
205
+ - `use_cpu`: False
206
+ - `use_mps_device`: False
207
+ - `seed`: 42
208
+ - `data_seed`: None
209
+ - `jit_mode_eval`: False
210
+ - `use_ipex`: False
211
+ - `bf16`: False
212
+ - `fp16`: False
213
+ - `fp16_opt_level`: O1
214
+ - `half_precision_backend`: auto
215
+ - `bf16_full_eval`: False
216
+ - `fp16_full_eval`: False
217
+ - `tf32`: None
218
+ - `local_rank`: 0
219
+ - `ddp_backend`: None
220
+ - `tpu_num_cores`: None
221
+ - `tpu_metrics_debug`: False
222
+ - `debug`: []
223
+ - `dataloader_drop_last`: False
224
+ - `dataloader_num_workers`: 0
225
+ - `dataloader_prefetch_factor`: None
226
+ - `past_index`: -1
227
+ - `disable_tqdm`: False
228
+ - `remove_unused_columns`: True
229
+ - `label_names`: None
230
+ - `load_best_model_at_end`: False
231
+ - `ignore_data_skip`: False
232
+ - `fsdp`: []
233
+ - `fsdp_min_num_params`: 0
234
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
235
+ - `fsdp_transformer_layer_cls_to_wrap`: None
236
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
237
+ - `deepspeed`: None
238
+ - `label_smoothing_factor`: 0.0
239
+ - `optim`: adamw_torch
240
+ - `optim_args`: None
241
+ - `adafactor`: False
242
+ - `group_by_length`: False
243
+ - `length_column_name`: length
244
+ - `ddp_find_unused_parameters`: None
245
+ - `ddp_bucket_cap_mb`: None
246
+ - `ddp_broadcast_buffers`: False
247
+ - `dataloader_pin_memory`: True
248
+ - `dataloader_persistent_workers`: False
249
+ - `skip_memory_metrics`: True
250
+ - `use_legacy_prediction_loop`: False
251
+ - `push_to_hub`: False
252
+ - `resume_from_checkpoint`: None
253
+ - `hub_model_id`: None
254
+ - `hub_strategy`: every_save
255
+ - `hub_private_repo`: None
256
+ - `hub_always_push`: False
257
+ - `gradient_checkpointing`: False
258
+ - `gradient_checkpointing_kwargs`: None
259
+ - `include_inputs_for_metrics`: False
260
+ - `include_for_metrics`: []
261
+ - `eval_do_concat_batches`: True
262
+ - `fp16_backend`: auto
263
+ - `push_to_hub_model_id`: None
264
+ - `push_to_hub_organization`: None
265
+ - `mp_parameters`:
266
+ - `auto_find_batch_size`: False
267
+ - `full_determinism`: False
268
+ - `torchdynamo`: None
269
+ - `ray_scope`: last
270
+ - `ddp_timeout`: 1800
271
+ - `torch_compile`: False
272
+ - `torch_compile_backend`: None
273
+ - `torch_compile_mode`: None
274
+ - `include_tokens_per_second`: False
275
+ - `include_num_input_tokens_seen`: False
276
+ - `neftune_noise_alpha`: None
277
+ - `optim_target_modules`: None
278
+ - `batch_eval_metrics`: False
279
+ - `eval_on_start`: False
280
+ - `use_liger_kernel`: False
281
+ - `eval_use_gather_object`: False
282
+ - `average_tokens_across_devices`: False
283
+ - `prompts`: None
284
+ - `batch_sampler`: no_duplicates
285
+ - `multi_dataset_batch_sampler`: round_robin
286
+
287
+ </details>
288
+
289
+ ### Training Logs
290
+ | Epoch | Step | Training Loss |
291
+ |:------:|:-----:|:-------------:|
292
+ | 0.1024 | 500 | 2.4422 |
293
+ | 0.2049 | 1000 | 1.8481 |
294
+ | 0.3073 | 1500 | 1.5855 |
295
+ | 0.4098 | 2000 | 1.4325 |
296
+ | 0.5122 | 2500 | 1.332 |
297
+ | 0.6146 | 3000 | 1.2434 |
298
+ | 0.7171 | 3500 | 1.1842 |
299
+ | 0.8195 | 4000 | 1.1338 |
300
+ | 0.9219 | 4500 | 1.0779 |
301
+ | 1.0244 | 5000 | 1.0283 |
302
+ | 1.1268 | 5500 | 0.996 |
303
+ | 1.2293 | 6000 | 0.954 |
304
+ | 1.3317 | 6500 | 0.9362 |
305
+ | 1.4341 | 7000 | 0.895 |
306
+ | 1.5366 | 7500 | 0.8776 |
307
+ | 1.6390 | 8000 | 0.8624 |
308
+ | 1.7414 | 8500 | 0.8438 |
309
+ | 1.8439 | 9000 | 0.8158 |
310
+ | 1.9463 | 9500 | 0.7958 |
311
+ | 2.0488 | 10000 | 0.7779 |
312
+ | 2.1512 | 10500 | 0.754 |
313
+ | 2.2536 | 11000 | 0.7332 |
314
+ | 2.3561 | 11500 | 0.722 |
315
+ | 2.4585 | 12000 | 0.711 |
316
+ | 2.5610 | 12500 | 0.6945 |
317
+ | 2.6634 | 13000 | 0.6965 |
318
+ | 2.7658 | 13500 | 0.6834 |
319
+ | 2.8683 | 14000 | 0.6676 |
320
+ | 2.9707 | 14500 | 0.6635 |
321
+ | 3.0731 | 15000 | 0.6484 |
322
+ | 3.1756 | 15500 | 0.6282 |
323
+ | 3.2780 | 16000 | 0.6297 |
324
+ | 3.3805 | 16500 | 0.6241 |
325
+ | 3.4829 | 17000 | 0.6214 |
326
+ | 3.5853 | 17500 | 0.61 |
327
+ | 3.6878 | 18000 | 0.6106 |
328
+ | 3.7902 | 18500 | 0.6006 |
329
+ | 3.8926 | 19000 | 0.6062 |
330
+ | 3.9951 | 19500 | 0.6022 |
331
+ | 4.0975 | 20000 | 0.5808 |
332
+ | 4.2000 | 20500 | 0.5855 |
333
+ | 4.3024 | 21000 | 0.5852 |
334
+ | 4.4048 | 21500 | 0.5757 |
335
+ | 4.5073 | 22000 | 0.5768 |
336
+ | 4.6097 | 22500 | 0.5715 |
337
+ | 4.7121 | 23000 | 0.5764 |
338
+ | 4.8146 | 23500 | 0.5732 |
339
+ | 4.9170 | 24000 | 0.5777 |
340
+
341
+
342
+ ### Framework Versions
343
+ - Python: 3.12.3
344
+ - Sentence Transformers: 4.1.0
345
+ - Transformers: 4.52.3
346
+ - PyTorch: 2.6.0+cu124
347
+ - Accelerate: 1.7.0
348
+ - Datasets: 3.6.0
349
+ - Tokenizers: 0.21.1
350
+
351
+ ## Citation
352
+
353
+ ### BibTeX
354
+
355
+ #### Sentence Transformers
356
+ ```bibtex
357
+ @inproceedings{reimers-2019-sentence-bert,
358
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
359
+ author = "Reimers, Nils and Gurevych, Iryna",
360
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
361
+ month = "11",
362
+ year = "2019",
363
+ publisher = "Association for Computational Linguistics",
364
+ url = "https://arxiv.org/abs/1908.10084",
365
+ }
366
+ ```
367
+
368
+ <!--
369
+ ## Glossary
370
+
371
+ *Clearly define terms in order to be accessible across audiences.*
372
+ -->
373
+
374
+ <!--
375
+ ## Model Card Authors
376
+
377
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
378
+ -->
379
+
380
+ <!--
381
+ ## Model Card Contact
382
+
383
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
384
+ -->
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.3",
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.3",
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:6f1f93653b547da707641569ba027299463c935cda0488a460da834b3a8a84be
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": 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
+ }
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": 128,
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