Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:289
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use swathibp/BGE-base_finetuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use swathibp/BGE-base_finetuned with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("swathibp/BGE-base_finetuned") sentences = [ "What is Manipal Tata Medical College (MTMC), Jamshedpur, and under what initiative was it established?", "Authored by Dr. Sucheta Kolekar, the article explores strategies that universities can adopt to nurture entrepreneurship among students.", "The Innovation Centre was founded in 2007 during the Golden Jubilee celebrations of MIT, Manipal.", "Manipal Tata Medical College (MTMC), located at Baridih in Jamshedpur, East Singhbhum District of Jharkhand, is a premier institution for medical education and training. It was established as part of a consortium initiative between Tata Steel and Manipal Academy of Higher Education (MAHE), Manipal." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K