Downloads · 30 days
2.1K
50% of all-time downloads
NeuML/bert-hash-nano-embeddings-litert
bert-hash-nano-embeddings-litert is a sentence similarity model from NeuML. Use it when you need a score for how close two texts are. It is set up for litert. The card lists the license as apache-2.0.
Downloads · 30 days
2.1K
50% of all-time downloads
All-time downloads
4.1K
Public
Repo size
8.5 MB
Likes
1
Public
Click a slice to open those files.
.tflite8.5 MB · 92%
From the Hugging Face model README
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.