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