Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
ontology
nlp
biology
animals
fish
embedding
trait
feature-extraction
loss:CoSENTLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use imageomics/trait2vec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use imageomics/trait2vec with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("imageomics/trait2vec") sentences = [ "Ventral humeral ridge: or not", "If metasternum ossified, shape: long, narrow and tapering markedly anteriorly to posteriorly, length up to 3.5 times maximum width", "Astragalus, dorsolateral margin:: overlaps the anterior and posterior portions of the calcaneum equally", "Ulna size: does not apply" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update bibtex reference of Sentence-BERT
89d9399
-
clarify citation and fix name ref to dataset
Verified signaturef100204 -
Add published reference citation (instead of preprint)
Verified signature67fd1bb -
Update README.md
Verified signaturecb9b871 -
Fix some URLs, re-add widgets, add citation (#1)
Verified signature- Fix some URLs, re-add widgets, add citation (13065327e5088ec7f5d604e0d2a3d56e1db1ca65) Co-authored-by: Elizabeth Campolongo <egrace479@users.noreply.huggingface.co>6991a45
-
Update README.md
Verified signature8f9a87f -
Update README.md
Verified signature989191e
-
Add license to README.md
Verified signature9da3822 -
Initial Trait2Vec model trained with 80% of the Phenoscape trait pairs.
Verified signature4fd4743 -
initial commit
Verified signature823c96a