Sentence Similarity
sentence-transformers
Safetensors
mpnet
ontology-embedding
hyperbolic-space
hierarchical-reasoning
biomedical-ontology
Generated from Trainer
dataset_size:150000
loss:HierarchyTransformerLoss
text-embeddings-inference
Instructions to use Hui97/OnT-MPNet-go with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Hui97/OnT-MPNet-go with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Hui97/OnT-MPNet-go") sentences = [ "cellular response to stimulus", "response to stimulus", "medial transverse frontopolar gyrus", "biological regulation" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!