jon-tow commited on
Commit
9b92baf
1 Parent(s): b81467f

Update model name in usage example

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -25,8 +25,8 @@ def mean_pooling(token_embeddings, mask):
25
  return sentence_embeddings
26
 
27
  # Remove pooling layer
28
- model = AutoModel.from_pretrained("carperai/carptriever-1", add_pooling_layer=False)
29
- tokenizer = AutoTokenizer.from_pretrained("carperai/carptriever-1")
30
 
31
  sentences = [
32
  "Where was Marie Curie born?", # Query
 
25
  return sentence_embeddings
26
 
27
  # Remove pooling layer
28
+ model = AutoModel.from_pretrained("Carper-AI/carptriever-1", add_pooling_layer=False)
29
+ tokenizer = AutoTokenizer.from_pretrained("Carper-AI/carptriever-1")
30
 
31
  sentences = [
32
  "Where was Marie Curie born?", # Query