Sentence Similarity
sentence-transformers
Safetensors
mistralbidirectional
swe-bench
code-similarity
code-retrieval
code-search
code-explanation
custom_code
Instructions to use nvidia/NV-EmbedCode-7b-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nvidia/NV-EmbedCode-7b-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nvidia/NV-EmbedCode-7b-v1", trust_remote_code=True) sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- f964821e3aea7128b2e03bb313661782a3204ac133a1b760707843be1f5c2d15
- Size of remote file:
- 5 GB
- SHA256:
- 06a46f14ef742551f9186862260eb5fe7be1c5f4d263ea3dfbd061730d6c9249
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.