Nada-10 commited on
Commit
b164220
1 Parent(s): fda96f4

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,378 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: intfloat/multilingual-e5-small
3
+ datasets: []
4
+ language: []
5
+ library_name: sentence-transformers
6
+ pipeline_tag: sentence-similarity
7
+ tags:
8
+ - sentence-transformers
9
+ - sentence-similarity
10
+ - feature-extraction
11
+ - generated_from_trainer
12
+ - dataset_size:1446
13
+ - loss:MultipleNegativesRankingLoss
14
+ widget:
15
+ - source_sentence: 圧縮機の回転部分の総称であって、動翼を介して気体に仕事を付加する機能をもつ。動翼を植えてないも のを圧縮機ロータという場合がある。
16
+ sentences:
17
+ - 圧縮機ロータ〔コンプレッサロータ〕はどのように定義されていますか?
18
+ - 溶存水素の定義を教えてください。
19
+ - 中圧圧縮機〔中圧コンプレッサ〕の定義は何ですか?
20
+ - source_sentence: 気体を圧縮、加熱し連続的に膨張させて、その保有する熱エネルギーを機械的エネルギーとして取り出 す熱機関。原則として圧縮機、加熱器、タービン、制御装置のほか必要に応じて熱交換器その他の補機
21
+ からなっている。
22
+ sentences:
23
+ - What is the definition of gas turbine?
24
+ - What is the definition of low fuel pressure tripping device?
25
+ - 微分動作〔D動作〕の機能は何ですか?
26
+ - source_sentence: 光の透過または散乱を利用して水のにごりの度合を示す計器。
27
+ sentences:
28
+ - 第3リン酸ソーダの機能は何ですか?
29
+ - 濁度計をどのように定義しますか?
30
+ - How is 〔DEB〕 direct energy balance coordinated control〔APC〕 automatic power control、automatic plant control
31
+ defined?
32
+ - source_sentence: ボイラ用水として使用している水の不純物の除去および軟化、pHの調整等の処理をいう。
33
+ sentences:
34
+ - 給水処理の機能は何ですか?
35
+ - 除湿器の機能は何ですか?
36
+ - 薬液貯蔵タンクの意味を説明してください。
37
+ - source_sentence: 再生時アニオン樹脂とカチオン樹脂は別々に再生される。再生後両樹脂の混合に用いる送風機をいう。
38
+ sentences:
39
+ - 中和装置の定義は何ですか?
40
+ - 混床塔ブロワをどのように定義しますか?
41
+ - How is raw water defined?
42
+ ---
43
+
44
+ # SentenceTransformer based on intfloat/multilingual-e5-small
45
+
46
+ 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.
47
+
48
+ ## Model Details
49
+
50
+ ### Model Description
51
+ - **Model Type:** Sentence Transformer
52
+ - **Base model:** [intfloat/multilingual-e5-small](https://huggingface.co/intfloat/multilingual-e5-small) <!-- at revision 0a68dcd3dad5b4962a78daa930087728292b241d -->
53
+ - **Maximum Sequence Length:** 512 tokens
54
+ - **Output Dimensionality:** 384 tokens
55
+ - **Similarity Function:** Cosine Similarity
56
+ <!-- - **Training Dataset:** Unknown -->
57
+ <!-- - **Language:** Unknown -->
58
+ <!-- - **License:** Unknown -->
59
+
60
+ ### Model Sources
61
+
62
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
63
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
64
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
65
+
66
+ ### Full Model Architecture
67
+
68
+ ```
69
+ SentenceTransformer(
70
+ (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel
71
+ (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})
72
+ (2): Normalize()
73
+ )
74
+ ```
75
+
76
+ ## Usage
77
+
78
+ ### Direct Usage (Sentence Transformers)
79
+
80
+ First install the Sentence Transformers library:
81
+
82
+ ```bash
83
+ pip install -U sentence-transformers
84
+ ```
85
+
86
+ Then you can load this model and run inference.
87
+ ```python
88
+ from sentence_transformers import SentenceTransformer
89
+
90
+ # Download from the 🤗 Hub
91
+ model = SentenceTransformer("Nada-10/f-jp-multilingual-e5-small")
92
+ # Run inference
93
+ sentences = [
94
+ '再生時アニオン樹脂とカチオン樹脂は別々に再生される。再生後両樹脂の混合に用いる送風機をいう。',
95
+ '混床塔ブロワをどのように定義しますか?',
96
+ '中和装置の定義は何ですか?',
97
+ ]
98
+ embeddings = model.encode(sentences)
99
+ print(embeddings.shape)
100
+ # [3, 384]
101
+
102
+ # Get the similarity scores for the embeddings
103
+ similarities = model.similarity(embeddings, embeddings)
104
+ print(similarities.shape)
105
+ # [3, 3]
106
+ ```
107
+
108
+ <!--
109
+ ### Direct Usage (Transformers)
110
+
111
+ <details><summary>Click to see the direct usage in Transformers</summary>
112
+
113
+ </details>
114
+ -->
115
+
116
+ <!--
117
+ ### Downstream Usage (Sentence Transformers)
118
+
119
+ You can finetune this model on your own dataset.
120
+
121
+ <details><summary>Click to expand</summary>
122
+
123
+ </details>
124
+ -->
125
+
126
+ <!--
127
+ ### Out-of-Scope Use
128
+
129
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
130
+ -->
131
+
132
+ <!--
133
+ ## Bias, Risks and Limitations
134
+
135
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
136
+ -->
137
+
138
+ <!--
139
+ ### Recommendations
140
+
141
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
142
+ -->
143
+
144
+ ## Training Details
145
+
146
+ ### Training Dataset
147
+
148
+ #### Unnamed Dataset
149
+
150
+
151
+ * Size: 1,446 training samples
152
+ * Columns: <code>positive</code> and <code>anchor</code>
153
+ * Approximate statistics based on the first 1000 samples:
154
+ | | positive | anchor |
155
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
156
+ | type | string | string |
157
+ | details | <ul><li>min: 8 tokens</li><li>mean: 26.96 tokens</li><li>max: 123 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 13.06 tokens</li><li>max: 29 tokens</li></ul> |
158
+ * Samples:
159
+ | positive | anchor |
160
+ |:------------------------------------------------------|:------------------------------------------------------------|
161
+ | <code>石油、石炭、天然ガス、高炉ガスなどのもつ熱エネルギーを利用して発電するプラント。</code> | <code>火力発電所の定義を説明してください。</code> |
162
+ | <code>蒸気タービンにより発電するプラント。</code> | <code>What does the term steam power plant refer to?</code> |
163
+ | <code>ガスタービンにより発電するプラント。</code> | <code>ガスタービン発電所の機能は何ですか?</code> |
164
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
165
+ ```json
166
+ {
167
+ "scale": 20.0,
168
+ "similarity_fct": "cos_sim"
169
+ }
170
+ ```
171
+
172
+ ### Evaluation Dataset
173
+
174
+ #### Unnamed Dataset
175
+
176
+
177
+ * Size: 362 evaluation samples
178
+ * Columns: <code>positive</code> and <code>anchor</code>
179
+ * Approximate statistics based on the first 1000 samples:
180
+ | | positive | anchor |
181
+ |:--------|:-----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|
182
+ | type | string | string |
183
+ | details | <ul><li>min: 8 tokens</li><li>mean: 30.27 tokens</li><li>max: 128 tokens</li></ul> | <ul><li>min: 7 tokens</li><li>mean: 13.23 tokens</li><li>max: 30 tokens</li></ul> |
184
+ * Samples:
185
+ | positive | anchor |
186
+ |:--------------------------------------------------------------------------|:-------------------------------------------------------------|
187
+ | <code>半導体といわれる4価の原子であるゲルマニウムとかシリコンを主原料とした真空管に代わる部品。</code> | <code>What is the function of transistor?</code> |
188
+ | <code>シリコンを主原料とした整流子で、そのゲートに信号を加えて導通を制御する。又消イオン時間(ターンオフ時間)も格段に小さい。</code> | <code>SCRの説明は何ですか?</code> |
189
+ | <code>絶縁板に配線回路を印刷し、回路部品を取り付けたもので電子機器に使われコンパクトで互換性がある。</code> | <code>What is the explanation of print circuit board?</code> |
190
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
191
+ ```json
192
+ {
193
+ "scale": 20.0,
194
+ "similarity_fct": "cos_sim"
195
+ }
196
+ ```
197
+
198
+ ### Training Hyperparameters
199
+ #### Non-Default Hyperparameters
200
+
201
+ - `eval_strategy`: steps
202
+ - `per_device_train_batch_size`: 16
203
+ - `per_device_eval_batch_size`: 16
204
+ - `num_train_epochs`: 1
205
+ - `warmup_ratio`: 0.1
206
+ - `fp16`: True
207
+ - `batch_sampler`: no_duplicates
208
+
209
+ #### All Hyperparameters
210
+ <details><summary>Click to expand</summary>
211
+
212
+ - `overwrite_output_dir`: False
213
+ - `do_predict`: False
214
+ - `eval_strategy`: steps
215
+ - `prediction_loss_only`: True
216
+ - `per_device_train_batch_size`: 16
217
+ - `per_device_eval_batch_size`: 16
218
+ - `per_gpu_train_batch_size`: None
219
+ - `per_gpu_eval_batch_size`: None
220
+ - `gradient_accumulation_steps`: 1
221
+ - `eval_accumulation_steps`: None
222
+ - `learning_rate`: 5e-05
223
+ - `weight_decay`: 0.0
224
+ - `adam_beta1`: 0.9
225
+ - `adam_beta2`: 0.999
226
+ - `adam_epsilon`: 1e-08
227
+ - `max_grad_norm`: 1.0
228
+ - `num_train_epochs`: 1
229
+ - `max_steps`: -1
230
+ - `lr_scheduler_type`: linear
231
+ - `lr_scheduler_kwargs`: {}
232
+ - `warmup_ratio`: 0.1
233
+ - `warmup_steps`: 0
234
+ - `log_level`: passive
235
+ - `log_level_replica`: warning
236
+ - `log_on_each_node`: True
237
+ - `logging_nan_inf_filter`: True
238
+ - `save_safetensors`: True
239
+ - `save_on_each_node`: False
240
+ - `save_only_model`: False
241
+ - `restore_callback_states_from_checkpoint`: False
242
+ - `no_cuda`: False
243
+ - `use_cpu`: False
244
+ - `use_mps_device`: False
245
+ - `seed`: 42
246
+ - `data_seed`: None
247
+ - `jit_mode_eval`: False
248
+ - `use_ipex`: False
249
+ - `bf16`: False
250
+ - `fp16`: True
251
+ - `fp16_opt_level`: O1
252
+ - `half_precision_backend`: auto
253
+ - `bf16_full_eval`: False
254
+ - `fp16_full_eval`: False
255
+ - `tf32`: None
256
+ - `local_rank`: 0
257
+ - `ddp_backend`: None
258
+ - `tpu_num_cores`: None
259
+ - `tpu_metrics_debug`: False
260
+ - `debug`: []
261
+ - `dataloader_drop_last`: False
262
+ - `dataloader_num_workers`: 0
263
+ - `dataloader_prefetch_factor`: None
264
+ - `past_index`: -1
265
+ - `disable_tqdm`: False
266
+ - `remove_unused_columns`: True
267
+ - `label_names`: None
268
+ - `load_best_model_at_end`: False
269
+ - `ignore_data_skip`: False
270
+ - `fsdp`: []
271
+ - `fsdp_min_num_params`: 0
272
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
273
+ - `fsdp_transformer_layer_cls_to_wrap`: None
274
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
275
+ - `deepspeed`: None
276
+ - `label_smoothing_factor`: 0.0
277
+ - `optim`: adamw_torch
278
+ - `optim_args`: None
279
+ - `adafactor`: False
280
+ - `group_by_length`: False
281
+ - `length_column_name`: length
282
+ - `ddp_find_unused_parameters`: None
283
+ - `ddp_bucket_cap_mb`: None
284
+ - `ddp_broadcast_buffers`: False
285
+ - `dataloader_pin_memory`: True
286
+ - `dataloader_persistent_workers`: False
287
+ - `skip_memory_metrics`: True
288
+ - `use_legacy_prediction_loop`: False
289
+ - `push_to_hub`: False
290
+ - `resume_from_checkpoint`: None
291
+ - `hub_model_id`: None
292
+ - `hub_strategy`: every_save
293
+ - `hub_private_repo`: False
294
+ - `hub_always_push`: False
295
+ - `gradient_checkpointing`: False
296
+ - `gradient_checkpointing_kwargs`: None
297
+ - `include_inputs_for_metrics`: False
298
+ - `eval_do_concat_batches`: True
299
+ - `fp16_backend`: auto
300
+ - `push_to_hub_model_id`: None
301
+ - `push_to_hub_organization`: None
302
+ - `mp_parameters`:
303
+ - `auto_find_batch_size`: False
304
+ - `full_determinism`: False
305
+ - `torchdynamo`: None
306
+ - `ray_scope`: last
307
+ - `ddp_timeout`: 1800
308
+ - `torch_compile`: False
309
+ - `torch_compile_backend`: None
310
+ - `torch_compile_mode`: None
311
+ - `dispatch_batches`: None
312
+ - `split_batches`: None
313
+ - `include_tokens_per_second`: False
314
+ - `include_num_input_tokens_seen`: False
315
+ - `neftune_noise_alpha`: None
316
+ - `optim_target_modules`: None
317
+ - `batch_eval_metrics`: False
318
+ - `eval_on_start`: False
319
+ - `batch_sampler`: no_duplicates
320
+ - `multi_dataset_batch_sampler`: proportional
321
+
322
+ </details>
323
+
324
+ ### Framework Versions
325
+ - Python: 3.10.0
326
+ - Sentence Transformers: 3.0.1
327
+ - Transformers: 4.42.4
328
+ - PyTorch: 2.3.1+cpu
329
+ - Accelerate: 0.32.1
330
+ - Datasets: 2.20.0
331
+ - Tokenizers: 0.19.1
332
+
333
+ ## Citation
334
+
335
+ ### BibTeX
336
+
337
+ #### Sentence Transformers
338
+ ```bibtex
339
+ @inproceedings{reimers-2019-sentence-bert,
340
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
341
+ author = "Reimers, Nils and Gurevych, Iryna",
342
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
343
+ month = "11",
344
+ year = "2019",
345
+ publisher = "Association for Computational Linguistics",
346
+ url = "https://arxiv.org/abs/1908.10084",
347
+ }
348
+ ```
349
+
350
+ #### MultipleNegativesRankingLoss
351
+ ```bibtex
352
+ @misc{henderson2017efficient,
353
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
354
+ 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},
355
+ year={2017},
356
+ eprint={1705.00652},
357
+ archivePrefix={arXiv},
358
+ primaryClass={cs.CL}
359
+ }
360
+ ```
361
+
362
+ <!--
363
+ ## Glossary
364
+
365
+ *Clearly define terms in order to be accessible across audiences.*
366
+ -->
367
+
368
+ <!--
369
+ ## Model Card Authors
370
+
371
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
372
+ -->
373
+
374
+ <!--
375
+ ## Model Card Contact
376
+
377
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
378
+ -->
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.42.4",
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.42.4",
5
+ "pytorch": "2.3.1+cpu"
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:8ed77e97a1f26beeed5e9504e4d46d0f30db74f9a750090432bfc83d77e7853f
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
+ }
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
+ }