ashishkgpian commited on
Commit
95f6bf6
1 Parent(s): 990580e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -2655,7 +2655,7 @@ docs = [
2655
  embeddings = model.encode(docs)
2656
 
2657
  # Optional: Quantize the embeddings
2658
- binary_embeddings = quantize_embeddings(embeddings, precision="ubinary")
2659
 
2660
  similarities = cos_sim(embeddings[0], embeddings[1:])
2661
  print('similarities:', similarities)
 
2655
  embeddings = model.encode(docs)
2656
 
2657
  # Optional: Quantize the embeddings
2658
+ binary_embeddings = quantize_embeddings(embeddings, precision="float32")
2659
 
2660
  similarities = cos_sim(embeddings[0], embeddings[1:])
2661
  print('similarities:', similarities)