LamaDiab commited on
Commit
8a21ff2
·
verified ·
1 Parent(s): a26a984

Updating model weights

Browse files
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,439 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:704308
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: must kindergarten backpack mermazing 2 cases
13
+ sentences:
14
+ - wide leg popline pants b22
15
+ - ' kindergarten mermazing backpack '
16
+ - bag
17
+ - source_sentence: derby cap toe shoes - brown
18
+ sentences:
19
+ - natural leather shoes
20
+ - shoe
21
+ - 925 sterling silver heart ear studs with genuine european crystals
22
+ - source_sentence: rembrandt's eyes
23
+ sentences:
24
+ - art book
25
+ - ' rembrandt''s eyes book'
26
+ - canvas frame 100% cotton 350 gsm 20 cm triangle m e5303t
27
+ - source_sentence: essence multi task concealer 15 natural nude
28
+ sentences:
29
+ - face make-up
30
+ - ' essence concealer'
31
+ - rowntrees fruit pastilles
32
+ - source_sentence: parker ingenuity ct black lacquer so959210
33
+ sentences:
34
+ - lagu-family barber shop toy
35
+ - ' pen'
36
+ - pen
37
+ pipeline_tag: sentence-similarity
38
+ library_name: sentence-transformers
39
+ metrics:
40
+ - cosine_accuracy
41
+ model-index:
42
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
43
+ results:
44
+ - task:
45
+ type: triplet
46
+ name: Triplet
47
+ dataset:
48
+ name: Unknown
49
+ type: unknown
50
+ metrics:
51
+ - type: cosine_accuracy
52
+ value: 0.9601430296897888
53
+ name: Cosine Accuracy
54
+ ---
55
+
56
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
57
+
58
+ This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2). 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.
59
+
60
+ ## Model Details
61
+
62
+ ### Model Description
63
+ - **Model Type:** Sentence Transformer
64
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
65
+ - **Maximum Sequence Length:** 256 tokens
66
+ - **Output Dimensionality:** 384 dimensions
67
+ - **Similarity Function:** Cosine Similarity
68
+ <!-- - **Training Dataset:** Unknown -->
69
+ <!-- - **Language:** Unknown -->
70
+ <!-- - **License:** Unknown -->
71
+
72
+ ### Model Sources
73
+
74
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
75
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
76
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
77
+
78
+ ### Full Model Architecture
79
+
80
+ ```
81
+ SentenceTransformer(
82
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
83
+ (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})
84
+ (2): Normalize()
85
+ )
86
+ ```
87
+
88
+ ## Usage
89
+
90
+ ### Direct Usage (Sentence Transformers)
91
+
92
+ First install the Sentence Transformers library:
93
+
94
+ ```bash
95
+ pip install -U sentence-transformers
96
+ ```
97
+
98
+ Then you can load this model and run inference.
99
+ ```python
100
+ from sentence_transformers import SentenceTransformer
101
+
102
+ # Download from the 🤗 Hub
103
+ model = SentenceTransformer("LamaDiab/NewMiniLM-V15Data-128BATCH-SemanticEngine")
104
+ # Run inference
105
+ sentences = [
106
+ 'parker ingenuity ct black lacquer so959210',
107
+ ' pen',
108
+ 'lagu-family barber shop toy',
109
+ ]
110
+ embeddings = model.encode(sentences)
111
+ print(embeddings.shape)
112
+ # [3, 384]
113
+
114
+ # Get the similarity scores for the embeddings
115
+ similarities = model.similarity(embeddings, embeddings)
116
+ print(similarities)
117
+ # tensor([[ 1.0000, 0.2524, -0.0132],
118
+ # [ 0.2524, 1.0000, 0.1220],
119
+ # [-0.0132, 0.1220, 1.0000]])
120
+ ```
121
+
122
+ <!--
123
+ ### Direct Usage (Transformers)
124
+
125
+ <details><summary>Click to see the direct usage in Transformers</summary>
126
+
127
+ </details>
128
+ -->
129
+
130
+ <!--
131
+ ### Downstream Usage (Sentence Transformers)
132
+
133
+ You can finetune this model on your own dataset.
134
+
135
+ <details><summary>Click to expand</summary>
136
+
137
+ </details>
138
+ -->
139
+
140
+ <!--
141
+ ### Out-of-Scope Use
142
+
143
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
144
+ -->
145
+
146
+ ## Evaluation
147
+
148
+ ### Metrics
149
+
150
+ #### Triplet
151
+
152
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
153
+
154
+ | Metric | Value |
155
+ |:--------------------|:-----------|
156
+ | **cosine_accuracy** | **0.9601** |
157
+
158
+ <!--
159
+ ## Bias, Risks and Limitations
160
+
161
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
162
+ -->
163
+
164
+ <!--
165
+ ### Recommendations
166
+
167
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
168
+ -->
169
+
170
+ ## Training Details
171
+
172
+ ### Training Dataset
173
+
174
+ #### Unnamed Dataset
175
+
176
+ * Size: 704,308 training samples
177
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>itemCategory</code>
178
+ * Approximate statistics based on the first 1000 samples:
179
+ | | anchor | positive | itemCategory |
180
+ |:--------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
181
+ | type | string | string | string |
182
+ | details | <ul><li>min: 3 tokens</li><li>mean: 8.06 tokens</li><li>max: 41 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 5.35 tokens</li><li>max: 97 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.93 tokens</li><li>max: 9 tokens</li></ul> |
183
+ * Samples:
184
+ | anchor | positive | itemCategory |
185
+ |:-------------------------------------------------------------|:--------------------------------------------------|:-------------------------------------|
186
+ | <code>rilastil sunlaude comfort dye fluid spf50 50 ml</code> | <code>spf50 sunscreen</code> | <code>sunscreen</code> |
187
+ | <code>lemon and powder leather slippers</code> | <code>genuine cow leather</code> | <code>slipper</code> |
188
+ | <code>erastapex trio</code> | <code>erastapex trio olmesartan medoxomil</code> | <code>blood disorder medicine</code> |
189
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
190
+ ```json
191
+ {
192
+ "scale": 20.0,
193
+ "similarity_fct": "cos_sim",
194
+ "gather_across_devices": false
195
+ }
196
+ ```
197
+
198
+ ### Evaluation Dataset
199
+
200
+ #### Unnamed Dataset
201
+
202
+ * Size: 9,509 evaluation samples
203
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, and <code>itemCategory</code>
204
+ * Approximate statistics based on the first 1000 samples:
205
+ | | anchor | positive | negative | itemCategory |
206
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
207
+ | type | string | string | string | string |
208
+ | details | <ul><li>min: 3 tokens</li><li>mean: 9.63 tokens</li><li>max: 43 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 6.17 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.79 tokens</li><li>max: 41 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.88 tokens</li><li>max: 10 tokens</li></ul> |
209
+ * Samples:
210
+ | anchor | positive | negative | itemCategory |
211
+ |:---------------------------------------------------------------------|:----------------------------------|:----------------------------------------------------------|:------------------------------------|
212
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code>0.7 mm pencil</code> | <code>tracing sketch a3 70 gr 50 sheets</code> | <code>pencil</code> |
213
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code> marker pen set </code> | <code>wunder chocolate strawberry ganache & coulis</code> | <code>marker</code> |
214
+ | <code>first person singular author: haruki murakami</code> | <code>haruki murakami book</code> | <code>dark hot chocolate sugar free</code> | <code>literature and fiction</code> |
215
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
216
+ ```json
217
+ {
218
+ "scale": 20.0,
219
+ "similarity_fct": "cos_sim",
220
+ "gather_across_devices": false
221
+ }
222
+ ```
223
+
224
+ ### Training Hyperparameters
225
+ #### Non-Default Hyperparameters
226
+
227
+ - `eval_strategy`: steps
228
+ - `per_device_train_batch_size`: 128
229
+ - `per_device_eval_batch_size`: 128
230
+ - `weight_decay`: 0.001
231
+ - `num_train_epochs`: 5
232
+ - `warmup_ratio`: 0.2
233
+ - `fp16`: True
234
+ - `dataloader_num_workers`: 1
235
+ - `dataloader_prefetch_factor`: 2
236
+ - `dataloader_persistent_workers`: True
237
+ - `push_to_hub`: True
238
+ - `hub_model_id`: LamaDiab/NewMiniLM-V15Data-128BATCH-SemanticEngine
239
+ - `hub_strategy`: all_checkpoints
240
+
241
+ #### All Hyperparameters
242
+ <details><summary>Click to expand</summary>
243
+
244
+ - `overwrite_output_dir`: False
245
+ - `do_predict`: False
246
+ - `eval_strategy`: steps
247
+ - `prediction_loss_only`: True
248
+ - `per_device_train_batch_size`: 128
249
+ - `per_device_eval_batch_size`: 128
250
+ - `per_gpu_train_batch_size`: None
251
+ - `per_gpu_eval_batch_size`: None
252
+ - `gradient_accumulation_steps`: 1
253
+ - `eval_accumulation_steps`: None
254
+ - `torch_empty_cache_steps`: None
255
+ - `learning_rate`: 5e-05
256
+ - `weight_decay`: 0.001
257
+ - `adam_beta1`: 0.9
258
+ - `adam_beta2`: 0.999
259
+ - `adam_epsilon`: 1e-08
260
+ - `max_grad_norm`: 1.0
261
+ - `num_train_epochs`: 5
262
+ - `max_steps`: -1
263
+ - `lr_scheduler_type`: linear
264
+ - `lr_scheduler_kwargs`: {}
265
+ - `warmup_ratio`: 0.2
266
+ - `warmup_steps`: 0
267
+ - `log_level`: passive
268
+ - `log_level_replica`: warning
269
+ - `log_on_each_node`: True
270
+ - `logging_nan_inf_filter`: True
271
+ - `save_safetensors`: True
272
+ - `save_on_each_node`: False
273
+ - `save_only_model`: False
274
+ - `restore_callback_states_from_checkpoint`: False
275
+ - `no_cuda`: False
276
+ - `use_cpu`: False
277
+ - `use_mps_device`: False
278
+ - `seed`: 42
279
+ - `data_seed`: None
280
+ - `jit_mode_eval`: False
281
+ - `use_ipex`: False
282
+ - `bf16`: False
283
+ - `fp16`: True
284
+ - `fp16_opt_level`: O1
285
+ - `half_precision_backend`: auto
286
+ - `bf16_full_eval`: False
287
+ - `fp16_full_eval`: False
288
+ - `tf32`: None
289
+ - `local_rank`: 0
290
+ - `ddp_backend`: None
291
+ - `tpu_num_cores`: None
292
+ - `tpu_metrics_debug`: False
293
+ - `debug`: []
294
+ - `dataloader_drop_last`: False
295
+ - `dataloader_num_workers`: 1
296
+ - `dataloader_prefetch_factor`: 2
297
+ - `past_index`: -1
298
+ - `disable_tqdm`: False
299
+ - `remove_unused_columns`: True
300
+ - `label_names`: None
301
+ - `load_best_model_at_end`: False
302
+ - `ignore_data_skip`: False
303
+ - `fsdp`: []
304
+ - `fsdp_min_num_params`: 0
305
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
306
+ - `fsdp_transformer_layer_cls_to_wrap`: None
307
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
308
+ - `deepspeed`: None
309
+ - `label_smoothing_factor`: 0.0
310
+ - `optim`: adamw_torch
311
+ - `optim_args`: None
312
+ - `adafactor`: False
313
+ - `group_by_length`: False
314
+ - `length_column_name`: length
315
+ - `ddp_find_unused_parameters`: None
316
+ - `ddp_bucket_cap_mb`: None
317
+ - `ddp_broadcast_buffers`: False
318
+ - `dataloader_pin_memory`: True
319
+ - `dataloader_persistent_workers`: True
320
+ - `skip_memory_metrics`: True
321
+ - `use_legacy_prediction_loop`: False
322
+ - `push_to_hub`: True
323
+ - `resume_from_checkpoint`: None
324
+ - `hub_model_id`: LamaDiab/NewMiniLM-V15Data-128BATCH-SemanticEngine
325
+ - `hub_strategy`: all_checkpoints
326
+ - `hub_private_repo`: None
327
+ - `hub_always_push`: False
328
+ - `hub_revision`: None
329
+ - `gradient_checkpointing`: False
330
+ - `gradient_checkpointing_kwargs`: None
331
+ - `include_inputs_for_metrics`: False
332
+ - `include_for_metrics`: []
333
+ - `eval_do_concat_batches`: True
334
+ - `fp16_backend`: auto
335
+ - `push_to_hub_model_id`: None
336
+ - `push_to_hub_organization`: None
337
+ - `mp_parameters`:
338
+ - `auto_find_batch_size`: False
339
+ - `full_determinism`: False
340
+ - `torchdynamo`: None
341
+ - `ray_scope`: last
342
+ - `ddp_timeout`: 1800
343
+ - `torch_compile`: False
344
+ - `torch_compile_backend`: None
345
+ - `torch_compile_mode`: None
346
+ - `include_tokens_per_second`: False
347
+ - `include_num_input_tokens_seen`: False
348
+ - `neftune_noise_alpha`: None
349
+ - `optim_target_modules`: None
350
+ - `batch_eval_metrics`: False
351
+ - `eval_on_start`: False
352
+ - `use_liger_kernel`: False
353
+ - `liger_kernel_config`: None
354
+ - `eval_use_gather_object`: False
355
+ - `average_tokens_across_devices`: False
356
+ - `prompts`: None
357
+ - `batch_sampler`: batch_sampler
358
+ - `multi_dataset_batch_sampler`: proportional
359
+ - `router_mapping`: {}
360
+ - `learning_rate_mapping`: {}
361
+
362
+ </details>
363
+
364
+ ### Training Logs
365
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
366
+ |:------:|:-----:|:-------------:|:---------------:|:---------------:|
367
+ | 0.0002 | 1 | 3.1229 | - | - |
368
+ | 0.1817 | 1000 | 2.6857 | 1.6310 | 0.9441 |
369
+ | 0.3634 | 2000 | 2.0541 | 1.5448 | 0.9472 |
370
+ | 0.5452 | 3000 | 1.7335 | 1.5236 | 0.9485 |
371
+ | 0.7269 | 4000 | 1.2495 | 1.5552 | 0.9433 |
372
+ | 0.9086 | 5000 | 0.813 | 1.5794 | 0.9472 |
373
+ | 1.0903 | 6000 | 1.0512 | 1.4544 | 0.9567 |
374
+ | 1.2720 | 7000 | 1.2912 | 1.4492 | 0.9563 |
375
+ | 1.4538 | 8000 | 1.1994 | 1.4519 | 0.9568 |
376
+ | 1.6355 | 9000 | 1.0662 | 1.4635 | 0.9545 |
377
+ | 1.8172 | 10000 | 0.6724 | 1.5717 | 0.9454 |
378
+ | 1.9989 | 11000 | 0.4761 | 1.5509 | 0.9503 |
379
+ | 2.1806 | 12000 | 1.0468 | 1.4510 | 0.9591 |
380
+ | 2.3623 | 13000 | 0.9871 | 1.4625 | 0.9608 |
381
+ | 2.5441 | 14000 | 0.9596 | 1.4531 | 0.9606 |
382
+ | 2.7258 | 15000 | 0.7272 | 1.4685 | 0.9589 |
383
+ | 2.9075 | 16000 | 0.4716 | 1.5063 | 0.9549 |
384
+ | 3.0892 | 17000 | 0.6495 | 1.4401 | 0.9626 |
385
+ | 3.2709 | 18000 | 0.8911 | 1.4418 | 0.9642 |
386
+ | 3.4527 | 19000 | 0.871 | 1.4658 | 0.9635 |
387
+ | 3.6344 | 20000 | 0.8008 | 1.4879 | 0.9594 |
388
+ | 3.8161 | 21000 | 0.5084 | 1.4949 | 0.9579 |
389
+ | 3.9978 | 22000 | 0.3552 | 1.5567 | 0.9568 |
390
+ | 4.1795 | 23000 | 0.8254 | 1.4609 | 0.9651 |
391
+ | 4.3613 | 24000 | 0.8164 | 1.4704 | 0.9641 |
392
+ | 4.5430 | 25000 | 0.8078 | 1.4598 | 0.9635 |
393
+ | 4.7247 | 26000 | 0.6181 | 1.4891 | 0.9602 |
394
+ | 4.9064 | 27000 | 0.3932 | 1.4990 | 0.9601 |
395
+
396
+
397
+ ### Framework Versions
398
+ - Python: 3.11.13
399
+ - Sentence Transformers: 5.1.2
400
+ - Transformers: 4.53.3
401
+ - PyTorch: 2.6.0+cu124
402
+ - Accelerate: 1.9.0
403
+ - Datasets: 4.4.1
404
+ - Tokenizers: 0.21.2
405
+
406
+ ## Citation
407
+
408
+ ### BibTeX
409
+
410
+ #### Sentence Transformers
411
+ ```bibtex
412
+ @inproceedings{reimers-2019-sentence-bert,
413
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
414
+ author = "Reimers, Nils and Gurevych, Iryna",
415
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
416
+ month = "11",
417
+ year = "2019",
418
+ publisher = "Association for Computational Linguistics",
419
+ url = "https://arxiv.org/abs/1908.10084",
420
+ }
421
+ ```
422
+
423
+ <!--
424
+ ## Glossary
425
+
426
+ *Clearly define terms in order to be accessible across audiences.*
427
+ -->
428
+
429
+ <!--
430
+ ## Model Card Authors
431
+
432
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
433
+ -->
434
+
435
+ <!--
436
+ ## Model Card Contact
437
+
438
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
439
+ -->
config_sentence_transformers.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "__version__": {
3
+ "sentence_transformers": "5.1.2",
4
+ "transformers": "4.53.3",
5
+ "pytorch": "2.6.0+cu124"
6
+ },
7
+ "model_type": "SentenceTransformer",
8
+ "prompts": {
9
+ "query": "",
10
+ "document": ""
11
+ },
12
+ "default_prompt_name": null,
13
+ "similarity_fn_name": "cosine"
14
+ }
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
+ }