rajaji01 commited on
Commit
9c85cd6
·
verified ·
1 Parent(s): 005bf28

Upload fine-tuned E5-small model

Browse files
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 384,
3
+ "pooling_mode_cls_token": true,
4
+ "pooling_mode_mean_tokens": false,
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,393 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:50000
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: BAAI/bge-small-en-v1.5
11
+ widget:
12
+ - source_sentence: what is a spleen
13
+ sentences:
14
+ - It plays multiple supporting roles in the body it acts as a filter for blood as
15
+ part of the immune system old red blood cells are recycled in the spleen and platelets
16
+ and white blood cells are stored there.
17
+ - Mika
18
+ - 'Size: 28 in (71 cm). Weight: 5 to 20 lbs (2.3 to 9 kg). Size relative to a 6-ft
19
+ (2-m) man: Domestic cats, no matter their breed, are all members of one species.
20
+ Felis catus has had a very long relationship with humans.Ancient Egyptians may
21
+ have first domesticated cats as early as 4,000 years ago.'
22
+ - source_sentence: where in wisconsin is frederic
23
+ sentences:
24
+ - To mark with two series of parallel lines that intersect.
25
+ - Polk County, Wisconsin, United States
26
+ - Swiss franc.
27
+ - source_sentence: what does uber pay
28
+ sentences:
29
+ - Between 200 and 500 US Dollars depending on the level of certification.
30
+ - 'Benign Tumours (cancers)-. 1.Fibromas-it is the non-malignant tumour of fibrous
31
+ tissues. These tumours may develop in any part of the body and later may also
32
+ spread in other tissues too.
33
+
34
+ '
35
+ - Uber driver pay varies depending on where you live and how many hours you drive.
36
+ I make between $20 and $25 an hour in Los Angeles.
37
+ - source_sentence: what is the new laws about driving in europe
38
+ sentences:
39
+ - 'Yes'
40
+ - Is a dish native to Spain, often served as a tapa in bars.
41
+ - You can use your Great Britain or Northern Ireland driving licence in all EU or
42
+ European Economic Area (EEA) countries, and Switzerland.
43
+ - source_sentence: what is an honours degree
44
+ sentences:
45
+ - It can cause low blood sugar and ketosis.
46
+ - A degree 'with honours' is usually awarded in the last year of a four year Bachelor
47
+ degree to students who obtain defined honours grades (such as an H1) in specified
48
+ course components.
49
+ - $1500-$2800
50
+ pipeline_tag: sentence-similarity
51
+ library_name: sentence-transformers
52
+ ---
53
+
54
+ # SentenceTransformer based on BAAI/bge-small-en-v1.5
55
+
56
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5). 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.
57
+
58
+ ## Model Details
59
+
60
+ ### Model Description
61
+ - **Model Type:** Sentence Transformer
62
+ - **Base model:** [BAAI/bge-small-en-v1.5](https://huggingface.co/BAAI/bge-small-en-v1.5) <!-- at revision 5c38ec7c405ec4b44b94cc5a9bb96e735b38267a -->
63
+ - **Maximum Sequence Length:** 512 tokens
64
+ - **Output Dimensionality:** 384 dimensions
65
+ - **Similarity Function:** Cosine Similarity
66
+ <!-- - **Training Dataset:** Unknown -->
67
+ <!-- - **Language:** Unknown -->
68
+ <!-- - **License:** Unknown -->
69
+
70
+ ### Model Sources
71
+
72
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
73
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
74
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
75
+
76
+ ### Full Model Architecture
77
+
78
+ ```
79
+ SentenceTransformer(
80
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': True, 'architecture': 'BertModel'})
81
+ (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
82
+ (2): Normalize()
83
+ )
84
+ ```
85
+
86
+ ## Usage
87
+
88
+ ### Direct Usage (Sentence Transformers)
89
+
90
+ First install the Sentence Transformers library:
91
+
92
+ ```bash
93
+ pip install -U sentence-transformers
94
+ ```
95
+
96
+ Then you can load this model and run inference.
97
+ ```python
98
+ from sentence_transformers import SentenceTransformer
99
+
100
+ # Download from the 🤗 Hub
101
+ model = SentenceTransformer("sentence_transformers_model_id")
102
+ # Run inference
103
+ sentences = [
104
+ 'what is an honours degree',
105
+ "A degree 'with honours' is usually awarded in the last year of a four year Bachelor degree to students who obtain defined honours grades (such as an H1) in specified course components.",
106
+ '$1500-$2800',
107
+ ]
108
+ embeddings = model.encode(sentences)
109
+ print(embeddings.shape)
110
+ # [3, 384]
111
+
112
+ # Get the similarity scores for the embeddings
113
+ similarities = model.similarity(embeddings, embeddings)
114
+ print(similarities)
115
+ # tensor([[ 1.0000, 0.8948, -0.0742],
116
+ # [ 0.8948, 1.0000, -0.0632],
117
+ # [-0.0742, -0.0632, 1.0000]])
118
+ ```
119
+
120
+ <!--
121
+ ### Direct Usage (Transformers)
122
+
123
+ <details><summary>Click to see the direct usage in Transformers</summary>
124
+
125
+ </details>
126
+ -->
127
+
128
+ <!--
129
+ ### Downstream Usage (Sentence Transformers)
130
+
131
+ You can finetune this model on your own dataset.
132
+
133
+ <details><summary>Click to expand</summary>
134
+
135
+ </details>
136
+ -->
137
+
138
+ <!--
139
+ ### Out-of-Scope Use
140
+
141
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
142
+ -->
143
+
144
+ <!--
145
+ ## Bias, Risks and Limitations
146
+
147
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
148
+ -->
149
+
150
+ <!--
151
+ ### Recommendations
152
+
153
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
154
+ -->
155
+
156
+ ## Training Details
157
+
158
+ ### Training Dataset
159
+
160
+ #### Unnamed Dataset
161
+
162
+ * Size: 50,000 training samples
163
+ * Columns: <code>sentence_0</code> and <code>sentence_1</code>
164
+ * Approximate statistics based on the first 1000 samples:
165
+ | | sentence_0 | sentence_1 |
166
+ |:--------|:---------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|
167
+ | type | string | string |
168
+ | details | <ul><li>min: 4 tokens</li><li>mean: 9.07 tokens</li><li>max: 27 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 22.08 tokens</li><li>max: 112 tokens</li></ul> |
169
+ * Samples:
170
+ | sentence_0 | sentence_1 |
171
+ |:----------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
172
+ | <code>what does death panel mean</code> | <code>It is a government agency that would decide who would receive health care and who would not receive health care based on some form of standard implemented by the government.</code> |
173
+ | <code>delayed loss of smell after traumatic brain injury</code> | <code>Yes</code> |
174
+ | <code>what causes periodic sweating</code> | <code>In adults, the most common cause of hyperhidrosis is emotional stress. Also caused by heart disease, lung disease, diabetes, and shock.</code> |
175
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
176
+ ```json
177
+ {
178
+ "scale": 20.0,
179
+ "similarity_fct": "cos_sim",
180
+ "gather_across_devices": false
181
+ }
182
+ ```
183
+
184
+ ### Training Hyperparameters
185
+ #### Non-Default Hyperparameters
186
+
187
+ - `per_device_train_batch_size`: 16
188
+ - `per_device_eval_batch_size`: 16
189
+ - `fp16`: True
190
+ - `multi_dataset_batch_sampler`: round_robin
191
+
192
+ #### All Hyperparameters
193
+ <details><summary>Click to expand</summary>
194
+
195
+ - `overwrite_output_dir`: False
196
+ - `do_predict`: False
197
+ - `eval_strategy`: no
198
+ - `prediction_loss_only`: True
199
+ - `per_device_train_batch_size`: 16
200
+ - `per_device_eval_batch_size`: 16
201
+ - `per_gpu_train_batch_size`: None
202
+ - `per_gpu_eval_batch_size`: None
203
+ - `gradient_accumulation_steps`: 1
204
+ - `eval_accumulation_steps`: None
205
+ - `torch_empty_cache_steps`: None
206
+ - `learning_rate`: 5e-05
207
+ - `weight_decay`: 0.0
208
+ - `adam_beta1`: 0.9
209
+ - `adam_beta2`: 0.999
210
+ - `adam_epsilon`: 1e-08
211
+ - `max_grad_norm`: 1
212
+ - `num_train_epochs`: 3
213
+ - `max_steps`: -1
214
+ - `lr_scheduler_type`: linear
215
+ - `lr_scheduler_kwargs`: {}
216
+ - `warmup_ratio`: 0.0
217
+ - `warmup_steps`: 0
218
+ - `log_level`: passive
219
+ - `log_level_replica`: warning
220
+ - `log_on_each_node`: True
221
+ - `logging_nan_inf_filter`: True
222
+ - `save_safetensors`: True
223
+ - `save_on_each_node`: False
224
+ - `save_only_model`: False
225
+ - `restore_callback_states_from_checkpoint`: False
226
+ - `no_cuda`: False
227
+ - `use_cpu`: False
228
+ - `use_mps_device`: False
229
+ - `seed`: 42
230
+ - `data_seed`: None
231
+ - `jit_mode_eval`: False
232
+ - `use_ipex`: False
233
+ - `bf16`: False
234
+ - `fp16`: True
235
+ - `fp16_opt_level`: O1
236
+ - `half_precision_backend`: auto
237
+ - `bf16_full_eval`: False
238
+ - `fp16_full_eval`: False
239
+ - `tf32`: None
240
+ - `local_rank`: 0
241
+ - `ddp_backend`: None
242
+ - `tpu_num_cores`: None
243
+ - `tpu_metrics_debug`: False
244
+ - `debug`: []
245
+ - `dataloader_drop_last`: False
246
+ - `dataloader_num_workers`: 0
247
+ - `dataloader_prefetch_factor`: None
248
+ - `past_index`: -1
249
+ - `disable_tqdm`: False
250
+ - `remove_unused_columns`: True
251
+ - `label_names`: None
252
+ - `load_best_model_at_end`: False
253
+ - `ignore_data_skip`: False
254
+ - `fsdp`: []
255
+ - `fsdp_min_num_params`: 0
256
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
257
+ - `fsdp_transformer_layer_cls_to_wrap`: None
258
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
259
+ - `parallelism_config`: None
260
+ - `deepspeed`: None
261
+ - `label_smoothing_factor`: 0.0
262
+ - `optim`: adamw_torch
263
+ - `optim_args`: None
264
+ - `adafactor`: False
265
+ - `group_by_length`: False
266
+ - `length_column_name`: length
267
+ - `ddp_find_unused_parameters`: None
268
+ - `ddp_bucket_cap_mb`: None
269
+ - `ddp_broadcast_buffers`: False
270
+ - `dataloader_pin_memory`: True
271
+ - `dataloader_persistent_workers`: False
272
+ - `skip_memory_metrics`: True
273
+ - `use_legacy_prediction_loop`: False
274
+ - `push_to_hub`: False
275
+ - `resume_from_checkpoint`: None
276
+ - `hub_model_id`: None
277
+ - `hub_strategy`: every_save
278
+ - `hub_private_repo`: None
279
+ - `hub_always_push`: False
280
+ - `hub_revision`: None
281
+ - `gradient_checkpointing`: False
282
+ - `gradient_checkpointing_kwargs`: None
283
+ - `include_inputs_for_metrics`: False
284
+ - `include_for_metrics`: []
285
+ - `eval_do_concat_batches`: True
286
+ - `fp16_backend`: auto
287
+ - `push_to_hub_model_id`: None
288
+ - `push_to_hub_organization`: None
289
+ - `mp_parameters`:
290
+ - `auto_find_batch_size`: False
291
+ - `full_determinism`: False
292
+ - `torchdynamo`: None
293
+ - `ray_scope`: last
294
+ - `ddp_timeout`: 1800
295
+ - `torch_compile`: False
296
+ - `torch_compile_backend`: None
297
+ - `torch_compile_mode`: None
298
+ - `include_tokens_per_second`: False
299
+ - `include_num_input_tokens_seen`: False
300
+ - `neftune_noise_alpha`: None
301
+ - `optim_target_modules`: None
302
+ - `batch_eval_metrics`: False
303
+ - `eval_on_start`: False
304
+ - `use_liger_kernel`: False
305
+ - `liger_kernel_config`: None
306
+ - `eval_use_gather_object`: False
307
+ - `average_tokens_across_devices`: False
308
+ - `prompts`: None
309
+ - `batch_sampler`: batch_sampler
310
+ - `multi_dataset_batch_sampler`: round_robin
311
+ - `router_mapping`: {}
312
+ - `learning_rate_mapping`: {}
313
+
314
+ </details>
315
+
316
+ ### Training Logs
317
+ | Epoch | Step | Training Loss |
318
+ |:------:|:----:|:-------------:|
319
+ | 0.16 | 500 | 0.4783 |
320
+ | 0.32 | 1000 | 0.3252 |
321
+ | 0.48 | 1500 | 0.3042 |
322
+ | 0.64 | 2000 | 0.2985 |
323
+ | 0.8 | 2500 | 0.2922 |
324
+ | 0.96 | 3000 | 0.268 |
325
+ | 1.12 | 3500 | 0.2378 |
326
+ | 1.28 | 4000 | 0.2308 |
327
+ | 1.44 | 4500 | 0.2316 |
328
+ | 1.6 | 5000 | 0.2321 |
329
+ | 1.76 | 5500 | 0.246 |
330
+ | 1.92 | 6000 | 0.2335 |
331
+ | 2.08 | 6500 | 0.2186 |
332
+ | 2.24 | 7000 | 0.206 |
333
+ | 2.4 | 7500 | 0.2073 |
334
+ | 2.56 | 8000 | 0.2127 |
335
+ | 2.7200 | 8500 | 0.202 |
336
+ | 2.88 | 9000 | 0.1961 |
337
+
338
+
339
+ ### Framework Versions
340
+ - Python: 3.12.7
341
+ - Sentence Transformers: 5.1.1
342
+ - Transformers: 4.56.2
343
+ - PyTorch: 2.7.1+cu118
344
+ - Accelerate: 1.10.1
345
+ - Datasets: 4.1.1
346
+ - Tokenizers: 0.22.1
347
+
348
+ ## Citation
349
+
350
+ ### BibTeX
351
+
352
+ #### Sentence Transformers
353
+ ```bibtex
354
+ @inproceedings{reimers-2019-sentence-bert,
355
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
356
+ author = "Reimers, Nils and Gurevych, Iryna",
357
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
358
+ month = "11",
359
+ year = "2019",
360
+ publisher = "Association for Computational Linguistics",
361
+ url = "https://arxiv.org/abs/1908.10084",
362
+ }
363
+ ```
364
+
365
+ #### MultipleNegativesRankingLoss
366
+ ```bibtex
367
+ @misc{henderson2017efficient,
368
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
369
+ 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},
370
+ year={2017},
371
+ eprint={1705.00652},
372
+ archivePrefix={arXiv},
373
+ primaryClass={cs.CL}
374
+ }
375
+ ```
376
+
377
+ <!--
378
+ ## Glossary
379
+
380
+ *Clearly define terms in order to be accessible across audiences.*
381
+ -->
382
+
383
+ <!--
384
+ ## Model Card Authors
385
+
386
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
387
+ -->
388
+
389
+ <!--
390
+ ## Model Card Contact
391
+
392
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
393
+ -->
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertModel"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "dtype": "float32",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 384,
11
+ "id2label": {
12
+ "0": "LABEL_0"
13
+ },
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 1536,
16
+ "label2id": {
17
+ "LABEL_0": 0
18
+ },
19
+ "layer_norm_eps": 1e-12,
20
+ "max_position_embeddings": 512,
21
+ "model_type": "bert",
22
+ "num_attention_heads": 12,
23
+ "num_hidden_layers": 12,
24
+ "pad_token_id": 0,
25
+ "position_embedding_type": "absolute",
26
+ "transformers_version": "4.56.2",
27
+ "type_vocab_size": 2,
28
+ "use_cache": true,
29
+ "vocab_size": 30522
30
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.1",
4
+ "transformers": "4.56.2",
5
+ "pytorch": "2.7.1+cu118"
6
+ },
7
+ "model_type": "SentenceTransformer",
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2cb783a0cf9e260d011e2b0c7c1a89f5df7b4557d77c0c6555067414bbe5226e
3
+ size 133462128
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": true
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff