Sentence Similarity
sentence-transformers
PyTorch
Transformers
distilbert
feature-extraction
text-embeddings-inference
Instructions to use GPL/fiqa-msmarco-distilbert-gpl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use GPL/fiqa-msmarco-distilbert-gpl with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("GPL/fiqa-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/fiqa-msmarco-distilbert-gpl with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("GPL/fiqa-msmarco-distilbert-gpl") model = AutoModel.from_pretrained("GPL/fiqa-msmarco-distilbert-gpl", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from GPL/fiqa-msmarco-distilbert-gpl: direct link, hf CLI and curl.
- Browser
- Download file 265 MB
-
https://huggingface.co/GPL/fiqa-msmarco-distilbert-gpl/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://GPL/fiqa-msmarco-distilbert-gpl/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/GPL/fiqa-msmarco-distilbert-gpl/resolve/main/pytorch_model.bin
265 MB
- Xet hash:
- abd180151a7ae159a6be12261e920f0e0a11a08798c4d6d284835fab7ec735c6
- Size of remote file:
- 265 MB
- SHA256:
- fda5edeafe40a7b65b05c32a43a33a1ee87990b2f852dd95a1d635d26a542d09
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.