NeuML/bert-hash-nano-embeddings-litert

🤗 Hugging Face 来源sentence-similarityapache-2.08 MBother✓ 4 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo NeuML/bert-hash-nano-embeddings-litert ./model-folder
需要做种者 →

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.