LamaDiab commited on
Commit
9f91b54
·
verified ·
1 Parent(s): 765c6d4

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:705905
9
+ - loss:MultipleNegativesSymmetricRankingLoss
10
+ base_model: sentence-transformers/all-MiniLM-L6-v2
11
+ widget:
12
+ - source_sentence: gerber baby food fruits apples bananas & cereal
13
+ sentences:
14
+ - world of sweets puzzle
15
+ - baby food
16
+ - baby food
17
+ - source_sentence: granville original one bite original rice crispy squares
18
+ sentences:
19
+ - ' one bite rice crispy '
20
+ - sweet
21
+ - bounty wafer rolls
22
+ - source_sentence: rosa / porcelain us andalusia mug
23
+ sentences:
24
+ - mug
25
+ - ' rosa mug'
26
+ - melamine small plate - teal
27
+ - source_sentence: cetaphil sunscreen spf 50+ cream 89 ml
28
+ sentences:
29
+ - sunscreen
30
+ - ' cetaphil sunscreen cream'
31
+ - garnier intensity (6.60) intense ruby
32
+ - source_sentence: italian dolce provolone
33
+ sentences:
34
+ - trident - gum strawberry flavor - 5 per pack
35
+ - experience the authentic taste of italy with our italian dolce provolone. indulge
36
+ in its creamy texture, delicate flavors, and versatility in both simple and sophisticated
37
+ culinary creations.
38
+ - dairy
39
+ pipeline_tag: sentence-similarity
40
+ library_name: sentence-transformers
41
+ metrics:
42
+ - cosine_accuracy
43
+ model-index:
44
+ - name: SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
45
+ results:
46
+ - task:
47
+ type: triplet
48
+ name: Triplet
49
+ dataset:
50
+ name: Unknown
51
+ type: unknown
52
+ metrics:
53
+ - type: cosine_accuracy
54
+ value: 0.9664528369903564
55
+ name: Cosine Accuracy
56
+ ---
57
+
58
+ # SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
59
+
60
+ 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.
61
+
62
+ ## Model Details
63
+
64
+ ### Model Description
65
+ - **Model Type:** Sentence Transformer
66
+ - **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2) <!-- at revision c9745ed1d9f207416be6d2e6f8de32d1f16199bf -->
67
+ - **Maximum Sequence Length:** 256 tokens
68
+ - **Output Dimensionality:** 384 dimensions
69
+ - **Similarity Function:** Cosine Similarity
70
+ <!-- - **Training Dataset:** Unknown -->
71
+ <!-- - **Language:** Unknown -->
72
+ <!-- - **License:** Unknown -->
73
+
74
+ ### Model Sources
75
+
76
+ - **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
77
+ - **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers)
78
+ - **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
79
+
80
+ ### Full Model Architecture
81
+
82
+ ```
83
+ SentenceTransformer(
84
+ (0): Transformer({'max_seq_length': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
85
+ (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})
86
+ (2): Normalize()
87
+ )
88
+ ```
89
+
90
+ ## Usage
91
+
92
+ ### Direct Usage (Sentence Transformers)
93
+
94
+ First install the Sentence Transformers library:
95
+
96
+ ```bash
97
+ pip install -U sentence-transformers
98
+ ```
99
+
100
+ Then you can load this model and run inference.
101
+ ```python
102
+ from sentence_transformers import SentenceTransformer
103
+
104
+ # Download from the 🤗 Hub
105
+ model = SentenceTransformer("LamaDiab/MiniLM-V18Data-256ConstantBATCH-SemanticEngine")
106
+ # Run inference
107
+ sentences = [
108
+ 'italian dolce provolone',
109
+ 'experience the authentic taste of italy with our italian dolce provolone. indulge in its creamy texture, delicate flavors, and versatility in both simple and sophisticated culinary creations.',
110
+ 'trident - gum strawberry flavor - 5 per pack',
111
+ ]
112
+ embeddings = model.encode(sentences)
113
+ print(embeddings.shape)
114
+ # [3, 384]
115
+
116
+ # Get the similarity scores for the embeddings
117
+ similarities = model.similarity(embeddings, embeddings)
118
+ print(similarities)
119
+ # tensor([[1.0000, 0.8521, 0.2565],
120
+ # [0.8521, 1.0000, 0.2671],
121
+ # [0.2565, 0.2671, 1.0000]])
122
+ ```
123
+
124
+ <!--
125
+ ### Direct Usage (Transformers)
126
+
127
+ <details><summary>Click to see the direct usage in Transformers</summary>
128
+
129
+ </details>
130
+ -->
131
+
132
+ <!--
133
+ ### Downstream Usage (Sentence Transformers)
134
+
135
+ You can finetune this model on your own dataset.
136
+
137
+ <details><summary>Click to expand</summary>
138
+
139
+ </details>
140
+ -->
141
+
142
+ <!--
143
+ ### Out-of-Scope Use
144
+
145
+ *List how the model may foreseeably be misused and address what users ought not to do with the model.*
146
+ -->
147
+
148
+ ## Evaluation
149
+
150
+ ### Metrics
151
+
152
+ #### Triplet
153
+
154
+ * Evaluated with [<code>TripletEvaluator</code>](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.TripletEvaluator)
155
+
156
+ | Metric | Value |
157
+ |:--------------------|:-----------|
158
+ | **cosine_accuracy** | **0.9665** |
159
+
160
+ <!--
161
+ ## Bias, Risks and Limitations
162
+
163
+ *What are the known or foreseeable issues stemming from this model? You could also flag here known failure cases or weaknesses of the model.*
164
+ -->
165
+
166
+ <!--
167
+ ### Recommendations
168
+
169
+ *What are recommendations with respect to the foreseeable issues? For example, filtering explicit content.*
170
+ -->
171
+
172
+ ## Training Details
173
+
174
+ ### Training Dataset
175
+
176
+ #### Unnamed Dataset
177
+
178
+ * Size: 705,905 training samples
179
+ * Columns: <code>anchor</code>, <code>positive</code>, and <code>itemCategory</code>
180
+ * Approximate statistics based on the first 1000 samples:
181
+ | | anchor | positive | itemCategory |
182
+ |:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
183
+ | type | string | string | string |
184
+ | details | <ul><li>min: 3 tokens</li><li>mean: 13.19 tokens</li><li>max: 51 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 4.46 tokens</li><li>max: 93 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.91 tokens</li><li>max: 11 tokens</li></ul> |
185
+ * Samples:
186
+ | anchor | positive | itemCategory |
187
+ |:-----------------------------------------------|:-----------------------------------------|:-------------------------------|
188
+ | <code>mango nos nos small</code> | <code>milk chocolate ganache cake</code> | <code>sweet</code> |
189
+ | <code>lux soap creamy perfection 165 gm</code> | <code>soap</code> | <code>hand soap</code> |
190
+ | <code>grey deo original</code> | <code>classic deodrant</code> | <code>women's deodorant</code> |
191
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
192
+ ```json
193
+ {
194
+ "scale": 20.0,
195
+ "similarity_fct": "cos_sim",
196
+ "gather_across_devices": false
197
+ }
198
+ ```
199
+
200
+ ### Evaluation Dataset
201
+
202
+ #### Unnamed Dataset
203
+
204
+ * Size: 9,509 evaluation samples
205
+ * Columns: <code>anchor</code>, <code>positive</code>, <code>negative</code>, and <code>itemCategory</code>
206
+ * Approximate statistics based on the first 1000 samples:
207
+ | | anchor | positive | negative | itemCategory |
208
+ |:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|
209
+ | type | string | string | string | string |
210
+ | details | <ul><li>min: 3 tokens</li><li>mean: 9.63 tokens</li><li>max: 43 tokens</li></ul> | <ul><li>min: 2 tokens</li><li>mean: 6.53 tokens</li><li>max: 150 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 9.52 tokens</li><li>max: 50 tokens</li></ul> | <ul><li>min: 3 tokens</li><li>mean: 3.88 tokens</li><li>max: 10 tokens</li></ul> |
211
+ * Samples:
212
+ | anchor | positive | negative | itemCategory |
213
+ |:---------------------------------------------------------------------|:----------------------------------|:-----------------------------------------------------------------------------------------------|:------------------------------------|
214
+ | <code>pilot mechanical pencil progrex h-127 - 0.7 mm</code> | <code>office supplies</code> | <code>scary halloween skull mask</code> | <code>pencil</code> |
215
+ | <code>superior drawing marker -pen - set of 12 colors - 2 nib</code> | <code>superior </code> | <code>coloring and writing book 21 x 29.7 cm 100 gsm 18 pages number subtraction ma4014</code> | <code>marker</code> |
216
+ | <code>first person singular author: haruki murakami</code> | <code>haruki murakami book</code> | <code>buried secrets</code> | <code>literature and fiction</code> |
217
+ * Loss: [<code>MultipleNegativesSymmetricRankingLoss</code>](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#multiplenegativessymmetricrankingloss) with these parameters:
218
+ ```json
219
+ {
220
+ "scale": 20.0,
221
+ "similarity_fct": "cos_sim",
222
+ "gather_across_devices": false
223
+ }
224
+ ```
225
+
226
+ ### Training Hyperparameters
227
+ #### Non-Default Hyperparameters
228
+
229
+ - `eval_strategy`: steps
230
+ - `per_device_train_batch_size`: 256
231
+ - `per_device_eval_batch_size`: 256
232
+ - `learning_rate`: 1e-05
233
+ - `weight_decay`: 0.01
234
+ - `num_train_epochs`: 6
235
+ - `warmup_ratio`: 0.2
236
+ - `fp16`: True
237
+ - `dataloader_num_workers`: 1
238
+ - `dataloader_prefetch_factor`: 2
239
+ - `dataloader_persistent_workers`: True
240
+ - `push_to_hub`: True
241
+ - `hub_model_id`: LamaDiab/MiniLM-V18Data-256ConstantBATCH-SemanticEngine
242
+ - `hub_strategy`: all_checkpoints
243
+
244
+ #### All Hyperparameters
245
+ <details><summary>Click to expand</summary>
246
+
247
+ - `overwrite_output_dir`: False
248
+ - `do_predict`: False
249
+ - `eval_strategy`: steps
250
+ - `prediction_loss_only`: True
251
+ - `per_device_train_batch_size`: 256
252
+ - `per_device_eval_batch_size`: 256
253
+ - `per_gpu_train_batch_size`: None
254
+ - `per_gpu_eval_batch_size`: None
255
+ - `gradient_accumulation_steps`: 1
256
+ - `eval_accumulation_steps`: None
257
+ - `torch_empty_cache_steps`: None
258
+ - `learning_rate`: 1e-05
259
+ - `weight_decay`: 0.01
260
+ - `adam_beta1`: 0.9
261
+ - `adam_beta2`: 0.999
262
+ - `adam_epsilon`: 1e-08
263
+ - `max_grad_norm`: 1.0
264
+ - `num_train_epochs`: 6
265
+ - `max_steps`: -1
266
+ - `lr_scheduler_type`: linear
267
+ - `lr_scheduler_kwargs`: {}
268
+ - `warmup_ratio`: 0.2
269
+ - `warmup_steps`: 0
270
+ - `log_level`: passive
271
+ - `log_level_replica`: warning
272
+ - `log_on_each_node`: True
273
+ - `logging_nan_inf_filter`: True
274
+ - `save_safetensors`: True
275
+ - `save_on_each_node`: False
276
+ - `save_only_model`: False
277
+ - `restore_callback_states_from_checkpoint`: False
278
+ - `no_cuda`: False
279
+ - `use_cpu`: False
280
+ - `use_mps_device`: False
281
+ - `seed`: 42
282
+ - `data_seed`: None
283
+ - `jit_mode_eval`: False
284
+ - `use_ipex`: False
285
+ - `bf16`: False
286
+ - `fp16`: True
287
+ - `fp16_opt_level`: O1
288
+ - `half_precision_backend`: auto
289
+ - `bf16_full_eval`: False
290
+ - `fp16_full_eval`: False
291
+ - `tf32`: None
292
+ - `local_rank`: 0
293
+ - `ddp_backend`: None
294
+ - `tpu_num_cores`: None
295
+ - `tpu_metrics_debug`: False
296
+ - `debug`: []
297
+ - `dataloader_drop_last`: False
298
+ - `dataloader_num_workers`: 1
299
+ - `dataloader_prefetch_factor`: 2
300
+ - `past_index`: -1
301
+ - `disable_tqdm`: False
302
+ - `remove_unused_columns`: True
303
+ - `label_names`: None
304
+ - `load_best_model_at_end`: False
305
+ - `ignore_data_skip`: False
306
+ - `fsdp`: []
307
+ - `fsdp_min_num_params`: 0
308
+ - `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
309
+ - `fsdp_transformer_layer_cls_to_wrap`: None
310
+ - `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
311
+ - `deepspeed`: None
312
+ - `label_smoothing_factor`: 0.0
313
+ - `optim`: adamw_torch
314
+ - `optim_args`: None
315
+ - `adafactor`: False
316
+ - `group_by_length`: False
317
+ - `length_column_name`: length
318
+ - `ddp_find_unused_parameters`: None
319
+ - `ddp_bucket_cap_mb`: None
320
+ - `ddp_broadcast_buffers`: False
321
+ - `dataloader_pin_memory`: True
322
+ - `dataloader_persistent_workers`: True
323
+ - `skip_memory_metrics`: True
324
+ - `use_legacy_prediction_loop`: False
325
+ - `push_to_hub`: True
326
+ - `resume_from_checkpoint`: None
327
+ - `hub_model_id`: LamaDiab/MiniLM-V18Data-256ConstantBATCH-SemanticEngine
328
+ - `hub_strategy`: all_checkpoints
329
+ - `hub_private_repo`: None
330
+ - `hub_always_push`: False
331
+ - `hub_revision`: None
332
+ - `gradient_checkpointing`: False
333
+ - `gradient_checkpointing_kwargs`: None
334
+ - `include_inputs_for_metrics`: False
335
+ - `include_for_metrics`: []
336
+ - `eval_do_concat_batches`: True
337
+ - `fp16_backend`: auto
338
+ - `push_to_hub_model_id`: None
339
+ - `push_to_hub_organization`: None
340
+ - `mp_parameters`:
341
+ - `auto_find_batch_size`: False
342
+ - `full_determinism`: False
343
+ - `torchdynamo`: None
344
+ - `ray_scope`: last
345
+ - `ddp_timeout`: 1800
346
+ - `torch_compile`: False
347
+ - `torch_compile_backend`: None
348
+ - `torch_compile_mode`: None
349
+ - `include_tokens_per_second`: False
350
+ - `include_num_input_tokens_seen`: False
351
+ - `neftune_noise_alpha`: None
352
+ - `optim_target_modules`: None
353
+ - `batch_eval_metrics`: False
354
+ - `eval_on_start`: False
355
+ - `use_liger_kernel`: False
356
+ - `liger_kernel_config`: None
357
+ - `eval_use_gather_object`: False
358
+ - `average_tokens_across_devices`: False
359
+ - `prompts`: None
360
+ - `batch_sampler`: batch_sampler
361
+ - `multi_dataset_batch_sampler`: proportional
362
+ - `router_mapping`: {}
363
+ - `learning_rate_mapping`: {}
364
+
365
+ </details>
366
+
367
+ ### Training Logs
368
+ | Epoch | Step | Training Loss | Validation Loss | cosine_accuracy |
369
+ |:------:|:-----:|:-------------:|:---------------:|:---------------:|
370
+ | 0.0004 | 1 | 4.1707 | - | - |
371
+ | 0.3626 | 1000 | 3.7074 | 0.5848 | 0.9430 |
372
+ | 0.7252 | 2000 | 2.5733 | 0.5230 | 0.9468 |
373
+ | 1.0877 | 3000 | 2.1499 | 0.4858 | 0.9546 |
374
+ | 1.4503 | 4000 | 2.3929 | 0.4693 | 0.9578 |
375
+ | 1.8129 | 5000 | 1.6541 | 0.4415 | 0.9597 |
376
+ | 2.1755 | 6000 | 1.8335 | 0.4474 | 0.9615 |
377
+ | 2.5381 | 7000 | 1.839 | 0.4331 | 0.9625 |
378
+ | 2.9007 | 8000 | 1.3238 | 0.4197 | 0.9624 |
379
+ | 3.2632 | 9000 | 1.8409 | 0.4281 | 0.9647 |
380
+ | 3.6258 | 10000 | 1.511 | 0.4207 | 0.9653 |
381
+ | 3.9884 | 11000 | 1.1623 | 0.4108 | 0.9647 |
382
+ | 4.3510 | 12000 | 1.8788 | 0.4196 | 0.9658 |
383
+ | 4.7136 | 13000 | 1.3249 | 0.4121 | 0.9667 |
384
+ | 5.0761 | 14000 | 1.2635 | 0.4072 | 0.9669 |
385
+ | 5.4387 | 15000 | 1.7305 | 0.4133 | 0.9663 |
386
+ | 5.8013 | 16000 | 1.2114 | 0.4111 | 0.9665 |
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
+ }