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