Sentence Similarity
sentence-transformers
PyTorch
Transformers
distilbert
feature-extraction
text-embeddings-inference
Instructions to use GPL/scifact-msmarco-distilbert-gpl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use GPL/scifact-msmarco-distilbert-gpl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("GPL/scifact-msmarco-distilbert-gpl") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use GPL/scifact-msmarco-distilbert-gpl with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("GPL/scifact-msmarco-distilbert-gpl") model = AutoModel.from_pretrained("GPL/scifact-msmarco-distilbert-gpl") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 03f7b3a6a42f82b00b34db7c34251bc4129f16cc78dfb643216566bdfa81144f
- Size of remote file:
- 265 MB
- SHA256:
- ce62f3fbb5d3b620dd34d1a555d777d63dcda32ebdfa907cc6b9d89049eb2fd9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.