Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:14356
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Mr-FineTuner/Eval_02_Final_5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Mr-FineTuner/Eval_02_Final_5 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Mr-FineTuner/Eval_02_Final_5") sentences = [ "Pear trees are usually productive for 50 to 75 years though some still produce fruit after 100 years .", "In the late 1950s , he studied cinema in France .", "Pear trees are usually productive for 50 to 75 years though some still produce fruit after 100 years .", "A recording medium is a physical material that holds data expressed in any of the existing recording formats ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Download modules.json from Mr-FineTuner/Eval_02_Final_5: direct link, hf CLI and curl.
- Browser
- Download file 229 Bytes
-
https://huggingface.co/Mr-FineTuner/Eval_02_Final_5/resolve/main/modules.json
- Command line
-
hf download hf://Mr-FineTuner/Eval_02_Final_5/modules.json
-
curl -L -o modules.json https://huggingface.co/Mr-FineTuner/Eval_02_Final_5/resolve/main/modules.json
229 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.models.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.models.Pooling" | |
| } | |
| ] |