Sentence Similarity
sentence-transformers
PyTorch
Transformers
bert
feature-extraction
text-embeddings-inference
Instructions to use gubartz/st_scibert_abstruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use gubartz/st_scibert_abstruct with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("gubartz/st_scibert_abstruct") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Transformers
How to use gubartz/st_scibert_abstruct with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("gubartz/st_scibert_abstruct") model = AutoModel.from_pretrained("gubartz/st_scibert_abstruct") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 877e73ff0a62b2ea16fe1ec6704393ea26bbe63a29577314e88c88d592d2fe9f
- Size of remote file:
- 440 MB
- SHA256:
- 9cf93e2b31d74965da1709c9dd48a40b1854f9340e3a29611f94ec9e24488c15
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.