Update README.md
Browse files
README.md
CHANGED
@@ -18,7 +18,7 @@ documents = [
|
|
18 |
]
|
19 |
|
20 |
model = SparseTextEmbedding(model_name="prithivida/Splade_PP_en_v1")
|
21 |
-
embeddings = list(
|
22 |
|
23 |
# [
|
24 |
# SparseEmbedding(values=array(
|
|
|
18 |
]
|
19 |
|
20 |
model = SparseTextEmbedding(model_name="prithivida/Splade_PP_en_v1")
|
21 |
+
embeddings = list(model.embed(documents))
|
22 |
|
23 |
# [
|
24 |
# SparseEmbedding(values=array(
|