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