Instructions to use nvidia/NV-Embed-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use nvidia/NV-Embed-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("nvidia/NV-Embed-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
error with module datasets
#31
by claraadam - opened
I have this error even if datasets is alrealdy install :
ImportError: This modeling file requires the following packages that were not found in your environment: datasets. Run pip install datasets
Any help ?
Hi, @claraadam . Could you share a sample code snippet for the dataset module example that results in the reported error?
I am facing an error when i load the model in my development environment , it is showing me message
"{
'error': 'Model nvidia/canary-1b is currently loading', 'estimated_time': 20.0
}"
I am facing this error on all nvidia models