Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
Generated from Trainer
dataset_size:249984
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use abhi1-341/AML_p1_biencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use abhi1-341/AML_p1_biencoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("abhi1-341/AML_p1_biencoder") sentences = [ "query: business: qudynia | address: 55 mapledale avenue, fl 0, glen burnie, md", "passage: business: qudynia | address: 55 mapledale avenue, glen burnie, md", "passage: business: genna stewart midwest madison | address: w266s3867 donald driev, waukesha, wisconsin", "passage: business: qudynia holdings | address: 64 mapledale avenue, glen burnie, md" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!