Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -2631,7 +2631,8 @@ python -m pip install -U sentence-transformers
2631
 
2632
  ```python
2633
  from sentence_transformers import SentenceTransformer
2634
- from sentence_transformers.util import cos_sim, quantize_embeddings
 
2635
 
2636
  # 1. Specify preffered dimensions
2637
  dimensions = 512
 
2631
 
2632
  ```python
2633
  from sentence_transformers import SentenceTransformer
2634
+ from sentence_transformers.util import cos_sim
2635
+ from sentence_transformers.quantization import quantize_embeddings
2636
 
2637
  # 1. Specify preffered dimensions
2638
  dimensions = 512