---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- generated_from_trainer
- dataset_size:8000
- loss:SoftmaxLoss
base_model: sentence-transformers/all-MiniLM-L6-v2
widget:
- source_sentence: I suspect their compliments are disingenuous
sentences:
- I feel skeptical about their ideas during planning sessions
- I believe they intentionally withhold information from me
- I notice the tension in rushed work hours.
- source_sentence: I decline their invitations to mutual events
sentences:
- I accept moments of uncertainty as part of the job.
- I embrace constructive criticism for personal growth.
- I accept change as an integral part of progress.
- source_sentence: I feel anger simmering when they speak up in meetings
sentences:
- I concentrate on tasks without getting sidetracked by emails.
- I maintain focus by taking regular breaks.
- I focus on one work task at a time.
- source_sentence: I stay conscious of my patterned responses to pressure.
sentences:
- I ignore background noise to maintain task concentration.
- I concentrate fully on reading reports.
- I accept that criticism is a growth opportunity.
- source_sentence: I accept my mistakes as part of my learning process.
sentences:
- I fully concentrate on client communications.
- I suspect their compliments are disingenuous
- I remain conscious of my work-life balance.
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-10epoch")
# Run inference
sentences = [
'I accept my mistakes as part of my learning process.',
'I fully concentrate on client communications.',
'I remain conscious of my work-life balance.',
]
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: 8,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 focus on one work task at a time.
| I keep my attention on the task despite office chatter.
| 0
|
| I worry they might spread false rumors about me
| I return focus to my work when my mind drifts.
| 2
|
| I stay aware of my posture when working at a desk.
| I pay attention to non-verbal cues from others.
| 0
|
* Loss: [SoftmaxLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#softmaxloss)
### Evaluation Dataset
#### Unnamed Dataset
* Size: 2,000 evaluation samples
* Columns: sentence1
, sentence2
, and label
* Approximate statistics based on the first 1000 samples:
| | sentence1 | sentence2 | label |
|:--------|:----------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:-------------------------------------------------------------------|
| type | string | string | int |
| details | I stay conscious of my emotional responses to work challenges.
| I pay close attention to verbal instructions.
| 1
|
| I accept varied perspectives from my team graciously.
| I accept team dynamics as they naturally evolve.
| 0
|
| I accept technology upgrades with an open heart.
| I am mindful of my facial expressions during discussions.
| 1
|
* Loss: [SoftmaxLoss
](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#softmaxloss)
### Training Hyperparameters
#### Non-Default Hyperparameters
- `eval_strategy`: steps
- `per_device_train_batch_size`: 32
- `per_device_eval_batch_size`: 32
- `num_train_epochs`: 9
- `warmup_ratio`: 0.01
#### All Hyperparameters