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