vladislav-savko commited on
Commit
31ea36a
1 Parent(s): ef82f1d

Add new SentenceTransformer model

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
1_Pooling/config.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "word_embedding_dimension": 1024,
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,362 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - generated_from_trainer
7
+ - dataset_size:6184
8
+ - loss:MultipleNegativesRankingLoss
9
+ base_model: BAAI/bge-reranker-v2-m3
10
+ widget:
11
+ - source_sentence: Yenierenkoy
12
+ sentences:
13
+ - FiltersInfo
14
+ - InputData
15
+ - InputData
16
+ - source_sentence: Skala
17
+ sentences:
18
+ - InfoAbout
19
+ - InputData
20
+ - InputData
21
+ - source_sentence: Nisou
22
+ sentences:
23
+ - InputData
24
+ - InputData
25
+ - InfoAbout
26
+ - source_sentence: Searching for a property for sale near a school with a sea view,
27
+ partially furnished, [int0] residential floors, kitchen available, no balcony,
28
+ and the additional amenity is negotiable
29
+ sentences:
30
+ - InputData
31
+ - InputData
32
+ - ShowMore
33
+ - source_sentence: Konia
34
+ sentences:
35
+ - InputData
36
+ - InputData
37
+ - ShowMore
38
+ pipeline_tag: sentence-similarity
39
+ library_name: sentence-transformers
40
+ ---
41
+
42
+ # SentenceTransformer based on BAAI/bge-reranker-v2-m3
43
+
44
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3). It maps sentences & paragraphs to a 1024-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:** [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) <!-- at revision 953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e -->
51
+ - **Maximum Sequence Length:** 8192 tokens
52
+ - **Output Dimensionality:** 1024 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': 8192, 'do_lower_case': False}) with Transformer model: XLMRobertaModel
69
+ (1): Pooling({'word_embedding_dimension': 1024, '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
+ )
71
+ ```
72
+
73
+ ## Usage
74
+
75
+ ### Direct Usage (Sentence Transformers)
76
+
77
+ First install the Sentence Transformers library:
78
+
79
+ ```bash
80
+ pip install -U sentence-transformers
81
+ ```
82
+
83
+ Then you can load this model and run inference.
84
+ ```python
85
+ from sentence_transformers import SentenceTransformer
86
+
87
+ # Download from the 🤗 Hub
88
+ model = SentenceTransformer("vladislav-savko/bge-v-0.0.3")
89
+ # Run inference
90
+ sentences = [
91
+ 'Konia',
92
+ 'InputData',
93
+ 'ShowMore',
94
+ ]
95
+ embeddings = model.encode(sentences)
96
+ print(embeddings.shape)
97
+ # [3, 1024]
98
+
99
+ # Get the similarity scores for the embeddings
100
+ similarities = model.similarity(embeddings, embeddings)
101
+ print(similarities.shape)
102
+ # [3, 3]
103
+ ```
104
+
105
+ <!--
106
+ ### Direct Usage (Transformers)
107
+
108
+ <details><summary>Click to see the direct usage in Transformers</summary>
109
+
110
+ </details>
111
+ -->
112
+
113
+ <!--
114
+ ### Downstream Usage (Sentence Transformers)
115
+
116
+ You can finetune this model on your own dataset.
117
+
118
+ <details><summary>Click to expand</summary>
119
+
120
+ </details>
121
+ -->
122
+
123
+ <!--
124
+ ### Out-of-Scope Use
125
+
126
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
127
+ -->
128
+
129
+ <!--
130
+ ## Bias, Risks and Limitations
131
+
132
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
133
+ -->
134
+
135
+ <!--
136
+ ### Recommendations
137
+
138
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
139
+ -->
140
+
141
+ ## Training Details
142
+
143
+ ### Training Dataset
144
+
145
+ #### Unnamed Dataset
146
+
147
+
148
+ * Size: 6,184 training samples
149
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>negative</code>
150
+ * Approximate statistics based on the first 1000 samples:
151
+ | | anchor | positive | negative |
152
+ |:--------|:---------------------------------------------------------------------------------|:-------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
153
+ | type | string | string | string |
154
+ | details | <ul><li>min: 3 tokens</li><li>mean: 8.06 tokens</li><li>max: 62 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 5.0 tokens</li><li>max: 5 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.93 tokens</li><li>max: 8 tokens</li></ul> |
155
+ * Samples:
156
+ | anchor | positive | negative |
157
+ |:---------------------------------------------------------------------------------------------------------------------------------|:-----------------------|:----------------------------|
158
+ | <code>I need a property with [int0] bathrooms, unfurnished, floor area of [int1], in Cyprus, with cable and WiFi internet</code> | <code>InputData</code> | <code>Seller</code> |
159
+ | <code>Avgalida</code> | <code>InputData</code> | <code>ShowByPosition</code> |
160
+ | <code>Στρουμπί</code> | <code>InputData</code> | <code>Restart</code> |
161
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
162
+ ```json
163
+ {
164
+ "scale": 20.0,
165
+ "similarity_fct": "cos_sim"
166
+ }
167
+ ```
168
+
169
+ ### Training Hyperparameters
170
+ #### Non-Default Hyperparameters
171
+
172
+ - `per_device_train_batch_size`: 16
173
+ - `num_train_epochs`: 1
174
+ - `warmup_ratio`: 0.1
175
+ - `fp16`: True
176
+ - `batch_sampler`: no_duplicates
177
+
178
+ #### All Hyperparameters
179
+ <details><summary>Click to expand</summary>
180
+
181
+ - `overwrite_output_dir`: False
182
+ - `do_predict`: False
183
+ - `eval_strategy`: no
184
+ - `prediction_loss_only`: True
185
+ - `per_device_train_batch_size`: 16
186
+ - `per_device_eval_batch_size`: 8
187
+ - `per_gpu_train_batch_size`: None
188
+ - `per_gpu_eval_batch_size`: None
189
+ - `gradient_accumulation_steps`: 1
190
+ - `eval_accumulation_steps`: None
191
+ - `torch_empty_cache_steps`: None
192
+ - `learning_rate`: 5e-05
193
+ - `weight_decay`: 0.0
194
+ - `adam_beta1`: 0.9
195
+ - `adam_beta2`: 0.999
196
+ - `adam_epsilon`: 1e-08
197
+ - `max_grad_norm`: 1.0
198
+ - `num_train_epochs`: 1
199
+ - `max_steps`: -1
200
+ - `lr_scheduler_type`: linear
201
+ - `lr_scheduler_kwargs`: {}
202
+ - `warmup_ratio`: 0.1
203
+ - `warmup_steps`: 0
204
+ - `log_level`: passive
205
+ - `log_level_replica`: warning
206
+ - `log_on_each_node`: True
207
+ - `logging_nan_inf_filter`: True
208
+ - `save_safetensors`: True
209
+ - `save_on_each_node`: False
210
+ - `save_only_model`: False
211
+ - `restore_callback_states_from_checkpoint`: False
212
+ - `no_cuda`: False
213
+ - `use_cpu`: False
214
+ - `use_mps_device`: False
215
+ - `seed`: 42
216
+ - `data_seed`: None
217
+ - `jit_mode_eval`: False
218
+ - `use_ipex`: False
219
+ - `bf16`: False
220
+ - `fp16`: True
221
+ - `fp16_opt_level`: O1
222
+ - `half_precision_backend`: auto
223
+ - `bf16_full_eval`: False
224
+ - `fp16_full_eval`: False
225
+ - `tf32`: None
226
+ - `local_rank`: 0
227
+ - `ddp_backend`: None
228
+ - `tpu_num_cores`: None
229
+ - `tpu_metrics_debug`: False
230
+ - `debug`: []
231
+ - `dataloader_drop_last`: False
232
+ - `dataloader_num_workers`: 0
233
+ - `dataloader_prefetch_factor`: None
234
+ - `past_index`: -1
235
+ - `disable_tqdm`: False
236
+ - `remove_unused_columns`: True
237
+ - `label_names`: None
238
+ - `load_best_model_at_end`: False
239
+ - `ignore_data_skip`: False
240
+ - `fsdp`: []
241
+ - `fsdp_min_num_params`: 0
242
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
243
+ - `fsdp_transformer_layer_cls_to_wrap`: None
244
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
245
+ - `deepspeed`: None
246
+ - `label_smoothing_factor`: 0.0
247
+ - `optim`: adamw_torch
248
+ - `optim_args`: None
249
+ - `adafactor`: False
250
+ - `group_by_length`: False
251
+ - `length_column_name`: length
252
+ - `ddp_find_unused_parameters`: None
253
+ - `ddp_bucket_cap_mb`: None
254
+ - `ddp_broadcast_buffers`: False
255
+ - `dataloader_pin_memory`: True
256
+ - `dataloader_persistent_workers`: False
257
+ - `skip_memory_metrics`: True
258
+ - `use_legacy_prediction_loop`: False
259
+ - `push_to_hub`: False
260
+ - `resume_from_checkpoint`: None
261
+ - `hub_model_id`: None
262
+ - `hub_strategy`: every_save
263
+ - `hub_private_repo`: False
264
+ - `hub_always_push`: False
265
+ - `gradient_checkpointing`: False
266
+ - `gradient_checkpointing_kwargs`: None
267
+ - `include_inputs_for_metrics`: False
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
+ - `eval_use_gather_object`: False
290
+ - `prompts`: None
291
+ - `batch_sampler`: no_duplicates
292
+ - `multi_dataset_batch_sampler`: proportional
293
+
294
+ </details>
295
+
296
+ ### Training Logs
297
+ | Epoch | Step | Training Loss |
298
+ |:------:|:----:|:-------------:|
299
+ | 0.1292 | 50 | 2.1264 |
300
+ | 0.2584 | 100 | 1.4208 |
301
+ | 0.3876 | 150 | 0.5788 |
302
+ | 0.5168 | 200 | 1.7538 |
303
+ | 0.6460 | 250 | 0.4396 |
304
+ | 0.7752 | 300 | 0.0 |
305
+ | 0.9044 | 350 | 0.0 |
306
+
307
+
308
+ ### Framework Versions
309
+ - Python: 3.10.12
310
+ - Sentence Transformers: 3.3.1
311
+ - Transformers: 4.44.2
312
+ - PyTorch: 2.5.1+cu121
313
+ - Accelerate: 1.2.1
314
+ - Datasets: 2.19.0
315
+ - Tokenizers: 0.19.1
316
+
317
+ ## Citation
318
+
319
+ ### BibTeX
320
+
321
+ #### Sentence Transformers
322
+ ```bibtex
323
+ @inproceedings{reimers-2019-sentence-bert,
324
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
325
+ author = "Reimers, Nils and Gurevych, Iryna",
326
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
327
+ month = "11",
328
+ year = "2019",
329
+ publisher = "Association for Computational Linguistics",
330
+ url = "https://arxiv.org/abs/1908.10084",
331
+ }
332
+ ```
333
+
334
+ #### MultipleNegativesRankingLoss
335
+ ```bibtex
336
+ @misc{henderson2017efficient,
337
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
338
+ 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},
339
+ year={2017},
340
+ eprint={1705.00652},
341
+ archivePrefix={arXiv},
342
+ primaryClass={cs.CL}
343
+ }
344
+ ```
345
+
346
+ <!--
347
+ ## Glossary
348
+
349
+ *Clearly define terms in order to be accessible across audiences.*
350
+ -->
351
+
352
+ <!--
353
+ ## Model Card Authors
354
+
355
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
356
+ -->
357
+
358
+ <!--
359
+ ## Model Card Contact
360
+
361
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
362
+ -->
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "BAAI/bge-reranker-v2-m3",
3
+ "architectures": [
4
+ "XLMRobertaModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 1024,
13
+ "id2label": {
14
+ "0": "LABEL_0"
15
+ },
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 4096,
18
+ "label2id": {
19
+ "LABEL_0": 0
20
+ },
21
+ "layer_norm_eps": 1e-05,
22
+ "max_position_embeddings": 8194,
23
+ "model_type": "xlm-roberta",
24
+ "num_attention_heads": 16,
25
+ "num_hidden_layers": 24,
26
+ "output_past": true,
27
+ "pad_token_id": 1,
28
+ "position_embedding_type": "absolute",
29
+ "torch_dtype": "float32",
30
+ "transformers_version": "4.44.2",
31
+ "type_vocab_size": 1,
32
+ "use_cache": true,
33
+ "vocab_size": 250002
34
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.3.1",
4
+ "transformers": "4.44.2",
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:78f60bb10cc768cd1e9bd350a73b5dbdb37dc0b6b9b74a5fefde65693cdc7f49
3
+ size 2271064456
modules.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ]
sentence_bert_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "max_seq_length": 8192,
3
+ "do_lower_case": false
4
+ }
sentencepiece.bpe.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
3
+ size 5069051
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": false,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:222975faa02f5257c6e8c734e85973e48c8d42d7d37d90b894c73efa1841d76a
3
+ size 17083154
tokenizer_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 8192,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }