srikarvar commited on
Commit
d6de645
·
verified ·
1 Parent(s): 5b98ff4

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": 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,401 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: intfloat/multilingual-e5-small
3
+ datasets: []
4
+ language: []
5
+ library_name: sentence-transformers
6
+ metrics:
7
+ - cosine_accuracy
8
+ - dot_accuracy
9
+ - manhattan_accuracy
10
+ - euclidean_accuracy
11
+ - max_accuracy
12
+ pipeline_tag: sentence-similarity
13
+ tags:
14
+ - sentence-transformers
15
+ - sentence-similarity
16
+ - feature-extraction
17
+ - generated_from_trainer
18
+ - dataset_size:509
19
+ - loss:TripletLoss
20
+ widget:
21
+ - source_sentence: How to create a PowerPoint presentation?
22
+ sentences:
23
+ - Steps to make a presentation in PowerPoint
24
+ - How to create a spreadsheet in Excel?
25
+ - Steps to get a Canadian visa
26
+ - source_sentence: When was the first World War?
27
+ sentences:
28
+ - Capital city of Brazil
29
+ - When was the Vietnam War?
30
+ - Dates of World War I
31
+ - source_sentence: How can I make a chocolate cake?
32
+ sentences:
33
+ - World's tallest mountain
34
+ - How do I bake a chocolate cake?
35
+ - How can I make a vanilla cake?
36
+ - source_sentence: Who wrote 'Pride and Prejudice'?
37
+ sentences:
38
+ - Steps to cultivate tomatoes at home
39
+ - Author of 'Pride and Prejudice'
40
+ - Who wrote 'Moby Dick'?
41
+ - source_sentence: What is the population of New York City?
42
+ sentences:
43
+ - New York City's population in 2023
44
+ - What is the population of Los Angeles?
45
+ - Total number of planets in our solar system
46
+ model-index:
47
+ - name: SentenceTransformer based on intfloat/multilingual-e5-small
48
+ results:
49
+ - task:
50
+ type: triplet
51
+ name: Triplet
52
+ dataset:
53
+ name: my evaluator
54
+ type: my_evaluator
55
+ metrics:
56
+ - type: cosine_accuracy
57
+ value: 0.98
58
+ name: Cosine Accuracy
59
+ - type: dot_accuracy
60
+ value: 0.02
61
+ name: Dot Accuracy
62
+ - type: manhattan_accuracy
63
+ value: 0.98
64
+ name: Manhattan Accuracy
65
+ - type: euclidean_accuracy
66
+ value: 0.98
67
+ name: Euclidean Accuracy
68
+ - type: max_accuracy
69
+ value: 0.98
70
+ name: Max Accuracy
71
+ ---
72
+
73
+ # SentenceTransformer based on intfloat/multilingual-e5-small
74
+
75
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small). 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.
76
+
77
+ ## Model Details
78
+
79
+ ### Model Description
80
+ - **Model Type:** Sentence Transformer
81
+ - **Base model:** [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) <!-- at revision fd1525a9fd15316a2d503bf26ab031a61d056e98 -->
82
+ - **Maximum Sequence Length:** 512 tokens
83
+ - **Output Dimensionality:** 384 tokens
84
+ - **Similarity Function:** Cosine Similarity
85
+ <!-- - **Training Dataset:** Unknown -->
86
+ <!-- - **Language:** Unknown -->
87
+ <!-- - **License:** Unknown -->
88
+
89
+ ### Model Sources
90
+
91
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
92
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
93
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
94
+
95
+ ### Full Model Architecture
96
+
97
+ ```
98
+ SentenceTransformer(
99
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
100
+ (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})
101
+ (2): Normalize()
102
+ )
103
+ ```
104
+
105
+ ## Usage
106
+
107
+ ### Direct Usage (Sentence Transformers)
108
+
109
+ First install the Sentence Transformers library:
110
+
111
+ ```bash
112
+ pip install -U sentence-transformers
113
+ ```
114
+
115
+ Then you can load this model and run inference.
116
+ ```python
117
+ from sentence_transformers import SentenceTransformer
118
+
119
+ # Download from the 🤗 Hub
120
+ model = SentenceTransformer("srikarvar/fine_tuned_model")
121
+ # Run inference
122
+ sentences = [
123
+ 'What is the population of New York City?',
124
+ "New York City's population in 2023",
125
+ 'What is the population of Los Angeles?',
126
+ ]
127
+ embeddings = model.encode(sentences)
128
+ print(embeddings.shape)
129
+ # [3, 384]
130
+
131
+ # Get the similarity scores for the embeddings
132
+ similarities = model.similarity(embeddings, embeddings)
133
+ print(similarities.shape)
134
+ # [3, 3]
135
+ ```
136
+
137
+ <!--
138
+ ### Direct Usage (Transformers)
139
+
140
+ <details><summary>Click to see the direct usage in Transformers</summary>
141
+
142
+ </details>
143
+ -->
144
+
145
+ <!--
146
+ ### Downstream Usage (Sentence Transformers)
147
+
148
+ You can finetune this model on your own dataset.
149
+
150
+ <details><summary>Click to expand</summary>
151
+
152
+ </details>
153
+ -->
154
+
155
+ <!--
156
+ ### Out-of-Scope Use
157
+
158
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
159
+ -->
160
+
161
+ ## Evaluation
162
+
163
+ ### Metrics
164
+
165
+ #### Triplet
166
+ * Dataset: `my_evaluator`
167
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
168
+
169
+ | Metric | Value |
170
+ |:-------------------|:---------|
171
+ | cosine_accuracy | 0.98 |
172
+ | dot_accuracy | 0.02 |
173
+ | manhattan_accuracy | 0.98 |
174
+ | euclidean_accuracy | 0.98 |
175
+ | **max_accuracy** | **0.98** |
176
+
177
+ <!--
178
+ ## Bias, Risks and Limitations
179
+
180
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
181
+ -->
182
+
183
+ <!--
184
+ ### Recommendations
185
+
186
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
187
+ -->
188
+
189
+ ## Training Details
190
+
191
+ ### Training Dataset
192
+
193
+ #### Unnamed Dataset
194
+
195
+
196
+ * Size: 509 training samples
197
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, <code>sentence_2</code>, and <code>label</code>
198
+ * Approximate statistics based on the first 1000 samples:
199
+ | | sentence_0 | sentence_1 | sentence_2 | label |
200
+ |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------|
201
+ | type | string | string | string | int |
202
+ | details | <ul><li>min: 6 tokens</li><li>mean: 10.77 tokens</li><li>max: 22 tokens</li></ul> | <ul><li>min: 4 tokens</li><li>mean: 9.53 tokens</li><li>max: 20 tokens</li></ul> | <ul><li>min: 6 tokens</li><li>mean: 10.73 tokens</li><li>max: 22 tokens</li></ul> | <ul><li>1: 100.00%</li></ul> |
203
+ * Samples:
204
+ | sentence_0 | sentence_1 | sentence_2 | label |
205
+ |:--------------------------------------------------------------|:----------------------------------------------------|:-------------------------------------------------------|:---------------|
206
+ | <code>What is the chemical formula for carbon dioxide?</code> | <code>Chemical composition of carbon dioxide</code> | <code>What is the chemical formula for methane?</code> | <code>1</code> |
207
+ | <code>What is the speed of a bullet train?</code> | <code>Maximum speed of a bullet train</code> | <code>What is the speed of a jet plane?</code> | <code>1</code> |
208
+ | <code>What is the chemical name for vitamin C?</code> | <code>Scientific name for vitamin C</code> | <code>What is the chemical name for vitamin D?</code> | <code>1</code> |
209
+ * Loss: [<code>TripletLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#tripletloss) with these parameters:
210
+ ```json
211
+ {
212
+ "distance_metric": "TripletDistanceMetric.EUCLIDEAN",
213
+ "triplet_margin": 5
214
+ }
215
+ ```
216
+
217
+ ### Training Hyperparameters
218
+ #### Non-Default Hyperparameters
219
+
220
+ - `eval_strategy`: steps
221
+ - `per_device_train_batch_size`: 16
222
+ - `per_device_eval_batch_size`: 16
223
+ - `multi_dataset_batch_sampler`: round_robin
224
+
225
+ #### All Hyperparameters
226
+ <details><summary>Click to expand</summary>
227
+
228
+ - `overwrite_output_dir`: False
229
+ - `do_predict`: False
230
+ - `eval_strategy`: steps
231
+ - `prediction_loss_only`: True
232
+ - `per_device_train_batch_size`: 16
233
+ - `per_device_eval_batch_size`: 16
234
+ - `per_gpu_train_batch_size`: None
235
+ - `per_gpu_eval_batch_size`: None
236
+ - `gradient_accumulation_steps`: 1
237
+ - `eval_accumulation_steps`: None
238
+ - `learning_rate`: 5e-05
239
+ - `weight_decay`: 0.0
240
+ - `adam_beta1`: 0.9
241
+ - `adam_beta2`: 0.999
242
+ - `adam_epsilon`: 1e-08
243
+ - `max_grad_norm`: 1
244
+ - `num_train_epochs`: 3
245
+ - `max_steps`: -1
246
+ - `lr_scheduler_type`: linear
247
+ - `lr_scheduler_kwargs`: {}
248
+ - `warmup_ratio`: 0.0
249
+ - `warmup_steps`: 0
250
+ - `log_level`: passive
251
+ - `log_level_replica`: warning
252
+ - `log_on_each_node`: True
253
+ - `logging_nan_inf_filter`: True
254
+ - `save_safetensors`: True
255
+ - `save_on_each_node`: False
256
+ - `save_only_model`: False
257
+ - `restore_callback_states_from_checkpoint`: False
258
+ - `no_cuda`: False
259
+ - `use_cpu`: False
260
+ - `use_mps_device`: False
261
+ - `seed`: 42
262
+ - `data_seed`: None
263
+ - `jit_mode_eval`: False
264
+ - `use_ipex`: False
265
+ - `bf16`: False
266
+ - `fp16`: False
267
+ - `fp16_opt_level`: O1
268
+ - `half_precision_backend`: auto
269
+ - `bf16_full_eval`: False
270
+ - `fp16_full_eval`: False
271
+ - `tf32`: None
272
+ - `local_rank`: 0
273
+ - `ddp_backend`: None
274
+ - `tpu_num_cores`: None
275
+ - `tpu_metrics_debug`: False
276
+ - `debug`: []
277
+ - `dataloader_drop_last`: False
278
+ - `dataloader_num_workers`: 0
279
+ - `dataloader_prefetch_factor`: None
280
+ - `past_index`: -1
281
+ - `disable_tqdm`: False
282
+ - `remove_unused_columns`: True
283
+ - `label_names`: None
284
+ - `load_best_model_at_end`: False
285
+ - `ignore_data_skip`: False
286
+ - `fsdp`: []
287
+ - `fsdp_min_num_params`: 0
288
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
289
+ - `fsdp_transformer_layer_cls_to_wrap`: None
290
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
291
+ - `deepspeed`: None
292
+ - `label_smoothing_factor`: 0.0
293
+ - `optim`: adamw_torch
294
+ - `optim_args`: None
295
+ - `adafactor`: False
296
+ - `group_by_length`: False
297
+ - `length_column_name`: length
298
+ - `ddp_find_unused_parameters`: None
299
+ - `ddp_bucket_cap_mb`: None
300
+ - `ddp_broadcast_buffers`: False
301
+ - `dataloader_pin_memory`: True
302
+ - `dataloader_persistent_workers`: False
303
+ - `skip_memory_metrics`: True
304
+ - `use_legacy_prediction_loop`: False
305
+ - `push_to_hub`: False
306
+ - `resume_from_checkpoint`: None
307
+ - `hub_model_id`: None
308
+ - `hub_strategy`: every_save
309
+ - `hub_private_repo`: False
310
+ - `hub_always_push`: False
311
+ - `gradient_checkpointing`: False
312
+ - `gradient_checkpointing_kwargs`: None
313
+ - `include_inputs_for_metrics`: False
314
+ - `eval_do_concat_batches`: True
315
+ - `fp16_backend`: auto
316
+ - `push_to_hub_model_id`: None
317
+ - `push_to_hub_organization`: None
318
+ - `mp_parameters`:
319
+ - `auto_find_batch_size`: False
320
+ - `full_determinism`: False
321
+ - `torchdynamo`: None
322
+ - `ray_scope`: last
323
+ - `ddp_timeout`: 1800
324
+ - `torch_compile`: False
325
+ - `torch_compile_backend`: None
326
+ - `torch_compile_mode`: None
327
+ - `dispatch_batches`: None
328
+ - `split_batches`: None
329
+ - `include_tokens_per_second`: False
330
+ - `include_num_input_tokens_seen`: False
331
+ - `neftune_noise_alpha`: None
332
+ - `optim_target_modules`: None
333
+ - `batch_eval_metrics`: False
334
+ - `batch_sampler`: batch_sampler
335
+ - `multi_dataset_batch_sampler`: round_robin
336
+
337
+ </details>
338
+
339
+ ### Training Logs
340
+ | Epoch | Step | my_evaluator_max_accuracy |
341
+ |:-----:|:----:|:-------------------------:|
342
+ | 1.0 | 32 | 0.88 |
343
+ | 2.0 | 64 | 0.97 |
344
+ | 3.0 | 96 | 0.98 |
345
+
346
+
347
+ ### Framework Versions
348
+ - Python: 3.10.12
349
+ - Sentence Transformers: 3.0.1
350
+ - Transformers: 4.41.2
351
+ - PyTorch: 2.1.2+cu121
352
+ - Accelerate: 0.32.1
353
+ - Datasets: 2.19.1
354
+ - Tokenizers: 0.19.1
355
+
356
+ ## Citation
357
+
358
+ ### BibTeX
359
+
360
+ #### Sentence Transformers
361
+ ```bibtex
362
+ @inproceedings{reimers-2019-sentence-bert,
363
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
364
+ author = "Reimers, Nils and Gurevych, Iryna",
365
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
366
+ month = "11",
367
+ year = "2019",
368
+ publisher = "Association for Computational Linguistics",
369
+ url = "https://arxiv.org/abs/1908.10084",
370
+ }
371
+ ```
372
+
373
+ #### TripletLoss
374
+ ```bibtex
375
+ @misc{hermans2017defense,
376
+ title={In Defense of the Triplet Loss for Person Re-Identification},
377
+ author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
378
+ year={2017},
379
+ eprint={1703.07737},
380
+ archivePrefix={arXiv},
381
+ primaryClass={cs.CV}
382
+ }
383
+ ```
384
+
385
+ <!--
386
+ ## Glossary
387
+
388
+ *Clearly define terms in order to be accessible across audiences.*
389
+ -->
390
+
391
+ <!--
392
+ ## Model Card Authors
393
+
394
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
395
+ -->
396
+
397
+ <!--
398
+ ## Model Card Contact
399
+
400
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
401
+ -->
config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "intfloat/multilingual-e5-small",
3
+ "architectures": [
4
+ "BertModel"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
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": 12,
18
+ "pad_token_id": 0,
19
+ "position_embedding_type": "absolute",
20
+ "tokenizer_class": "XLMRobertaTokenizer",
21
+ "torch_dtype": "float32",
22
+ "transformers_version": "4.41.2",
23
+ "type_vocab_size": 2,
24
+ "use_cache": true,
25
+ "vocab_size": 250037
26
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "3.0.1",
4
+ "transformers": "4.41.2",
5
+ "pytorch": "2.1.2+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:7b8f651f6382d8f33064b0c100f13e8d14e2364fcc20ef08c9f5743a70abebf2
3
+ size 470637416
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": 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": false,
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:ef04f2b385d1514f500e779207ace0f53e30895ce37563179e29f4022d28ca38
3
+ size 17083053
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": false,
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": 512,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "sp_model_kwargs": {},
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }