blemond commited on
Commit
d5980c8
·
verified ·
1 Parent(s): 7fcdb07

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,478 @@
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:19380
9
+ - loss:MultipleNegativesRankingLoss
10
+ base_model: intfloat/multilingual-e5-large
11
+ widget:
12
+ - source_sentence: 'query: ASC X.12 는 뭔가요?'
13
+ sentences:
14
+ - 'passage: Accredited Standard Committee X.12'
15
+ - 'passage: BCP Measurement and statistics Handling'
16
+ - 'passage: Bearer Inter Working Function'
17
+ - source_sentence: 'query: BECN 뜻 설명해줘.'
18
+ sentences:
19
+ - 'passage: AU Physical Control Block'
20
+ - 'passage: Backward Explicit Congestion Notification'
21
+ - 'passage: Beginning-Of-Tape Marker'
22
+ - source_sentence: 'query: BMD 뜻 설명해줘.'
23
+ sentences:
24
+ - 'passage: 5th Generation Computer'
25
+ - 'passage: Billing Mediation Device'
26
+ - 'passage: 3 Dimensional Television'
27
+ - source_sentence: 'query: 5GL 는 뭔가요?'
28
+ sentences:
29
+ - 'passage: Antenna Front-end Combiner Unit'
30
+ - 'passage: Authentication Center'
31
+ - 'passage: 5th Generation programming Language'
32
+ - source_sentence: 'query: 무슨 뜻이야 BCHB?'
33
+ sentences:
34
+ - 'passage: Assisted-Global Navigation Satellite System'
35
+ - 'passage: BCP Configuration Handler Block'
36
+ - 'passage: ATM Link Processor'
37
+ pipeline_tag: sentence-similarity
38
+ library_name: sentence-transformers
39
+ metrics:
40
+ - cosine_accuracy@1
41
+ - cosine_accuracy@3
42
+ - cosine_accuracy@5
43
+ - cosine_accuracy@10
44
+ - cosine_precision@1
45
+ - cosine_precision@3
46
+ - cosine_precision@5
47
+ - cosine_precision@10
48
+ - cosine_recall@1
49
+ - cosine_recall@3
50
+ - cosine_recall@5
51
+ - cosine_recall@10
52
+ - cosine_ndcg@10
53
+ - cosine_mrr@10
54
+ - cosine_map@100
55
+ model-index:
56
+ - name: SentenceTransformer based on intfloat/multilingual-e5-large
57
+ results:
58
+ - task:
59
+ type: information-retrieval
60
+ name: Information Retrieval
61
+ dataset:
62
+ name: e5 eval real
63
+ type: e5-eval-real
64
+ metrics:
65
+ - type: cosine_accuracy@1
66
+ value: 0.8415
67
+ name: Cosine Accuracy@1
68
+ - type: cosine_accuracy@3
69
+ value: 0.9715
70
+ name: Cosine Accuracy@3
71
+ - type: cosine_accuracy@5
72
+ value: 0.985
73
+ name: Cosine Accuracy@5
74
+ - type: cosine_accuracy@10
75
+ value: 0.994
76
+ name: Cosine Accuracy@10
77
+ - type: cosine_precision@1
78
+ value: 0.8415
79
+ name: Cosine Precision@1
80
+ - type: cosine_precision@3
81
+ value: 0.3238333333333333
82
+ name: Cosine Precision@3
83
+ - type: cosine_precision@5
84
+ value: 0.19700000000000004
85
+ name: Cosine Precision@5
86
+ - type: cosine_precision@10
87
+ value: 0.09940000000000002
88
+ name: Cosine Precision@10
89
+ - type: cosine_recall@1
90
+ value: 0.8415
91
+ name: Cosine Recall@1
92
+ - type: cosine_recall@3
93
+ value: 0.9715
94
+ name: Cosine Recall@3
95
+ - type: cosine_recall@5
96
+ value: 0.985
97
+ name: Cosine Recall@5
98
+ - type: cosine_recall@10
99
+ value: 0.994
100
+ name: Cosine Recall@10
101
+ - type: cosine_ndcg@10
102
+ value: 0.9288608308614111
103
+ name: Cosine Ndcg@10
104
+ - type: cosine_mrr@10
105
+ value: 0.9068103174603175
106
+ name: Cosine Mrr@10
107
+ - type: cosine_map@100
108
+ value: 0.9070514070699416
109
+ name: Cosine Map@100
110
+ ---
111
+
112
+ # SentenceTransformer based on intfloat/multilingual-e5-large
113
+
114
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [intfloat/multilingual-e5-large](https://huggingface.co/intfloat/multilingual-e5-large) on the train dataset. 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.
115
+
116
+ ## Model Details
117
+
118
+ ### Model Description
119
+ - **Model Type:** Sentence Transformer
120
+ - **Base model:** [intfloat/multilingual-e5-large](https://huggingface.co/intfloat/multilingual-e5-large) <!-- at revision 0dc5580a448e4284468b8909bae50fa925907bc5 -->
121
+ - **Maximum Sequence Length:** 256 tokens
122
+ - **Output Dimensionality:** 1024 dimensions
123
+ - **Similarity Function:** Cosine Similarity
124
+ - **Training Dataset:**
125
+ - train
126
+ <!-- - **Language:** Unknown -->
127
+ <!-- - **License:** Unknown -->
128
+
129
+ ### Model Sources
130
+
131
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
132
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
133
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
134
+
135
+ ### Full Model Architecture
136
+
137
+ ```
138
+ SentenceTransformer(
139
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'XLMRobertaModel'})
140
+ (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})
141
+ (2): Normalize()
142
+ )
143
+ ```
144
+
145
+ ## Usage
146
+
147
+ ### Direct Usage (Sentence Transformers)
148
+
149
+ First install the Sentence Transformers library:
150
+
151
+ ```bash
152
+ pip install -U sentence-transformers
153
+ ```
154
+
155
+ Then you can load this model and run inference.
156
+ ```python
157
+ from sentence_transformers import SentenceTransformer
158
+
159
+ # Download from the 🤗 Hub
160
+ model = SentenceTransformer("sentence_transformers_model_id")
161
+ # Run inference
162
+ sentences = [
163
+ 'query: 무슨 뜻이야 BCHB?',
164
+ 'passage: BCP Configuration Handler Block',
165
+ 'passage: Assisted-Global Navigation Satellite System',
166
+ ]
167
+ embeddings = model.encode(sentences)
168
+ print(embeddings.shape)
169
+ # [3, 1024]
170
+
171
+ # Get the similarity scores for the embeddings
172
+ similarities = model.similarity(embeddings, embeddings)
173
+ print(similarities)
174
+ # tensor([[1.0000, 0.8122, 0.0080],
175
+ # [0.8122, 1.0000, 0.0858],
176
+ # [0.0080, 0.0858, 1.0000]])
177
+ ```
178
+
179
+ <!--
180
+ ### Direct Usage (Transformers)
181
+
182
+ <details><summary>Click to see the direct usage in Transformers</summary>
183
+
184
+ </details>
185
+ -->
186
+
187
+ <!--
188
+ ### Downstream Usage (Sentence Transformers)
189
+
190
+ You can finetune this model on your own dataset.
191
+
192
+ <details><summary>Click to expand</summary>
193
+
194
+ </details>
195
+ -->
196
+
197
+ <!--
198
+ ### Out-of-Scope Use
199
+
200
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
201
+ -->
202
+
203
+ ## Evaluation
204
+
205
+ ### Metrics
206
+
207
+ #### Information Retrieval
208
+
209
+ * Dataset: `e5-eval-real`
210
+ * Evaluated with [<code>InformationRetrievalEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator)
211
+
212
+ | Metric | Value |
213
+ |:--------------------|:-----------|
214
+ | cosine_accuracy@1 | 0.8415 |
215
+ | cosine_accuracy@3 | 0.9715 |
216
+ | cosine_accuracy@5 | 0.985 |
217
+ | cosine_accuracy@10 | 0.994 |
218
+ | cosine_precision@1 | 0.8415 |
219
+ | cosine_precision@3 | 0.3238 |
220
+ | cosine_precision@5 | 0.197 |
221
+ | cosine_precision@10 | 0.0994 |
222
+ | cosine_recall@1 | 0.8415 |
223
+ | cosine_recall@3 | 0.9715 |
224
+ | cosine_recall@5 | 0.985 |
225
+ | cosine_recall@10 | 0.994 |
226
+ | **cosine_ndcg@10** | **0.9289** |
227
+ | cosine_mrr@10 | 0.9068 |
228
+ | cosine_map@100 | 0.9071 |
229
+
230
+ <!--
231
+ ## Bias, Risks and Limitations
232
+
233
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
234
+ -->
235
+
236
+ <!--
237
+ ### Recommendations
238
+
239
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
240
+ -->
241
+
242
+ ## Training Details
243
+
244
+ ### Training Dataset
245
+
246
+ #### train
247
+
248
+ * Dataset: train
249
+ * Size: 19,380 training samples
250
+ * Columns: <code>0</code> and <code>1</code>
251
+ * Approximate statistics based on the first 1000 samples:
252
+ | | 0 | 1 |
253
+ |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
254
+ | type | string | string |
255
+ | details | <ul><li>min: 8 tokens</li><li>mean: 12.34 tokens</li><li>max: 18 tokens</li></ul> | <ul><li>min: 5 tokens</li><li>mean: 10.4 tokens</li><li>max: 30 tokens</li></ul> |
256
+ * Samples:
257
+ | 0 | 1 |
258
+ |:----------------------------------|:-----------------------------------------------------------|
259
+ | <code>query: (e)CSFB 알려줘</code> | <code>passage: (enhanced) Circuit Switched Fallback</code> |
260
+ | <code>query: 1000 BASE 알려줘</code> | <code>passage: 1000 Base Standard</code> |
261
+ | <code>query: 1080i 뜻 설명해줘.</code> | <code>passage: 1080 interlace scan</code> |
262
+ * Loss: [<code>MultipleNegativesRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativesrankingloss) with these parameters:
263
+ ```json
264
+ {
265
+ "scale": 20.0,
266
+ "similarity_fct": "cos_sim",
267
+ "gather_across_devices": false
268
+ }
269
+ ```
270
+
271
+ ### Training Hyperparameters
272
+ #### Non-Default Hyperparameters
273
+
274
+ - `eval_strategy`: steps
275
+ - `per_device_train_batch_size`: 64
276
+ - `per_device_eval_batch_size`: 64
277
+ - `learning_rate`: 1e-05
278
+ - `weight_decay`: 0.01
279
+ - `lr_scheduler_type`: cosine
280
+ - `warmup_ratio`: 0.1
281
+ - `bf16`: True
282
+ - `batch_sampler`: no_duplicates
283
+
284
+ #### All Hyperparameters
285
+ <details><summary>Click to expand</summary>
286
+
287
+ - `overwrite_output_dir`: False
288
+ - `do_predict`: False
289
+ - `eval_strategy`: steps
290
+ - `prediction_loss_only`: True
291
+ - `per_device_train_batch_size`: 64
292
+ - `per_device_eval_batch_size`: 64
293
+ - `per_gpu_train_batch_size`: None
294
+ - `per_gpu_eval_batch_size`: None
295
+ - `gradient_accumulation_steps`: 1
296
+ - `eval_accumulation_steps`: None
297
+ - `torch_empty_cache_steps`: None
298
+ - `learning_rate`: 1e-05
299
+ - `weight_decay`: 0.01
300
+ - `adam_beta1`: 0.9
301
+ - `adam_beta2`: 0.999
302
+ - `adam_epsilon`: 1e-08
303
+ - `max_grad_norm`: 1.0
304
+ - `num_train_epochs`: 3
305
+ - `max_steps`: -1
306
+ - `lr_scheduler_type`: cosine
307
+ - `lr_scheduler_kwargs`: {}
308
+ - `warmup_ratio`: 0.1
309
+ - `warmup_steps`: 0
310
+ - `log_level`: passive
311
+ - `log_level_replica`: warning
312
+ - `log_on_each_node`: True
313
+ - `logging_nan_inf_filter`: True
314
+ - `save_safetensors`: True
315
+ - `save_on_each_node`: False
316
+ - `save_only_model`: False
317
+ - `restore_callback_states_from_checkpoint`: False
318
+ - `no_cuda`: False
319
+ - `use_cpu`: False
320
+ - `use_mps_device`: False
321
+ - `seed`: 42
322
+ - `data_seed`: None
323
+ - `jit_mode_eval`: False
324
+ - `use_ipex`: False
325
+ - `bf16`: True
326
+ - `fp16`: False
327
+ - `fp16_opt_level`: O1
328
+ - `half_precision_backend`: auto
329
+ - `bf16_full_eval`: False
330
+ - `fp16_full_eval`: False
331
+ - `tf32`: None
332
+ - `local_rank`: 0
333
+ - `ddp_backend`: None
334
+ - `tpu_num_cores`: None
335
+ - `tpu_metrics_debug`: False
336
+ - `debug`: []
337
+ - `dataloader_drop_last`: False
338
+ - `dataloader_num_workers`: 0
339
+ - `dataloader_prefetch_factor`: None
340
+ - `past_index`: -1
341
+ - `disable_tqdm`: False
342
+ - `remove_unused_columns`: True
343
+ - `label_names`: None
344
+ - `load_best_model_at_end`: False
345
+ - `ignore_data_skip`: False
346
+ - `fsdp`: []
347
+ - `fsdp_min_num_params`: 0
348
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
349
+ - `fsdp_transformer_layer_cls_to_wrap`: None
350
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
351
+ - `parallelism_config`: None
352
+ - `deepspeed`: None
353
+ - `label_smoothing_factor`: 0.0
354
+ - `optim`: adamw_torch_fused
355
+ - `optim_args`: None
356
+ - `adafactor`: False
357
+ - `group_by_length`: False
358
+ - `length_column_name`: length
359
+ - `ddp_find_unused_parameters`: None
360
+ - `ddp_bucket_cap_mb`: None
361
+ - `ddp_broadcast_buffers`: False
362
+ - `dataloader_pin_memory`: True
363
+ - `dataloader_persistent_workers`: False
364
+ - `skip_memory_metrics`: True
365
+ - `use_legacy_prediction_loop`: False
366
+ - `push_to_hub`: False
367
+ - `resume_from_checkpoint`: None
368
+ - `hub_model_id`: None
369
+ - `hub_strategy`: every_save
370
+ - `hub_private_repo`: None
371
+ - `hub_always_push`: False
372
+ - `hub_revision`: None
373
+ - `gradient_checkpointing`: False
374
+ - `gradient_checkpointing_kwargs`: None
375
+ - `include_inputs_for_metrics`: False
376
+ - `include_for_metrics`: []
377
+ - `eval_do_concat_batches`: True
378
+ - `fp16_backend`: auto
379
+ - `push_to_hub_model_id`: None
380
+ - `push_to_hub_organization`: None
381
+ - `mp_parameters`:
382
+ - `auto_find_batch_size`: False
383
+ - `full_determinism`: False
384
+ - `torchdynamo`: None
385
+ - `ray_scope`: last
386
+ - `ddp_timeout`: 1800
387
+ - `torch_compile`: False
388
+ - `torch_compile_backend`: None
389
+ - `torch_compile_mode`: None
390
+ - `include_tokens_per_second`: False
391
+ - `include_num_input_tokens_seen`: False
392
+ - `neftune_noise_alpha`: None
393
+ - `optim_target_modules`: None
394
+ - `batch_eval_metrics`: False
395
+ - `eval_on_start`: False
396
+ - `use_liger_kernel`: False
397
+ - `liger_kernel_config`: None
398
+ - `eval_use_gather_object`: False
399
+ - `average_tokens_across_devices`: False
400
+ - `prompts`: None
401
+ - `batch_sampler`: no_duplicates
402
+ - `multi_dataset_batch_sampler`: proportional
403
+ - `router_mapping`: {}
404
+ - `learning_rate_mapping`: {}
405
+
406
+ </details>
407
+
408
+ ### Training Logs
409
+ | Epoch | Step | Training Loss | e5-eval-real_cosine_ndcg@10 |
410
+ |:------:|:----:|:-------------:|:---------------------------:|
411
+ | 0.0033 | 1 | 3.477 | - |
412
+ | 0.3300 | 100 | 1.2356 | 0.8716 |
413
+ | 0.6601 | 200 | 0.0998 | 0.9050 |
414
+ | 0.9901 | 300 | 0.0692 | 0.9154 |
415
+ | 1.3201 | 400 | 0.0552 | 0.9156 |
416
+ | 1.6502 | 500 | 0.0366 | 0.9228 |
417
+ | 1.9802 | 600 | 0.0316 | 0.9267 |
418
+ | 2.3102 | 700 | 0.0269 | 0.9281 |
419
+ | 2.6403 | 800 | 0.0206 | 0.9294 |
420
+ | 2.9703 | 900 | 0.0208 | 0.9286 |
421
+ | -1 | -1 | - | 0.9289 |
422
+
423
+
424
+ ### Framework Versions
425
+ - Python: 3.12.11
426
+ - Sentence Transformers: 5.1.0
427
+ - Transformers: 4.56.0
428
+ - PyTorch: 2.8.0+cu126
429
+ - Accelerate: 1.10.1
430
+ - Datasets: 3.6.0
431
+ - Tokenizers: 0.22.0
432
+
433
+ ## Citation
434
+
435
+ ### BibTeX
436
+
437
+ #### Sentence Transformers
438
+ ```bibtex
439
+ @inproceedings{reimers-2019-sentence-bert,
440
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
441
+ author = "Reimers, Nils and Gurevych, Iryna",
442
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
443
+ month = "11",
444
+ year = "2019",
445
+ publisher = "Association for Computational Linguistics",
446
+ url = "https://arxiv.org/abs/1908.10084",
447
+ }
448
+ ```
449
+
450
+ #### MultipleNegativesRankingLoss
451
+ ```bibtex
452
+ @misc{henderson2017efficient,
453
+ title={Efficient Natural Language Response Suggestion for Smart Reply},
454
+ 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},
455
+ year={2017},
456
+ eprint={1705.00652},
457
+ archivePrefix={arXiv},
458
+ primaryClass={cs.CL}
459
+ }
460
+ ```
461
+
462
+ <!--
463
+ ## Glossary
464
+
465
+ *Clearly define terms in order to be accessible across audiences.*
466
+ -->
467
+
468
+ <!--
469
+ ## Model Card Authors
470
+
471
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
472
+ -->
473
+
474
+ <!--
475
+ ## Model Card Contact
476
+
477
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
478
+ -->
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.56.0",
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.0",
5
+ "transformers": "4.56.0",
6
+ "pytorch": "2.8.0+cu126"
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:9756b3845323b51279781ec6441ff0f723f01d114d45194d9f938bd56c20db8e
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": 256,
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:a514807cffabd8abaf028cfaffe7ff0c4f60b97ea2db80c41f14172ae6b018ca
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
+ }