LamaDiab commited on
Commit
ca80593
·
verified ·
1 Parent(s): 3a0fcd5

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,431 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - sentence-transformers
4
+ - sentence-similarity
5
+ - feature-extraction
6
+ - dense
7
+ - generated_from_trainer
8
+ - dataset_size:790993
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: essence multi task concealer 15 natural nude
13
+ sentences:
14
+ - face make-up
15
+ - adidas men shower gel 3 in 1
16
+ - health_beauty
17
+ - beauty
18
+ - ' essence multi task concealer'
19
+ - source_sentence: chillax fluffy beanbag
20
+ sentences:
21
+ - 60410 fire rescue motorcycle v
22
+ - living room furniture
23
+ - home and garden
24
+ - ' fluffy beanbag'
25
+ - home_garden
26
+ - source_sentence: must kindergarten backpack mermazing 2 cases
27
+ sentences:
28
+ - school supplies
29
+ - bag
30
+ - sage navy blue
31
+ - fashion
32
+ - fashion
33
+ - source_sentence: true gold feeding bottle with handle 270 ml 2024144
34
+ sentences:
35
+ - sanita bambi tom&jerry 2(s)(3-6k)64pcs#
36
+ - ' handle bottle '
37
+ - kids_toys
38
+ - baby bottle
39
+ - kids
40
+ - source_sentence: y earrings
41
+ sentences:
42
+ - marbella
43
+ - fashion
44
+ - gold earrings
45
+ - fashion
46
+ - earring
47
+ pipeline_tag: sentence-similarity
48
+ library_name: sentence-transformers
49
+ metrics:
50
+ - cosine_accuracy
51
+ model-index:
52
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
53
+ results:
54
+ - task:
55
+ type: triplet
56
+ name: Triplet
57
+ dataset:
58
+ name: Unknown
59
+ type: unknown
60
+ metrics:
61
+ - type: cosine_accuracy
62
+ value: 0.968766450881958
63
+ name: Cosine Accuracy
64
+ ---
65
+
66
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
67
+
68
+ 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.
69
+
70
+ ## Model Details
71
+
72
+ ### Model Description
73
+ - **Model Type:** Sentence Transformer
74
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
75
+ - **Maximum Sequence Length:** 256 tokens
76
+ - **Output Dimensionality:** 384 dimensions
77
+ - **Similarity Function:** Cosine Similarity
78
+ <!-- - **Training Dataset:** Unknown -->
79
+ <!-- - **Language:** Unknown -->
80
+ <!-- - **License:** Unknown -->
81
+
82
+ ### Model Sources
83
+
84
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
85
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
86
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
87
+
88
+ ### Full Model Architecture
89
+
90
+ ```
91
+ SentenceTransformer(
92
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
93
+ (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})
94
+ (2): Normalize()
95
+ )
96
+ ```
97
+
98
+ ## Usage
99
+
100
+ ### Direct Usage (Sentence Transformers)
101
+
102
+ First install the Sentence Transformers library:
103
+
104
+ ```bash
105
+ pip install -U sentence-transformers
106
+ ```
107
+
108
+ Then you can load this model and run inference.
109
+ ```python
110
+ from sentence_transformers import SentenceTransformer
111
+
112
+ # Download from the 🤗 Hub
113
+ model = SentenceTransformer("LamaDiab/MiniLM-v27-SemanticEngine")
114
+ # Run inference
115
+ sentences = [
116
+ 'y earrings',
117
+ 'gold earrings',
118
+ 'marbella',
119
+ ]
120
+ embeddings = model.encode(sentences)
121
+ print(embeddings.shape)
122
+ # [3, 384]
123
+
124
+ # Get the similarity scores for the embeddings
125
+ similarities = model.similarity(embeddings, embeddings)
126
+ print(similarities)
127
+ # tensor([[1.0000, 0.8604, 0.3573],
128
+ # [0.8604, 1.0000, 0.3703],
129
+ # [0.3573, 0.3703, 1.0000]])
130
+ ```
131
+
132
+ <!--
133
+ ### Direct Usage (Transformers)
134
+
135
+ <details><summary>Click to see the direct usage in Transformers</summary>
136
+
137
+ </details>
138
+ -->
139
+
140
+ <!--
141
+ ### Downstream Usage (Sentence Transformers)
142
+
143
+ You can finetune this model on your own dataset.
144
+
145
+ <details><summary>Click to expand</summary>
146
+
147
+ </details>
148
+ -->
149
+
150
+ <!--
151
+ ### Out-of-Scope Use
152
+
153
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
154
+ -->
155
+
156
+ ## Evaluation
157
+
158
+ ### Metrics
159
+
160
+ #### Triplet
161
+
162
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
163
+
164
+ | Metric | Value |
165
+ |:--------------------|:-----------|
166
+ | **cosine_accuracy** | **0.9688** |
167
+
168
+ <!--
169
+ ## Bias, Risks and Limitations
170
+
171
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
172
+ -->
173
+
174
+ <!--
175
+ ### Recommendations
176
+
177
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
178
+ -->
179
+
180
+ ## Training Details
181
+
182
+ ### Training Dataset
183
+
184
+ #### Unnamed Dataset
185
+
186
+ * Size: 790,993 training samples
187
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>itemCategory</code>, <code>shoppingCategory</code>, and <code>shoppingCategory_normalized</code>
188
+ * Approximate statistics based on the first 1000 samples:
189
+ | | anchor | positive | itemCategory | shoppingCategory | shoppingCategory_normalized |
190
+ |:--------|:-----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
191
+ | type | string | string | string | string | string |
192
+ | details | <ul><li>min: 3 tokens</li><li>mean: 10.03 tokens</li><li>max: 105 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.65 tokens</li><li>max: 95 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.95 tokens</li><li>max: 11 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.44 tokens</li><li>max: 5 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.62 tokens</li><li>max: 5 tokens</li></ul> |
193
+ * Samples:
194
+ | anchor | positive | itemCategory | shoppingCategory | shoppingCategory_normalized |
195
+ |:-----------------------------------------------------------------------------|:-----------------------------|:-------------------------|:-------------------------|:----------------------------|
196
+ | <code>jake jelly mania ys max</code> | <code>jake candy</code> | <code>sweet</code> | <code>groceries</code> | <code>food_dining</code> |
197
+ | <code>own crisp</code> | <code>sweet</code> | <code>sweet</code> | <code>restaurants</code> | <code>food_dining</code> |
198
+ | <code>pencil case zipper surf floral petrol denim polyester pm 19454</code> | <code>office supplies</code> | <code>pencil case</code> | <code>stationary</code> | <code>office_school</code> |
199
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
200
+ ```json
201
+ {
202
+ "scale": 20.0,
203
+ "similarity_fct": "cos_sim",
204
+ "gather_across_devices": false
205
+ }
206
+ ```
207
+
208
+ ### Evaluation Dataset
209
+
210
+ #### Unnamed Dataset
211
+
212
+ * Size: 9,509 evaluation samples
213
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, <code>itemCategory</code>, <code>shoppingCategory</code>, and <code>shoppingCategory_normalized</code>
214
+ * Approximate statistics based on the first 1000 samples:
215
+ | | anchor | positive | negative | itemCategory | shoppingCategory | shoppingCategory_normalized |
216
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|:--------------------------------------------------------------------------------|
217
+ | type | string | string | string | string | string | string |
218
+ | 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.43 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.48 tokens</li><li>max: 42 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.85 tokens</li><li>max: 9 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.36 tokens</li><li>max: 5 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.44 tokens</li><li>max: 5 tokens</li></ul> |
219
+ * Samples:
220
+ | anchor | positive | negative | itemCategory | shoppingCategory | shoppingCategory_normalized |
221
+ |:---------------------------------------------------------------------|:-------------------------------------|:------------------------------------|:------------------------------------|:---------------------------|:----------------------------------|
222
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code> progrex pencil </code> | <code>jojo's journal</code> | <code>pencil</code> | <code>stationary</code> | <code>office_school</code> |
223
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code>superior drawing marker</code> | <code>timed feeding tray</code> | <code>marker</code> | <code>stationary</code> | <code>office_school</code> |
224
+ | <code>first person singular author: haruki murakami</code> | <code> book</code> | <code>sushi chicken shawerma</code> | <code>literature and fiction</code> | <code>entertainment</code> | <code>sports_entertainment</code> |
225
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
226
+ ```json
227
+ {
228
+ "scale": 20.0,
229
+ "similarity_fct": "cos_sim",
230
+ "gather_across_devices": false
231
+ }
232
+ ```
233
+
234
+ ### Training Hyperparameters
235
+ #### Non-Default Hyperparameters
236
+
237
+ - `eval_strategy`: steps
238
+ - `per_device_train_batch_size`: 256
239
+ - `per_device_eval_batch_size`: 256
240
+ - `learning_rate`: 3e-05
241
+ - `weight_decay`: 0.001
242
+ - `warmup_ratio`: 0.1
243
+ - `fp16`: True
244
+ - `dataloader_num_workers`: 1
245
+ - `dataloader_prefetch_factor`: 2
246
+ - `dataloader_persistent_workers`: True
247
+ - `push_to_hub`: True
248
+ - `hub_model_id`: LamaDiab/MiniLM-v27-SemanticEngine
249
+ - `hub_strategy`: all_checkpoints
250
+
251
+ #### All Hyperparameters
252
+ <details><summary>Click to expand</summary>
253
+
254
+ - `overwrite_output_dir`: False
255
+ - `do_predict`: False
256
+ - `eval_strategy`: steps
257
+ - `prediction_loss_only`: True
258
+ - `per_device_train_batch_size`: 256
259
+ - `per_device_eval_batch_size`: 256
260
+ - `per_gpu_train_batch_size`: None
261
+ - `per_gpu_eval_batch_size`: None
262
+ - `gradient_accumulation_steps`: 1
263
+ - `eval_accumulation_steps`: None
264
+ - `torch_empty_cache_steps`: None
265
+ - `learning_rate`: 3e-05
266
+ - `weight_decay`: 0.001
267
+ - `adam_beta1`: 0.9
268
+ - `adam_beta2`: 0.999
269
+ - `adam_epsilon`: 1e-08
270
+ - `max_grad_norm`: 1.0
271
+ - `num_train_epochs`: 3
272
+ - `max_steps`: -1
273
+ - `lr_scheduler_type`: linear
274
+ - `lr_scheduler_kwargs`: {}
275
+ - `warmup_ratio`: 0.1
276
+ - `warmup_steps`: 0
277
+ - `log_level`: passive
278
+ - `log_level_replica`: warning
279
+ - `log_on_each_node`: True
280
+ - `logging_nan_inf_filter`: True
281
+ - `save_safetensors`: True
282
+ - `save_on_each_node`: False
283
+ - `save_only_model`: False
284
+ - `restore_callback_states_from_checkpoint`: False
285
+ - `no_cuda`: False
286
+ - `use_cpu`: False
287
+ - `use_mps_device`: False
288
+ - `seed`: 42
289
+ - `data_seed`: None
290
+ - `jit_mode_eval`: False
291
+ - `use_ipex`: False
292
+ - `bf16`: False
293
+ - `fp16`: True
294
+ - `fp16_opt_level`: O1
295
+ - `half_precision_backend`: auto
296
+ - `bf16_full_eval`: False
297
+ - `fp16_full_eval`: False
298
+ - `tf32`: None
299
+ - `local_rank`: 0
300
+ - `ddp_backend`: None
301
+ - `tpu_num_cores`: None
302
+ - `tpu_metrics_debug`: False
303
+ - `debug`: []
304
+ - `dataloader_drop_last`: False
305
+ - `dataloader_num_workers`: 1
306
+ - `dataloader_prefetch_factor`: 2
307
+ - `past_index`: -1
308
+ - `disable_tqdm`: False
309
+ - `remove_unused_columns`: True
310
+ - `label_names`: None
311
+ - `load_best_model_at_end`: False
312
+ - `ignore_data_skip`: False
313
+ - `fsdp`: []
314
+ - `fsdp_min_num_params`: 0
315
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
316
+ - `fsdp_transformer_layer_cls_to_wrap`: None
317
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
318
+ - `deepspeed`: None
319
+ - `label_smoothing_factor`: 0.0
320
+ - `optim`: adamw_torch
321
+ - `optim_args`: None
322
+ - `adafactor`: False
323
+ - `group_by_length`: False
324
+ - `length_column_name`: length
325
+ - `ddp_find_unused_parameters`: None
326
+ - `ddp_bucket_cap_mb`: None
327
+ - `ddp_broadcast_buffers`: False
328
+ - `dataloader_pin_memory`: True
329
+ - `dataloader_persistent_workers`: True
330
+ - `skip_memory_metrics`: True
331
+ - `use_legacy_prediction_loop`: False
332
+ - `push_to_hub`: True
333
+ - `resume_from_checkpoint`: None
334
+ - `hub_model_id`: LamaDiab/MiniLM-v27-SemanticEngine
335
+ - `hub_strategy`: all_checkpoints
336
+ - `hub_private_repo`: None
337
+ - `hub_always_push`: False
338
+ - `hub_revision`: None
339
+ - `gradient_checkpointing`: False
340
+ - `gradient_checkpointing_kwargs`: None
341
+ - `include_inputs_for_metrics`: False
342
+ - `include_for_metrics`: []
343
+ - `eval_do_concat_batches`: True
344
+ - `fp16_backend`: auto
345
+ - `push_to_hub_model_id`: None
346
+ - `push_to_hub_organization`: None
347
+ - `mp_parameters`:
348
+ - `auto_find_batch_size`: False
349
+ - `full_determinism`: False
350
+ - `torchdynamo`: None
351
+ - `ray_scope`: last
352
+ - `ddp_timeout`: 1800
353
+ - `torch_compile`: False
354
+ - `torch_compile_backend`: None
355
+ - `torch_compile_mode`: None
356
+ - `include_tokens_per_second`: False
357
+ - `include_num_input_tokens_seen`: False
358
+ - `neftune_noise_alpha`: None
359
+ - `optim_target_modules`: None
360
+ - `batch_eval_metrics`: False
361
+ - `eval_on_start`: False
362
+ - `use_liger_kernel`: False
363
+ - `liger_kernel_config`: None
364
+ - `eval_use_gather_object`: False
365
+ - `average_tokens_across_devices`: False
366
+ - `prompts`: None
367
+ - `batch_sampler`: batch_sampler
368
+ - `multi_dataset_batch_sampler`: proportional
369
+ - `router_mapping`: {}
370
+ - `learning_rate_mapping`: {}
371
+
372
+ </details>
373
+
374
+ ### Training Logs
375
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
376
+ |:------:|:----:|:-------------:|:---------------:|:---------------:|
377
+ | 0.0003 | 1 | 3.4534 | - | - |
378
+ | 0.3236 | 1000 | 2.5414 | 0.3535 | 0.9567 |
379
+ | 0.6472 | 2000 | 1.4768 | 0.3096 | 0.9636 |
380
+ | 0.9709 | 3000 | 1.1557 | 0.3100 | 0.9630 |
381
+ | 1.2943 | 4000 | 1.2117 | 0.3075 | 0.9669 |
382
+ | 1.6177 | 5000 | 1.1625 | 0.3027 | 0.9679 |
383
+ | 1.9411 | 6000 | 1.1173 | 0.2983 | 0.9670 |
384
+ | 2.2646 | 7000 | 1.0564 | 0.2932 | 0.9683 |
385
+ | 2.5880 | 8000 | 1.0198 | 0.2942 | 0.9688 |
386
+ | 2.9114 | 9000 | 1.0197 | 0.2932 | 0.9688 |
387
+
388
+
389
+ ### Framework Versions
390
+ - Python: 3.11.13
391
+ - Sentence Transformers: 5.1.2
392
+ - Transformers: 4.53.3
393
+ - PyTorch: 2.6.0+cu124
394
+ - Accelerate: 1.9.0
395
+ - Datasets: 4.4.1
396
+ - Tokenizers: 0.21.2
397
+
398
+ ## Citation
399
+
400
+ ### BibTeX
401
+
402
+ #### Sentence Transformers
403
+ ```bibtex
404
+ @inproceedings{reimers-2019-sentence-bert,
405
+ title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
406
+ author = "Reimers, Nils and Gurevych, Iryna",
407
+ booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
408
+ month = "11",
409
+ year = "2019",
410
+ publisher = "Association for Computational Linguistics",
411
+ url = "https://arxiv.org/abs/1908.10084",
412
+ }
413
+ ```
414
+
415
+ <!--
416
+ ## Glossary
417
+
418
+ *Clearly define terms in order to be accessible across audiences.*
419
+ -->
420
+
421
+ <!--
422
+ ## Model Card Authors
423
+
424
+ *Lists the people who create the model card, providing recognition and accountability for the detailed work that goes into its construction.*
425
+ -->
426
+
427
+ <!--
428
+ ## Model Card Contact
429
+
430
+ *Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
431
+ -->
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
+ }