This is a
txtai embeddings index for a filtered set of articles about astronomy from
txtai-wikipedia combined with this
dataset of stars by constellation.
This index can be loaded from the Hugging Face Hub with txtai as shown below.
1from txtai import Embeddings
2
3# Load the index from the HF Hub
4embeddings = Embeddings()
5embeddings.load(provider="huggingface-hub", container="neuml/txtai-astronomy")
6
7# Search for matching documents
8embeddings.search("potential habitable planets")
Read more about this model and how it was built in
this article.