Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dense
Generated from Trainer
dataset_size:59792
loss:CachedMultipleNegativesRankingLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use yoyo458/BioBERT_GOUniProt_FineTuned with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use yoyo458/BioBERT_GOUniProt_FineTuned with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("yoyo458/BioBERT_GOUniProt_FineTuned") sentences = [ "metalloendopeptidase activity", "Cysteine protease. May have an important role in corneal physiology. .", "Metalloprotease (PubMed:16585064, PubMed:39672391). Was previously shown to degrade COMP (PubMed:16585064). However, a later study found no activity against COMP (PubMed:39672391). .", "Degrades casein, gelatins of types I, III, IV, and V, and fibronectin. Activates procollagenase. ." ] 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!