---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- dense
- generated_from_trainer
- dataset_size:21958
- loss:CosineSimilarityLoss
base_model: sentence-transformers/all-MiniLM-L6-v2
widget:
- source_sentence: Follows safety protocols and industry standards to ensure reliable
inspection results.
sentences:
- Cargo Handling and Stowage
- Non-destructive Testing (Eddy Current Inspection)
- Asian Cold Dish and Dessert Preparation
- source_sentence: Perform regular preventive maintenance on communication backbone
systems, ensuring reliability and minimizing downtime.
sentences:
- Clinical Supervision
- Special Situations in Prehospital Setting
- Blog and Vlog Deployment
- source_sentence: Establish key performance indicators (KPIs) to measure the effectiveness
of the total rewards program.
sentences:
- Social Policy Implementation
- Rigging for Animation
- Product Advisory
- source_sentence: Document maintenance procedures and update system configurations
as needed.
sentences:
- Sales Channel Management
- Automatic Fare Collection Auxiliary Systems Maintenance
- Business Data Analysis
- source_sentence: '"Ideal for prototyping and custom manufacturing in industries
like aerospace and healthcare,"'
sentences:
- Polymeric Additive Manufacturing
- Non-sterile Compounding
- Instrumentation and Control Design Engineering Management
pipeline_tag: sentence-similarity
library_name: sentence-transformers
---
# SentenceTransformer based on sentence-transformers/all-MiniLM-L6-v2
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.
## Model Details
### Model Description
- **Model Type:** Sentence Transformer
- **Base model:** [sentence-transformers/all-MiniLM-L6-v2](https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2)
- **Maximum Sequence Length:** 256 tokens
- **Output Dimensionality:** 384 dimensions
- **Similarity Function:** Cosine Similarity
### Model Sources
- **Documentation:** [Sentence Transformers Documentation](https://sbert.net)
- **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/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': 256, 'do_lower_case': False, 'architecture': 'BertModel'})
(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})
(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("sentence_transformers_model_id")
# Run inference
sentences = [
'"Ideal for prototyping and custom manufacturing in industries like aerospace and healthcare,"',
'Polymeric Additive Manufacturing',
'Instrumentation and Control Design Engineering Management',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.6642, 0.3200],
# [0.6642, 1.0000, 0.1291],
# [0.3200, 0.1291, 1.0000]])
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 21,958 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 |
Analyzes tax liabilities, identifies applicable rates, and applies corrections to ensure proper calculation and reporting. | Tax Computation | 1.0 |
| Monitor plant health by assessing symptoms and identifying disease risks. | Plant Health Management and Disease Control | 1.0 |
| Analyzes cross-cultural communication challenges in medical and legal contexts, optimizing translation strategies for diverse stakeholders. | Audience Segmentation | 0.0 |
* Loss: [CosineSimilarityLoss](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cosinesimilarityloss) with these parameters:
```json
{
"loss_fct": "torch.nn.modules.loss.MSELoss"
}
```
### Training Hyperparameters
#### Non-Default Hyperparameters
- `per_device_train_batch_size`: 64
- `per_device_eval_batch_size`: 64
- `num_train_epochs`: 5
- `multi_dataset_batch_sampler`: round_robin
#### All Hyperparameters