Instructions to use bhavyagiri/InLegal-Sbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use bhavyagiri/InLegal-Sbert with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("bhavyagiri/InLegal-Sbert") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 5533533330243cae35e0530daaddfb989cd94a7a62a50416013a8551d7cc0524
- Size of remote file:
- 438 MB
- SHA256:
- 76f999350d530d830fdd86bd8c58fbca40ddf320dc9ffd86757fae3863112d41
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.