Sentence Similarity
English
txtai
txtai-astronomy / README.md
davidmezzetti's picture
Initial version
da25ec9
metadata
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 embeddings index for a filtered set of articles about astronomy from txtai-wikipedia combined with this dataset of stars by constellation.

txtai must be installed to use this model.

Example

This index can be loaded from the Hugging Face Hub with txtai as shown below.

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.