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