zpn commited on
Commit
24e49ac
1 Parent(s): bf57b13

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -2669,7 +2669,7 @@ def mean_pooling(model_output, attention_mask):
2669
  sentences = ['What is TSNE?', 'Who is Laurens van der Maaten?']
2670
 
2671
  tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')
2672
- model = AutoModel.from_pretrained('nomic-ai/nomic-embed-text-v1-unsupervised', trust_remote_code=True)
2673
 
2674
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
2675
 
 
2669
  sentences = ['What is TSNE?', 'Who is Laurens van der Maaten?']
2670
 
2671
  tokenizer = AutoTokenizer.from_pretrained('bert-base-uncased')
2672
+ model = AutoModel.from_pretrained('nomic-ai/nomic-embed-text-v1', trust_remote_code=True)
2673
 
2674
  encoded_input = tokenizer(sentences, padding=True, truncation=True, return_tensors='pt')
2675