Downloads · 30 days
88
9% of all-time downloads
raphaelsty/semanlink_all_mpnet_base_v2
semanlink_all_mpnet_base_v2 is a sentence similarity model from raphaelsty. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as apache-2.0.
This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
Downloads · 30 days
88
9% of all-time downloads
All-time downloads
977
Public
Parameters
109M
876 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin438 MB · 50%
How the weights are stored.
F32109M · 100%
From the Hugging Face model README
semanlink_all_mpnet_base_v2This is a sentence-transformers model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
semanlink_all_mpnet_base_v2 has been fine-tuned on the knowledge graph Semanlink via the library MKB on the link-prediction task. The model is dedicated to the representation of both technical and generic terminology in machine learning, NLP, news.
Using this model becomes easy when you have sentence-transformers installed:
pip install -U sentence-transformers
Then you can use the model like this:
from sentence_transformers import SentenceTransformer
sentences = ["Machine Learning", "Geoffrey Hinton"]
model = SentenceTransformer('raphaelsty/semanlink_all_mpnet_base_v2')
embeddings = model.encode(sentences)
print(embeddings)