Michael Feil commited on
Commit
0f45e29
1 Parent(s): 67a456d

update readme

Browse files
Files changed (1) hide show
  1. README.md +11 -1
README.md CHANGED
@@ -2671,4 +2671,14 @@ If you find our paper or models helpful, please consider cite as follows:
2671
 
2672
  ## Limitations
2673
 
2674
- This model only works for English texts. Long texts will be truncated to at most 512 tokens.
 
 
 
 
 
 
 
 
 
 
 
2671
 
2672
  ## Limitations
2673
 
2674
+ This model only works for English texts. Long texts will be truncated to at most 512 tokens.
2675
+
2676
+ ## Sentence Transformers
2677
+
2678
+ Below is an example for usage with sentence_transformers. `pip install sentence_transformers~=2.2.2`
2679
+ This is community contributed, and results may vary up to numerical precision.
2680
+ ```
2681
+ from sentence_transformers import SentenceTransformer
2682
+ model = SentenceTransformer('intfloat/e5-small-v2')
2683
+ embeddings = model.encode(input_texts, normalize_embeddings=True)
2684
+ ```