sentence-transformers
PyTorch
Spanish
roberta
relation-classification
bert
biomedical
lexical semantics
bionlp
Instructions to use BSC-NLP4BIA/biomedical-semantic-relation-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BSC-NLP4BIA/biomedical-semantic-relation-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BSC-NLP4BIA/biomedical-semantic-relation-classifier") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d2392e80c413c0f20dc8448b79e70e92dd7b6f0ba2190394070d1c9d68cbed5b
- Size of remote file:
- 3.95 kB
- SHA256:
- da08d089e296c709167f128ef5673443540efe234e4bf817ca82ffe7e7a8a876
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.