Commit
·
b03d78b
1
Parent(s):
243add7
Update README
Browse files
README.md
CHANGED
@@ -23,7 +23,11 @@ This model can be used to build embeddings databases with [txtai](https://github
|
|
23 |
import txtai
|
24 |
|
25 |
# New embeddings with requested number of dimensions
|
26 |
-
embeddings = txtai.Embeddings(
|
|
|
|
|
|
|
|
|
27 |
embeddings.index(documents())
|
28 |
|
29 |
# Run a query
|
|
|
23 |
import txtai
|
24 |
|
25 |
# New embeddings with requested number of dimensions
|
26 |
+
embeddings = txtai.Embeddings(
|
27 |
+
path="neuml/pubmedbert-base-embeddings-matryoshka",
|
28 |
+
content=True,
|
29 |
+
dimensions=256
|
30 |
+
)
|
31 |
embeddings.index(documents())
|
32 |
|
33 |
# Run a query
|