Update README.md
Browse files
README.md
CHANGED
@@ -21,7 +21,7 @@ documents = [
|
|
21 |
]
|
22 |
|
23 |
model = SparseTextEmbedding(model_name="Qdrant/bm42-all-minilm-l6-v2-attentions")
|
24 |
-
embeddings = list(
|
25 |
|
26 |
# [
|
27 |
# SparseEmbedding(values=array([0.26399775, 0.24662513, 0.47077307]),
|
|
|
21 |
]
|
22 |
|
23 |
model = SparseTextEmbedding(model_name="Qdrant/bm42-all-minilm-l6-v2-attentions")
|
24 |
+
embeddings = list(model.embed(documents))
|
25 |
|
26 |
# [
|
27 |
# SparseEmbedding(values=array([0.26399775, 0.24662513, 0.47077307]),
|