NeuML/txtai-intro

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

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

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo NeuML/txtai-intro ./model-folder
需要做种者 →

Introducing txtai embeddings index

This is a txtai embeddings index from the Introducing txtai example notebook.

txtai must be installed to use this model.

Example

Version 5.4 added support for loading embeddings indexes from the Hugging Face Hub. See the example below.

from txtai.embeddings import Embeddings

# Load the index from the HF Hub
embeddings = Embeddings()
embeddings.load(provider="huggingface-hub", container="neuml/txtai-intro")

# Run a search
embeddings.search("Tell me a feel good story")