leochuang commited on
Commit
9a70df1
·
verified ·
1 Parent(s): ca37d9f

Upload folder using huggingface_hub

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 CHANGED
@@ -1,3 +1,350 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:68541
9
+ - loss:EpochLossWrapper
10
+ base_model: intfloat/multilingual-e5-large
11
+ widget:
12
+ - source_sentence: 'query: ACER 宏碁 SA243Y G0B 護眼螢幕(24型/FHD/120Hz/1ms/IPS)'
13
+ sentences:
14
+ - 'passage: 【尚朋堂】專業型電烤箱SO-459I'
15
+ - 'passage: 【Acer 宏碁】KA242Y G0 24型護眼螢幕(23.8吋/FHD/120Hz/1ms/IPS/喇叭)'
16
+ - 'passage: 台灣出貨 瑜珈墊 瑜伽墊(加厚20mm 贈送收納袋+綁帶 健身墊 SGS檢測瑜珈墊 NBR環保瑜珈墊 運動墊 15mm)'
17
+ - source_sentence: 'query: Seagate 希捷 One Touch Hub 10TB 超大容量硬碟 (STLC10000400)'
18
+ sentences:
19
+ - 'passage: 【Pets Galaxy 珮慈星系】寵物推車 狗狗推車 貓咪推車 狗推車 寵物外出 貓推車 可拆可折疊 多貓多狗適用 透氣大空間 雙層寵物推車'
20
+ - 'passage: 【SEAGATE 希捷】One Touch Hub 8TB 3.5吋外接硬碟(STLC8000400)'
21
+ - 'passage: 【Nintendo 任天堂】預購 NS2 任天堂 Switch2《 薩爾達無雙 封印戰記 》中文一般版 遊戲片 11/6發售'
22
+ - source_sentence: 'query: SONY 索尼 BRAVIA 3 75吋 X1 4K HDR Google TV 顯示器 Y-75S30'
23
+ sentences:
24
+ - 'passage: 【Panasonic 國際牌】★新版★日本製5-8坪 調光調色吸頂燈 經典白(新版LGC61201A09 非舊版LGC61101A09)'
25
+ - 'passage: 【Logitech 羅技】K380s 跨平台藍牙鍵盤(石墨灰)'
26
+ - 'passage: 【Panasonic 國際牌】75型4K HDR Google TV聯網顯示器 無視訊盒(TN-75W80BGT)'
27
+ - source_sentence: 'query: ACER 宏碁 EK241Y G 護眼螢幕(24型/FHD/120Hz/1ms/IPS)'
28
+ sentences:
29
+ - 'passage: 【Acer 宏碁】E271 G0 電腦螢幕(27型/FHD/120Hz/5ms/IPS)'
30
+ - 'passage: 【魔術靈】殺菌瞬潔馬桶清潔劑(500ml)'
31
+ - 'passage: 【陳傑憲代言 TECO 東元】6L 一級能效除濕機(MD1233W)'
32
+ - source_sentence: 'query: iRobot 【美國機器人】Roomba 105 Combo 掃拖機器人 送 Roomba Combo Essentail
33
+ 掃拖機器人'
34
+ sentences:
35
+ - 'passage: 【CHANEL 香奈兒】ALLURE男性運動淡香水(50ml-國際航空版)'
36
+ - 'passage: 【LG 樂金】家電速配15公斤+10公斤〔Wash & Dryer〕免曬衣乾衣機+WiFi蒸洗脫變頻滾筒洗衣機-白(WD-S15NW+WR'
37
+ - 'passage: 【iRobot】特談 Roomba Combo Essential 掃拖機器人(18倍吸力/超薄8公分/3段吸力水量/電力110分)'
38
+ pipeline_tag: sentence-similarity
39
+ library_name: sentence-transformers
40
+ ---
41
+
42
+ # SentenceTransformer based on intfloat/multilingual-e5-large
43
+
44
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-large](https://huggingface.co/intfloat/multilingual-e5-large). 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:** [intfloat/multilingual-e5-large](https://huggingface.co/intfloat/multilingual-e5-large) <!-- at revision 0dc5580a448e4284468b8909bae50fa925907bc5 -->
51
+ - **Maximum Sequence Length:** 128 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': 128, 'do_lower_case': False, 'architecture': '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
+ (2): Normalize()
71
+ )
72
+ ```
73
+
74
+ ## Usage
75
+
76
+ ### Direct Usage (Sentence Transformers)
77
+
78
+ First install the Sentence Transformers library:
79
+
80
+ ```bash
81
+ pip install -U sentence-transformers
82
+ ```
83
+
84
+ Then you can load this model and run inference.
85
+ ```python
86
+ from sentence_transformers import SentenceTransformer
87
+
88
+ # Download from the 🤗 Hub
89
+ model = SentenceTransformer("sentence_transformers_model_id")
90
+ # Run inference
91
+ sentences = [
92
+ 'query: iRobot 【美國機器人】Roomba 105 Combo 掃拖機器人 送 Roomba Combo Essentail 掃拖機器人',
93
+ 'passage: 【iRobot】特談 Roomba Combo Essential 掃拖機器人(18倍吸力/超薄8公分/3段吸力水量/電力110分)',
94
+ 'passage: 【CHANEL 香奈兒】ALLURE男性運動淡香水(50ml-國際航空版)',
95
+ ]
96
+ embeddings = model.encode(sentences)
97
+ print(embeddings.shape)
98
+ # [3, 1024]
99
+
100
+ # Get the similarity scores for the embeddings
101
+ similarities = model.similarity(embeddings, embeddings)
102
+ print(similarities)
103
+ # tensor([[1.0000, 0.4818, 0.0740],
104
+ # [0.4818, 1.0000, 0.1612],
105
+ # [0.0740, 0.1612, 1.0000]])
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
+ * Size: 68,541 training samples
151
+ * Columns: <code>sentence_0</code>, <code>sentence_1</code>, and <code>label</code>
152
+ * Approximate statistics based on the first 1000 samples:
153
+ | | sentence_0 | sentence_1 | label |
154
+ |:--------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------|:-----------------------------------------------|
155
+ | type | string | string | int |
156
+ | details | <ul><li>min: 9 tokens</li><li>mean: 29.86 tokens</li><li>max: 56 tokens</li></ul> | <ul><li>min: 15 tokens</li><li>mean: 34.55 tokens</li><li>max: 63 tokens</li></ul> | <ul><li>0: ~95.20%</li><li>1: ~4.80%</li></ul> |
157
+ * Samples:
158
+ | sentence_0 | sentence_1 | label |
159
+ |:------------------------------------------------------------------|:--------------------------------------------------------------------------------------------|:---------------|
160
+ | <code>query: ATEX Lourdes MINI220口袋型筋膜按摩槍 AX-HX336 /不求人筋膜槍</code> | <code>passage: 【HOME GYM CLUB】KH-320筋膜槍 按摩槍 舒緩壓力按摩槍 震動按摩槍 筋膜按摩槍 運動按摩器(筋膜槍 按摩槍 運動按摩器)</code> | <code>0</code> |
161
+ | <code>query: QMAT 10mm厚瑜珈墊 台灣製(附贈瑜珈繩揹帶及收納拉鍊袋 雙面雙壓紋止滑)</code> | <code>passage: 【TAIMAT】吠陀天然橡膠瑜伽墊(台灣製造 附贈簡易揹帶)</code> | <code>0</code> |
162
+ | <code>query: 數位相機 數位相機 隨身入門級拍照攝影 卡片機 旅遊便攜 高清自拍照相機</code> | <code>passage: 【優品生活館】數碼相機(相機 數位相機 照相機 高清錄像 學生相機 家用相機 專業日本芯片)</code> | <code>0</code> |
163
+ * Loss: <code>__main__.EpochLossWrapper</code>
164
+
165
+ ### Training Hyperparameters
166
+ #### Non-Default Hyperparameters
167
+
168
+ - `eval_strategy`: steps
169
+ - `per_device_train_batch_size`: 64
170
+ - `per_device_eval_batch_size`: 64
171
+ - `num_train_epochs`: 15
172
+ - `fp16`: True
173
+ - `multi_dataset_batch_sampler`: round_robin
174
+
175
+ #### All Hyperparameters
176
+ <details><summary>Click to expand</summary>
177
+
178
+ - `overwrite_output_dir`: False
179
+ - `do_predict`: False
180
+ - `eval_strategy`: steps
181
+ - `prediction_loss_only`: True
182
+ - `per_device_train_batch_size`: 64
183
+ - `per_device_eval_batch_size`: 64
184
+ - `per_gpu_train_batch_size`: None
185
+ - `per_gpu_eval_batch_size`: None
186
+ - `gradient_accumulation_steps`: 1
187
+ - `eval_accumulation_steps`: None
188
+ - `torch_empty_cache_steps`: None
189
+ - `learning_rate`: 5e-05
190
+ - `weight_decay`: 0.0
191
+ - `adam_beta1`: 0.9
192
+ - `adam_beta2`: 0.999
193
+ - `adam_epsilon`: 1e-08
194
+ - `max_grad_norm`: 1
195
+ - `num_train_epochs`: 15
196
+ - `max_steps`: -1
197
+ - `lr_scheduler_type`: linear
198
+ - `lr_scheduler_kwargs`: {}
199
+ - `warmup_ratio`: 0.0
200
+ - `warmup_steps`: 0
201
+ - `log_level`: passive
202
+ - `log_level_replica`: warning
203
+ - `log_on_each_node`: True
204
+ - `logging_nan_inf_filter`: True
205
+ - `save_safetensors`: True
206
+ - `save_on_each_node`: False
207
+ - `save_only_model`: False
208
+ - `restore_callback_states_from_checkpoint`: False
209
+ - `no_cuda`: False
210
+ - `use_cpu`: False
211
+ - `use_mps_device`: False
212
+ - `seed`: 42
213
+ - `data_seed`: None
214
+ - `jit_mode_eval`: False
215
+ - `bf16`: False
216
+ - `fp16`: True
217
+ - `fp16_opt_level`: O1
218
+ - `half_precision_backend`: auto
219
+ - `bf16_full_eval`: False
220
+ - `fp16_full_eval`: False
221
+ - `tf32`: None
222
+ - `local_rank`: 0
223
+ - `ddp_backend`: None
224
+ - `tpu_num_cores`: None
225
+ - `tpu_metrics_debug`: False
226
+ - `debug`: []
227
+ - `dataloader_drop_last`: False
228
+ - `dataloader_num_workers`: 0
229
+ - `dataloader_prefetch_factor`: None
230
+ - `past_index`: -1
231
+ - `disable_tqdm`: False
232
+ - `remove_unused_columns`: True
233
+ - `label_names`: None
234
+ - `load_best_model_at_end`: False
235
+ - `ignore_data_skip`: False
236
+ - `fsdp`: []
237
+ - `fsdp_min_num_params`: 0
238
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
239
+ - `fsdp_transformer_layer_cls_to_wrap`: None
240
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
241
+ - `parallelism_config`: None
242
+ - `deepspeed`: None
243
+ - `label_smoothing_factor`: 0.0
244
+ - `optim`: adamw_torch_fused
245
+ - `optim_args`: None
246
+ - `adafactor`: False
247
+ - `group_by_length`: False
248
+ - `length_column_name`: length
249
+ - `project`: huggingface
250
+ - `trackio_space_id`: trackio
251
+ - `ddp_find_unused_parameters`: None
252
+ - `ddp_bucket_cap_mb`: None
253
+ - `ddp_broadcast_buffers`: False
254
+ - `dataloader_pin_memory`: True
255
+ - `dataloader_persistent_workers`: False
256
+ - `skip_memory_metrics`: True
257
+ - `use_legacy_prediction_loop`: False
258
+ - `push_to_hub`: False
259
+ - `resume_from_checkpoint`: None
260
+ - `hub_model_id`: None
261
+ - `hub_strategy`: every_save
262
+ - `hub_private_repo`: None
263
+ - `hub_always_push`: False
264
+ - `hub_revision`: None
265
+ - `gradient_checkpointing`: False
266
+ - `gradient_checkpointing_kwargs`: None
267
+ - `include_inputs_for_metrics`: False
268
+ - `include_for_metrics`: []
269
+ - `eval_do_concat_batches`: True
270
+ - `fp16_backend`: auto
271
+ - `push_to_hub_model_id`: None
272
+ - `push_to_hub_organization`: None
273
+ - `mp_parameters`:
274
+ - `auto_find_batch_size`: False
275
+ - `full_determinism`: False
276
+ - `torchdynamo`: None
277
+ - `ray_scope`: last
278
+ - `ddp_timeout`: 1800
279
+ - `torch_compile`: False
280
+ - `torch_compile_backend`: None
281
+ - `torch_compile_mode`: None
282
+ - `include_tokens_per_second`: False
283
+ - `include_num_input_tokens_seen`: no
284
+ - `neftune_noise_alpha`: None
285
+ - `optim_target_modules`: None
286
+ - `batch_eval_metrics`: False
287
+ - `eval_on_start`: False
288
+ - `use_liger_kernel`: False
289
+ - `liger_kernel_config`: None
290
+ - `eval_use_gather_object`: False
291
+ - `average_tokens_across_devices`: True
292
+ - `prompts`: None
293
+ - `batch_sampler`: batch_sampler
294
+ - `multi_dataset_batch_sampler`: round_robin
295
+ - `router_mapping`: {}
296
+ - `learning_rate_mapping`: {}
297
+
298
+ </details>
299
+
300
+ ### Training Logs
301
+ | Epoch | Step | Training Loss |
302
+ |:------:|:----:|:-------------:|
303
+ | 0.4669 | 500 | 0.013 |
304
+ | 0.9337 | 1000 | 0.0034 |
305
+ | 1.0 | 1071 | - |
306
+
307
+
308
+ ### Framework Versions
309
+ - Python: 3.11.14
310
+ - Sentence Transformers: 5.1.1
311
+ - Transformers: 4.57.1
312
+ - PyTorch: 2.9.0+cu128
313
+ - Accelerate: 1.10.1
314
+ - Datasets: 4.2.0
315
+ - Tokenizers: 0.22.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
+ <!--
335
+ ## Glossary
336
+
337
+ *Clearly define terms in order to be accessible across audiences.*
338
+ -->
339
+
340
+ <!--
341
+ ## Model Card Authors
342
+
343
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
344
+ -->
345
+
346
+ <!--
347
+ ## Model Card Contact
348
+
349
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
350
+ -->
config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "XLMRobertaModel"
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
+ "initializer_range": 0.02,
14
+ "intermediate_size": 4096,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 514,
17
+ "model_type": "xlm-roberta",
18
+ "num_attention_heads": 16,
19
+ "num_hidden_layers": 24,
20
+ "output_past": true,
21
+ "pad_token_id": 1,
22
+ "position_embedding_type": "absolute",
23
+ "transformers_version": "4.57.1",
24
+ "type_vocab_size": 1,
25
+ "use_cache": true,
26
+ "vocab_size": 250002
27
+ }
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "SentenceTransformer",
3
+ "__version__": {
4
+ "sentence_transformers": "5.1.1",
5
+ "transformers": "4.57.1",
6
+ "pytorch": "2.9.0+cu128"
7
+ },
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:2dce1d7a5808f194cc0f1601001c180e5bf69aee3463b35d6ab48469ea9e6040
3
+ size 2239607176
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": 128,
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": 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:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
3
+ size 17082987
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
+ "extra_special_tokens": {},
49
+ "mask_token": "<mask>",
50
+ "model_max_length": 512,
51
+ "pad_token": "<pad>",
52
+ "sep_token": "</s>",
53
+ "tokenizer_class": "XLMRobertaTokenizer",
54
+ "unk_token": "<unk>"
55
+ }