Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use spacemanidol/esci-mpnet-crossencoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use spacemanidol/esci-mpnet-crossencoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("spacemanidol/esci-mpnet-crossencoder") 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] - Notebooks
- Google Colab
- Kaggle
Update model metadata to set pipeline tag to the new `text-ranking`
#1
by tomaarsen HF Staff - opened
Hello!
Pull Request overview
- Update metadata to set pipeline tag to the new
text-ranking
Changes
This is an automated pull request to update the metadata of the model card. We recently introduced the text-ranking pipeline tag for models that are used for ranking tasks, and we have a suspicion that this model is one of them.
Feel free to respond if you have questions or concerns.
- Tom Aarsen