---
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 avoid any financial dealings with them
sentences:
- I observe my reaction to shifting deadlines.
- I avoid volunteering for projects they're involved in
- I concentrate solely on task execution.
- source_sentence: I stay aware of my feelings towards team diversity.
sentences:
- I expect them to criticize my performance unfairly
- I return focus when distracted by phone notifications.
- I remain aware of my body's signals during long work hours.
- source_sentence: I avoid volunteering for projects they're involved in
sentences:
- I place primary attention on resolving immediate conflicts.
- I avoid collaborating with them on projects due to past experiences
- I feel irritation whenever they share their opinions
- source_sentence: I notice my mood changes during stressful work situations.
sentences:
- I am aware of my energy fluctuations throughout the workday.
- I notice how I feel after completing significant tasks.
- I accept varied perspectives from my team graciously.
- source_sentence: I re-align my focus after a mental lapse.
sentences:
- I acknowledge my internal responses to tight deadlines.
- I accept and appreciate differences in colleagues' working styles.
- I accept and learn from performance reviews.
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-1epoch")
# Run inference
sentences = [
'I re-align my focus after a mental lapse.',
'I acknowledge my internal responses to tight deadlines.',
'I accept and learn from performance reviews.',
]
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
- `learning_rate`: 3e-05
- `num_train_epochs`: 1
- `warmup_ratio`: 0.01
#### All Hyperparameters