Fixed repo name in Sentence Transformers snippet
Browse filesOops! I accidentally still kept the `../nomic-embed-text-v1` that I was using during testing.
- Tom Aarsen
README.md
CHANGED
@@ -2663,7 +2663,7 @@ Training data to train the models is released in its entirety. For more details,
|
|
2663 |
```python
|
2664 |
from sentence_transformers import SentenceTransformer
|
2665 |
|
2666 |
-
model = SentenceTransformer("
|
2667 |
sentences = ['What is TSNE?', 'Who is Laurens van der Maaten?']
|
2668 |
embeddings = model.encode(sentences)
|
2669 |
print(embeddings)
|
|
|
2663 |
```python
|
2664 |
from sentence_transformers import SentenceTransformer
|
2665 |
|
2666 |
+
model = SentenceTransformer("nomic-ai/nomic-embed-text-v1", trust_remote_code=True)
|
2667 |
sentences = ['What is TSNE?', 'Who is Laurens van der Maaten?']
|
2668 |
embeddings = model.encode(sentences)
|
2669 |
print(embeddings)
|