Sentence Similarity
sentence-transformers
PyTorch
Safetensors
Transformers
mpnet
feature-extraction
text-embeddings-inference
Instructions to use Collab-uniba/github-issues-mpnet-st-e10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Collab-uniba/github-issues-mpnet-st-e10 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Collab-uniba/github-issues-mpnet-st-e10") 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 Collab-uniba/github-issues-mpnet-st-e10 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Collab-uniba/github-issues-mpnet-st-e10") model = AutoModel.from_pretrained("Collab-uniba/github-issues-mpnet-st-e10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (4ad7dd278bd92dba8efa958e848ece3e4f9acf77) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>15ffa76
-
insert how to cite
Verified signature8c528fa
-
Update README.md
66c6215 -
Update README.md
7792eca -
Update README.md
de6d637 -
Upload model
8bb5b0f -
initial commit
61d75cb