NeuML/txtai-intro

🤗 Hugging Face sourcesentence-similarityapache-2.01 MBother✓ 2 checksumsupdated today
Submit in one command

Run it next to your model folder. It makes the torrent, checks your files against Hugging Face, and submits it. You just start seeding and paste your key from your account. It only reads your files and never changes them. Read the script first if you like.

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo NeuML/txtai-intro ./model-folder
Needs a seeder →

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")