Model Card for bert-hash-nano-embeddings LiteRT
bert-hash-nano-embeddings LiteRT model.
This can be run in txtai using the following code.
import txtai
embeddings = txtai.Embeddings(
path="neuml/bert-hash-nano-embeddings-litert/bert-hash-nano-embeddings-fp16.tflite",
content=True,
)
embeddings.index(documents())
# Run a query
embeddings.search("query to run")
See this link to see the code used to create this model.