---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- dense
- generated_from_trainer
- dataset_size:269337
- loss:CoSENTLoss
base_model: intfloat/multilingual-e5-large
widget:
- source_sentence: motion-activated security light with adjustable settings
sentences:
- LED Black Motion Sensor 2-Light Bullet Flood Light- 3000K Adjustable Dual Head
Outdoor Security Light, Dusk to Dawn, Waterproof, Hardwired Spotlight for Yard,
Patio, Garage, Landscape
- Waterpik Cordless Advanced Water Flosser
- Tabi Ballet Flats Shoes for Women Rounde Toe Wide Width Split Toe Low Heel Comfortable
Flats Shoes
- source_sentence: microdevice for line smoothing
sentences:
- SkinMedica TNS Advanced+ Serum
- Waterproof Beach Bag for Women with Phone Pouch, Large Tote Bag for Pool, Travel
and Vacation
- Fisher-Price 4-in-1 Step 'n Play Piano
- source_sentence: hair strengthening serum
sentences:
- Yaheetech Adjustable Dumbbell Set Free Weight Dumbbells 40lbs/52.5lbs/90lbs Fast
Adjust Dumbbells Dumbbell Weight Set, with Tray for Men/Women Strength Training
Equipment
- DeLonghi Dedica Arte Espresso Machine
- Opalescence Go Teeth Whitening Trays
- source_sentence: slime making kit with glue and additives
sentences:
- Faber-Castell Polychromos Color Pencils Set of 120
- Keter Delivery Box for Porch with Lockable Secure Storage Compartment to Keep
Packages Safe, One Size, Brown
- Stillman & Birn Zeta Series Sketchbook
- source_sentence: antioxidant serum for skin protection
sentences:
- Louisville Ladder 16-foot Fiberglass Extension Ladder
- Crayola Light Up Tracing Pad
- Logitech MX Master 3S Wireless Mouse
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---
# SentenceTransformer based on intfloat/multilingual-e5-large
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.
## Model Details
### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [intfloat/multilingual-e5-large](https://huggingface.co/intfloat/multilingual-e5-large)
- **Maximum Sequence Length:** 512 tokens
- **Output Dimensionality:** 1024 dimensions
- **Similarity Function:** Cosine Similarity
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/UKPLab/sentence-transformers)
- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers)
### Full Model Architecture
```
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': False, 'architecture': 'XLMRobertaModel'})
(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})
(2): Normalize()
)
```
## Usage
### Direct Usage (Sentence Transformers)
First install the Sentence Transformers library:
```bash
pip install -U sentence-transformers
```
Then you can load this model and run inference.
```python
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("IshTale/MultiEccomerceEmbeddingModel")
# Run inference
sentences = [
'antioxidant serum for skin protection',
'Louisville Ladder 16-foot Fiberglass Extension Ladder',
'Logitech MX Master 3S Wireless Mouse',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.4999, 0.4880],
# [0.4999, 1.0000, 0.6445],
# [0.4880, 0.6445, 1.0000]])
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 269,337 training samples
* Columns: sentence_0, sentence_1, and label
* Approximate statistics based on the first 1000 samples:
| | sentence_0 | sentence_1 | label |
|:--------|:---------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------|
| type | string | string | float |
| details |
motorized Nerf blaster with dinosaur theme | B. Toys by Battat Wooden Activity Cube | -0.07861651138439901 |
| smart mirror with adjustable lighting | Pfaff Passport 2.0 Sewing Machine | -0.835469516572358 |
| black tea with orange rind and spices | Valrhona Cocoa Powder | -0.13135949520666002 |
* Loss: [CoSENTLoss](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosentloss) with these parameters:
```json
{
"scale": 20.0,
"similarity_fct": "pairwise_cos_sim"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `num_train_epochs`: 1
- `multi_dataset_batch_sampler`: round_robin
#### All Hyperparameters