Sentence Similarity
sentence-transformers
PyTorch
roberta
feature-extraction
text-embeddings-inference
Instructions to use ncoop57/codeformer-java with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ncoop57/codeformer-java with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ncoop57/codeformer-java") 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:
- 1f1cb7ee4f281c3a8c33172e77d7c86f1faa37518e73d1f09e9d76625a901ae6
- Size of remote file:
- 499 MB
- SHA256:
- 32585d7934eb60f052d5f63f7c6ba6159183bccc30cde299785c25177df7c884
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.