Generating graph and language embeddings for the Heritage Connector project.
A library that:
- Takes JSON data of collection item descriptions or TSV/CSV data of triples, exported from
heritage-connector
. - Calculates sentence (using
sentence-transformers
) or graph (usingpyKEEN
) embeddings for this data. - Provides a unified interface for accessing these embeddings.
- set up (install requirements and pre-commit hooks):
make init
- run api for nearest neighbour search:
python -m src.api -p {port}