---
tags:
- sentence-transformers
- sentence-similarity
- feature-extraction
- dense
- generated_from_trainer
- dataset_size:287
- loss:WeightedCosineSimilarityLoss
base_model: sentence-transformers/all-MiniLM-L6-v2
widget:
- source_sentence: check-in ai_dev
sentences:
- Today I fixed some text and text UI for my escape room project, I simplified the
explanation of the puzzles as well as changing the look of the dialog boxes
- Delivered new feature set for public release.
- Configured Colab runtime but didn’t run training yet.
- source_sentence: check-in other
sentences:
- Ran first evaluation on small validation split.
- Didn’t finish dataset upload to Hugging Face, ran out of time.
- Today I'm working on UI changes and how to interact with them for mobile
- source_sentence: check-in unity
sentences:
- Optimized entire Unity project and exported final build.
- Client work paused today, waiting for feedback.
- Started refactoring one of the client scripts, halfway done.
- source_sentence: check-in other
sentences:
- Today I'm working on UI changes and how to interact with them for mobile
- Today I'm working on UI changes and how to interact with them for mobile
- Today I've finished some example work for summarization and zero shot classification
pipelines and I'm continuing on using the different pipelines in different examples
of work like question-answering and sentiment-analysis pipelines
- source_sentence: check-in client
sentences:
- Met all client deliverables ahead of schedule.
- Cleaned up workspace, nothing project-related.
- Today I'm working on UI changes and how to interact with them for mobile
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, '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 = [
'check-in client',
'Met all client deliverables ahead of schedule.',
"Today I'm working on UI changes and how to interact with them for mobile",
]
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.7157, 0.2864],
# [0.7157, 1.0000, 0.1698],
# [0.2864, 0.1698, 1.0000]])
```
## Training Details
### Training Dataset
#### Unnamed Dataset
* Size: 287 training samples
* Columns: sentence_0, sentence_1, and label
* Approximate statistics based on the first 287 samples:
| | sentence_0 | sentence_1 | label |
|:--------|:--------------------------------------------------------------------------------|:----------------------------------------------------------------------------------|:--------------------------------------------------------------|
| type | string | string | float |
| details |
check-in other | Today I'm working on UI changes and how to interact with them for mobile | 0.2 |
| check-in ai_dev | Documented learnings from recent model deployment. | 1.0 |
| check-in other | Setup test folder structure for future experiments. | 0.4 |
* Loss: __main__.WeightedCosineSimilarityLoss
### Training Hyperparameters
#### Non-Default Hyperparameters
- `num_train_epochs`: 4
- `multi_dataset_batch_sampler`: round_robin
#### All Hyperparameters