Instructions to use mrp/SCT_Distillation_BERT_Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use mrp/SCT_Distillation_BERT_Small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("mrp/SCT_Distillation_BERT_Small") 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 mrp/SCT_Distillation_BERT_Small with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mrp/SCT_Distillation_BERT_Small", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- da2a361ea21c088d1a3ea9dff2fd8073e47af2eca4c79388598eb08311529db4
- Size of remote file:
- 2.1 MB
- SHA256:
- 6439ab9ff2781c86ea87e1896fa0795d8add61c210f94b3a0c204e840fab3f2a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.