Sentence Similarity
sentence-transformers
PyTorch
mpnet
feature-extraction
text-embeddings-inference
Instructions to use AISE-TUDelft/python-summary-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use AISE-TUDelft/python-summary-classifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("AISE-TUDelft/python-summary-classifier") 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] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f370b47ecda8ab05c2abedb99604669530ff2278cf8d056159be117a8b0dc6b0
- Size of remote file:
- 6.99 kB
- SHA256:
- fc4aae7f37b291cf4f399229064ae394a7b43442180c6d16e6e6ca7a544c4e52
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.