SeanLee97 commited on
Commit
53b0346
1 Parent(s): 6575f67

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -2646,7 +2646,7 @@ angle = AnglE.from_pretrained('WhereIsAI/UAE-Large-V1', pooling_strategy='cls').
2646
  angle.set_prompt(prompt=Prompts.C)
2647
  vec = angle.encode({'text': 'hello world'}, to_numpy=True)
2648
  print(vec)
2649
- vecs = angle.encode([{'text': 'hello world1', 'text': 'hello world2'}], to_numpy=True)
2650
  print(vecs)
2651
  ```
2652
 
 
2646
  angle.set_prompt(prompt=Prompts.C)
2647
  vec = angle.encode({'text': 'hello world'}, to_numpy=True)
2648
  print(vec)
2649
+ vecs = angle.encode([{'text': 'hello world1'}, {'text': 'hello world2'}], to_numpy=True)
2650
  print(vecs)
2651
  ```
2652