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
File size: 129 Bytes
604908e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:da08d089e296c709167f128ef5673443540efe234e4bf817ca82ffe7e7a8a876
size 3951
|