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