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
Update README.md
Browse files
README.md
CHANGED
|
@@ -11,6 +11,8 @@ tags:
|
|
| 11 |
- sentence-similarity
|
| 12 |
widget: []
|
| 13 |
license: other
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
|
| 16 |
## Introduction
|
|
|
|
| 11 |
- sentence-similarity
|
| 12 |
widget: []
|
| 13 |
license: other
|
| 14 |
+
license_name: nvidia-ai-foundation-models-community-license-agreement
|
| 15 |
+
license_link: https://developer.nvidia.com/downloads/ai-foundation-models-license
|
| 16 |
---
|
| 17 |
|
| 18 |
## Introduction
|