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