Fixed repo name in Sentence Transformers snippet (#3)
Browse files- Fixed repo name in Sentence Transformers snippet (1930f92c9fc991c21973dd205714f86ba1c45d22)
Co-authored-by: Tom Aarsen <tomaarsen@users.noreply.huggingface.co>
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)
|