pujithapsx commited on
Commit
b40aa63
·
verified ·
1 Parent(s): 6723794

10-lakh name+address LoRA fine-tune (individual records)

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
README.md ADDED
@@ -0,0 +1,419 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - cross-encoder
5
+ - reranker
6
+ - generated_from_trainer
7
+ - dataset_size:2879
8
+ - loss:BinaryCrossEntropyLoss
9
+ base_model: BAAI/bge-reranker-v2-m3
10
+ pipeline_tag: text-ranking
11
+ library_name: sentence-transformers
12
+ metrics:
13
+ - accuracy
14
+ - accuracy_threshold
15
+ - f1
16
+ - f1_threshold
17
+ - precision
18
+ - recall
19
+ - average_precision
20
+ model-index:
21
+ - name: CrossEncoder based on BAAI/bge-reranker-v2-m3
22
+ results:
23
+ - task:
24
+ type: cross-encoder-classification
25
+ name: Cross Encoder Classification
26
+ dataset:
27
+ name: entity matching
28
+ type: entity-matching
29
+ metrics:
30
+ - type: accuracy
31
+ value: 0.8525121555915721
32
+ name: Accuracy
33
+ - type: accuracy_threshold
34
+ value: 0.44037526845932007
35
+ name: Accuracy Threshold
36
+ - type: f1
37
+ value: 0.8783068783068781
38
+ name: F1
39
+ - type: f1_threshold
40
+ value: 0.3608097732067108
41
+ name: F1 Threshold
42
+ - type: precision
43
+ value: 0.827930174563591
44
+ name: Precision
45
+ - type: recall
46
+ value: 0.9352112676056338
47
+ name: Recall
48
+ - type: average_precision
49
+ value: 0.9356992398880613
50
+ name: Average Precision
51
+ ---
52
+
53
+ # CrossEncoder based on BAAI/bge-reranker-v2-m3
54
+
55
+ This is a [Cross Encoder](https://www.sbert.net/docs/cross_encoder/usage/usage.html) model finetuned from [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) using the [sentence-transformers](https://www.SBERT.net) library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.
56
+
57
+ ## Model Details
58
+
59
+ ### Model Description
60
+ - **Model Type:** Cross Encoder
61
+ - **Base model:** [BAAI/bge-reranker-v2-m3](https://huggingface.co/BAAI/bge-reranker-v2-m3) <!-- at revision 953dc6f6f85a1b2dbfca4c34a2796e7dde08d41e -->
62
+ - **Maximum Sequence Length:** 64 tokens
63
+ - **Number of Output Labels:** 1 label
64
+ <!-- - **Training Dataset:** Unknown -->
65
+ <!-- - **Language:** Unknown -->
66
+ <!-- - **License:** Unknown -->
67
+
68
+ ### Model Sources
69
+
70
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
71
+ - **Documentation:** [Cross Encoder Documentation](https://www.sbert.net/docs/cross_encoder/usage/usage.html)
72
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
73
+ - **Hugging Face:** [Cross Encoders on Hugging Face](https://huggingface.co/models?library=sentence-transformers&other=cross-encoder)
74
+
75
+ ## Usage
76
+
77
+ ### Direct Usage (Sentence Transformers)
78
+
79
+ First install the Sentence Transformers library:
80
+
81
+ ```bash
82
+ pip install -U sentence-transformers
83
+ ```
84
+
85
+ Then you can load this model and run inference.
86
+ ```python
87
+ from sentence_transformers import CrossEncoder
88
+
89
+ # Download from the 🤗 Hub
90
+ model = CrossEncoder("pujithapsx/test_fine_flow")
91
+ # Get scores for pairs of texts
92
+ pairs = [
93
+ ['Yamini Durga Fernandes', 'Roy Yamini Durga'],
94
+ ['C/O Ramesh Yadav Village Bairiya Post Bairiya Ballia', 'Village Bairiya C/O Ramesh Yadav Post Bairiya Ballia'],
95
+ ['Flat 5 Lotus Tower Brigade Road Bengaluru', 'Flat 6 Lotus Tower Brigade Road Bangalore'],
96
+ ['House 7 Tinsukia Village Post Tinsukia Assam Assam', 'Tinsukia Village Assam'],
97
+ ['Rudra', 'Rudhraa'],
98
+ ]
99
+ scores = model.predict(pairs)
100
+ print(scores.shape)
101
+ # (5,)
102
+
103
+ # Or rank different texts based on similarity to a single text
104
+ ranks = model.rank(
105
+ 'Yamini Durga Fernandes',
106
+ [
107
+ 'Roy Yamini Durga',
108
+ 'Village Bairiya C/O Ramesh Yadav Post Bairiya Ballia',
109
+ 'Flat 6 Lotus Tower Brigade Road Bangalore',
110
+ 'Tinsukia Village Assam',
111
+ 'Rudhraa',
112
+ ]
113
+ )
114
+ # [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]
115
+ ```
116
+
117
+ <!--
118
+ ### Direct Usage (Transformers)
119
+
120
+ <details><summary>Click to see the direct usage in Transformers</summary>
121
+
122
+ </details>
123
+ -->
124
+
125
+ <!--
126
+ ### Downstream Usage (Sentence Transformers)
127
+
128
+ You can finetune this model on your own dataset.
129
+
130
+ <details><summary>Click to expand</summary>
131
+
132
+ </details>
133
+ -->
134
+
135
+ <!--
136
+ ### Out-of-Scope Use
137
+
138
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
139
+ -->
140
+
141
+ ## Evaluation
142
+
143
+ ### Metrics
144
+
145
+ #### Cross Encoder Classification
146
+
147
+ * Dataset: `entity-matching`
148
+ * Evaluated with [<code>CrossEncoderClassificationEvaluator</code>](https://sbert.net/docs/package_reference/cross_encoder/evaluation.html#sentence_transformers.cross_encoder.evaluation.CrossEncoderClassificationEvaluator)
149
+
150
+ | Metric | Value |
151
+ |:----------------------|:-----------|
152
+ | accuracy | 0.8525 |
153
+ | accuracy_threshold | 0.4404 |
154
+ | f1 | 0.8783 |
155
+ | f1_threshold | 0.3608 |
156
+ | precision | 0.8279 |
157
+ | recall | 0.9352 |
158
+ | **average_precision** | **0.9357** |
159
+
160
+ <!--
161
+ ## Bias, Risks and Limitations
162
+
163
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
164
+ -->
165
+
166
+ <!--
167
+ ### Recommendations
168
+
169
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
170
+ -->
171
+
172
+ ## Training Details
173
+
174
+ ### Training Dataset
175
+
176
+ #### Unnamed Dataset
177
+
178
+ * Size: 2,879 training samples
179
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>label</code>
180
+ * Approximate statistics based on the first 1000 samples:
181
+ | | sentence1 | sentence2 | label |
182
+ |:--------|:----------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------|:------------------------------------------------|
183
+ | type | string | string | int |
184
+ | details | <ul><li>min: 4 characters</li><li>mean: 30.29 characters</li><li>max: 90 characters</li></ul> | <ul><li>min: 3 characters</li><li>mean: 31.45 characters</li><li>max: 106 characters</li></ul> | <ul><li>0: ~42.10%</li><li>1: ~57.90%</li></ul> |
185
+ * Samples:
186
+ | sentence1 | sentence2 | label |
187
+ |:----------------------------------|:----------------------------------------|:---------------|
188
+ | <code>Village Buxar Bihar</code> | <code>Village Buxar Rohtas Bihar</code> | <code>0</code> |
189
+ | <code>Dhruv</code> | <code>Dhruvi</code> | <code>0</code> |
190
+ | <code>Venkat Prakash Verma</code> | <code>Venkat P Verma</code> | <code>1</code> |
191
+ * Loss: [<code>BinaryCrossEntropyLoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#binarycrossentropyloss) with these parameters:
192
+ ```json
193
+ {
194
+ "activation_fn": "torch.nn.modules.linear.Identity",
195
+ "pos_weight": null
196
+ }
197
+ ```
198
+
199
+ ### Evaluation Dataset
200
+
201
+ #### Unnamed Dataset
202
+
203
+ * Size: 617 evaluation samples
204
+ * Columns: <code>sentence1</code>, <code>sentence2</code>, and <code>label</code>
205
+ * Approximate statistics based on the first 617 samples:
206
+ | | sentence1 | sentence2 | label |
207
+ |:--------|:----------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------|:------------------------------------------------|
208
+ | type | string | string | int |
209
+ | details | <ul><li>min: 4 characters</li><li>mean: 30.88 characters</li><li>max: 98 characters</li></ul> | <ul><li>min: 4 characters</li><li>mean: 31.67 characters</li><li>max: 100 characters</li></ul> | <ul><li>0: ~42.46%</li><li>1: ~57.54%</li></ul> |
210
+ * Samples:
211
+ | sentence1 | sentence2 | label |
212
+ |:------------------------------------------------------------------|:------------------------------------------------------------------|:---------------|
213
+ | <code>Yamini Durga Fernandes</code> | <code>Roy Yamini Durga</code> | <code>0</code> |
214
+ | <code>C/O Ramesh Yadav Village Bairiya Post Bairiya Ballia</code> | <code>Village Bairiya C/O Ramesh Yadav Post Bairiya Ballia</code> | <code>1</code> |
215
+ | <code>Flat 5 Lotus Tower Brigade Road Bengaluru</code> | <code>Flat 6 Lotus Tower Brigade Road Bangalore</code> | <code>0</code> |
216
+ * Loss: [<code>BinaryCrossEntropyLoss</code>](https://sbert.net/docs/package_reference/cross_encoder/losses.html#binarycrossentropyloss) with these parameters:
217
+ ```json
218
+ {
219
+ "activation_fn": "torch.nn.modules.linear.Identity",
220
+ "pos_weight": null
221
+ }
222
+ ```
223
+
224
+ ### Training Hyperparameters
225
+ #### Non-Default Hyperparameters
226
+
227
+ - `eval_strategy`: steps
228
+ - `per_device_train_batch_size`: 256
229
+ - `per_device_eval_batch_size`: 32
230
+ - `learning_rate`: 2e-05
231
+ - `weight_decay`: 0.01
232
+ - `num_train_epochs`: 1
233
+ - `warmup_ratio`: 0.1
234
+ - `use_cpu`: True
235
+ - `bf16`: True
236
+ - `half_precision_backend`: cpu_amp
237
+ - `load_best_model_at_end`: True
238
+ - `dataloader_pin_memory`: False
239
+
240
+ #### All Hyperparameters
241
+ <details><summary>Click to expand</summary>
242
+
243
+ - `overwrite_output_dir`: False
244
+ - `do_predict`: False
245
+ - `eval_strategy`: steps
246
+ - `prediction_loss_only`: True
247
+ - `per_device_train_batch_size`: 256
248
+ - `per_device_eval_batch_size`: 32
249
+ - `per_gpu_train_batch_size`: None
250
+ - `per_gpu_eval_batch_size`: None
251
+ - `gradient_accumulation_steps`: 1
252
+ - `eval_accumulation_steps`: None
253
+ - `torch_empty_cache_steps`: None
254
+ - `learning_rate`: 2e-05
255
+ - `weight_decay`: 0.01
256
+ - `adam_beta1`: 0.9
257
+ - `adam_beta2`: 0.999
258
+ - `adam_epsilon`: 1e-08
259
+ - `max_grad_norm`: 1.0
260
+ - `num_train_epochs`: 1
261
+ - `max_steps`: -1
262
+ - `lr_scheduler_type`: linear
263
+ - `lr_scheduler_kwargs`: None
264
+ - `warmup_ratio`: 0.1
265
+ - `warmup_steps`: 0
266
+ - `log_level`: passive
267
+ - `log_level_replica`: warning
268
+ - `log_on_each_node`: True
269
+ - `logging_nan_inf_filter`: True
270
+ - `save_safetensors`: True
271
+ - `save_on_each_node`: False
272
+ - `save_only_model`: False
273
+ - `restore_callback_states_from_checkpoint`: False
274
+ - `no_cuda`: False
275
+ - `use_cpu`: True
276
+ - `use_mps_device`: False
277
+ - `seed`: 42
278
+ - `data_seed`: None
279
+ - `jit_mode_eval`: False
280
+ - `bf16`: True
281
+ - `fp16`: False
282
+ - `fp16_opt_level`: O1
283
+ - `half_precision_backend`: cpu_amp
284
+ - `bf16_full_eval`: False
285
+ - `fp16_full_eval`: False
286
+ - `tf32`: None
287
+ - `local_rank`: 0
288
+ - `ddp_backend`: None
289
+ - `tpu_num_cores`: None
290
+ - `tpu_metrics_debug`: False
291
+ - `debug`: []
292
+ - `dataloader_drop_last`: False
293
+ - `dataloader_num_workers`: 0
294
+ - `dataloader_prefetch_factor`: None
295
+ - `past_index`: -1
296
+ - `disable_tqdm`: False
297
+ - `remove_unused_columns`: True
298
+ - `label_names`: None
299
+ - `load_best_model_at_end`: True
300
+ - `ignore_data_skip`: False
301
+ - `fsdp`: []
302
+ - `fsdp_min_num_params`: 0
303
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
304
+ - `fsdp_transformer_layer_cls_to_wrap`: None
305
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
306
+ - `parallelism_config`: None
307
+ - `deepspeed`: None
308
+ - `label_smoothing_factor`: 0.0
309
+ - `optim`: adamw_torch_fused
310
+ - `optim_args`: None
311
+ - `adafactor`: False
312
+ - `group_by_length`: False
313
+ - `length_column_name`: length
314
+ - `project`: huggingface
315
+ - `trackio_space_id`: trackio
316
+ - `ddp_find_unused_parameters`: None
317
+ - `ddp_bucket_cap_mb`: None
318
+ - `ddp_broadcast_buffers`: False
319
+ - `dataloader_pin_memory`: False
320
+ - `dataloader_persistent_workers`: False
321
+ - `skip_memory_metrics`: True
322
+ - `use_legacy_prediction_loop`: False
323
+ - `push_to_hub`: False
324
+ - `resume_from_checkpoint`: None
325
+ - `hub_model_id`: None
326
+ - `hub_strategy`: every_save
327
+ - `hub_private_repo`: None
328
+ - `hub_always_push`: False
329
+ - `hub_revision`: None
330
+ - `gradient_checkpointing`: False
331
+ - `gradient_checkpointing_kwargs`: None
332
+ - `include_inputs_for_metrics`: False
333
+ - `include_for_metrics`: []
334
+ - `eval_do_concat_batches`: True
335
+ - `fp16_backend`: auto
336
+ - `push_to_hub_model_id`: None
337
+ - `push_to_hub_organization`: None
338
+ - `mp_parameters`:
339
+ - `auto_find_batch_size`: False
340
+ - `full_determinism`: False
341
+ - `torchdynamo`: None
342
+ - `ray_scope`: last
343
+ - `ddp_timeout`: 1800
344
+ - `torch_compile`: False
345
+ - `torch_compile_backend`: None
346
+ - `torch_compile_mode`: None
347
+ - `include_tokens_per_second`: False
348
+ - `include_num_input_tokens_seen`: no
349
+ - `neftune_noise_alpha`: None
350
+ - `optim_target_modules`: None
351
+ - `batch_eval_metrics`: False
352
+ - `eval_on_start`: False
353
+ - `use_liger_kernel`: False
354
+ - `liger_kernel_config`: None
355
+ - `eval_use_gather_object`: False
356
+ - `average_tokens_across_devices`: True
357
+ - `prompts`: None
358
+ - `batch_sampler`: batch_sampler
359
+ - `multi_dataset_batch_sampler`: proportional
360
+ - `router_mapping`: {}
361
+ - `learning_rate_mapping`: {}
362
+
363
+ </details>
364
+
365
+ ### Training Logs
366
+ | Epoch | Step | Validation Loss | entity-matching_average_precision |
367
+ |:----------:|:------:|:---------------:|:---------------------------------:|
368
+ | 0.1667 | 2 | 0.4423 | 0.9298 |
369
+ | 0.3333 | 4 | 0.4188 | 0.9319 |
370
+ | 0.5 | 6 | 0.4032 | 0.9335 |
371
+ | 0.6667 | 8 | 0.3935 | 0.9345 |
372
+ | **0.8333** | **10** | **0.3874** | **0.9353** |
373
+ | 1.0 | 12 | 0.3849 | 0.9357 |
374
+
375
+ * The bold row denotes the saved checkpoint.
376
+
377
+ ### Framework Versions
378
+ - Python: 3.10.12
379
+ - Sentence Transformers: 5.3.0
380
+ - Transformers: 4.57.6
381
+ - PyTorch: 2.10.0+cu128
382
+ - Accelerate: 1.13.0
383
+ - Datasets: 4.8.4
384
+ - Tokenizers: 0.22.2
385
+
386
+ ## Citation
387
+
388
+ ### BibTeX
389
+
390
+ #### Sentence Transformers
391
+ ```bibtex
392
+ @inproceedings{reimers-2019-sentence-bert,
393
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
394
+ author = "Reimers, Nils and Gurevych, Iryna",
395
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
396
+ month = "11",
397
+ year = "2019",
398
+ publisher = "Association for Computational Linguistics",
399
+ url = "https://arxiv.org/abs/1908.10084",
400
+ }
401
+ ```
402
+
403
+ <!--
404
+ ## Glossary
405
+
406
+ *Clearly define terms in order to be accessible across audiences.*
407
+ -->
408
+
409
+ <!--
410
+ ## Model Card Authors
411
+
412
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
413
+ -->
414
+
415
+ <!--
416
+ ## Model Card Contact
417
+
418
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
419
+ -->
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "XLMRobertaForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 0,
7
+ "classifier_dropout": null,
8
+ "dtype": "float32",
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
+ "sentence_transformers": {
30
+ "activation_fn": "torch.nn.modules.activation.Sigmoid",
31
+ "version": "5.3.0"
32
+ },
33
+ "transformers_version": "4.57.6",
34
+ "type_vocab_size": 1,
35
+ "use_cache": true,
36
+ "vocab_size": 250002
37
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcb84c57d7315b013c86620648a0b80ddabc0e9d7dadfe1f6aabb30685466e6f
3
+ size 2271071852
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:1919ac24e2bc00b04ed2ec3902939854aa48b3193778f6c7e4a5043c093bbe0f
3
+ size 17083152
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 64,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "sp_model_kwargs": {},
54
+ "tokenizer_class": "XLMRobertaTokenizer",
55
+ "unk_token": "<unk>"
56
+ }