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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 23d0b8a3359f1ce8a443e54b4d4d050dd6788dba0d449e5d0e1a21d86c2f0140
- Size of remote file:
- 232 kB
- SHA256:
- 07eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.