--- inference: false language: en license: - cc-by-sa-3.0 - gfdl library_name: txtai tags: - sentence-similarity datasets: - NeuML/constellations --- # Astronomy txtai embeddings This is a [txtai](https://github.com/neuml/txtai) embeddings index for a filtered set of articles about astronomy from [txtai-wikipedia](https://hf.co/neuml/txtai-wikipedia) combined with this [dataset of stars by constellation](https://hf.co/datasets/neuml/constellations). txtai must be [installed](https://neuml.github.io/txtai/install/) to use this model. ## Example This index can be loaded from the Hugging Face Hub with txtai as shown below. ```python from txtai import Embeddings # Load the index from the HF Hub embeddings = Embeddings() embeddings.load(provider="huggingface-hub", container="neuml/txtai-astronomy") # Search for matching documents embeddings.search("potential habitable planets") ``` ## More information Read more about this model and how it was built in [this article](https://neuml.hashnode.dev/parsing-the-s-with-txtai).