---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:10000
- loss:SoftmaxLoss
base_model: sentence-transformers/all-MiniLM-L6-v2
widget:
- source_sentence: ' I accept the need for workplace adaptability. '
sentences:
- ' I accept changing expectations without resistance. '
- ' I doubt they will support me when it''s crucial'
- ' I accept changing expectations without resistance. '
- source_sentence: ' I am aware of my energy fluctuations throughout the workday. '
sentences:
- ' I remain focused despite technological disruptions. '
- ' I accept that mistakes are part of learning. '
- ' I notice how music affects my work mood. '
- source_sentence: ' I allocate undivided attention to strategic decisions. '
sentences:
- ' I return focus to my work when my mind drifts. '
- ' I concentrate solely on task execution. '
- ' I accept differing work ethics from colleagues. '
- source_sentence: ' I feel negative energy around them constantly'
sentences:
- ' I acknowledge my stress without letting it control me. '
- ' I choose to work independently to minimize interaction'
- ' I avoid sharing personal information with this individual'
- source_sentence: ' I avoid any financial dealings with them'
sentences:
- ' I accept team dynamics as they naturally evolve. '
- ' I resist relying on them for feedback'
- ' I ignore background noise to maintain task concentration. '
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/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': 256, 'do_lower_case': False}) with Transformer model: 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("zihoo/all-MiniLM-L6-v2-WMNLI")
# Run inference
sentences = [
' I avoid any financial dealings with them',
' I accept team dynamics as they naturally evolve. ',
' I ignore background noise to maintain task concentration. ',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]
# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 10,000 training samples
* Columns: sentence1
, sentence2
, and label
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | label |
|:--------|:----------------------------------------------------------------------------------|:---------------------------------------------------------------------------------|:-------------------------------------------------------------------|
| type | string | string | int |
| details |
I feel apathetic when they recount their accomplishments
| I accept project feedback with an open mind.
| 2
|
| I commit total focus to achieving project milestones.
| I remain conscious of my work-life balance.
| 1
|
| I remain conscious of my work-life balance.
| I feel skeptical about their ideas during planning sessions
| 2
|
* Loss: [SoftmaxLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#softmaxloss)
### Training Hyperparameters
#### All Hyperparameters