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