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
Download modules.json from yoyo458/BioBERT_GOUniProt_FineTuned: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/yoyo458/BioBERT_GOUniProt_FineTuned/resolve/main/modules.json
- Command line
-
hf download hf://yoyo458/BioBERT_GOUniProt_FineTuned/modules.json
-
curl -L -o modules.json https://huggingface.co/yoyo458/BioBERT_GOUniProt_FineTuned/resolve/main/modules.json
277 Bytes
| [ | |
| { | |
| "idx": 0, | |
| "name": "0", | |
| "path": "", | |
| "type": "sentence_transformers.base.modules.transformer.Transformer" | |
| }, | |
| { | |
| "idx": 1, | |
| "name": "1", | |
| "path": "1_Pooling", | |
| "type": "sentence_transformers.sentence_transformer.modules.pooling.Pooling" | |
| } | |
| ] |