Spacerini: Plug-and-play Search Engines with Pyserini and Hugging Face

Christopher Akiki, Odunayo Ogundepo, Aleksandra Piktus, Xinyu Zhang, Akintunde Oladipo +2 more
2/28/2023
5 citations
cs.IRcs.CL

Official code: castorini/hf-spacerini (31 stars, Python, Apache-2.0, last commit 2023-08-05).

Abstract

We present Spacerini, a tool that integrates the Pyserini toolkit for reproducible information retrieval research with Hugging Face to enable the seamless construction and deployment of interactive search engines. Spacerini makes state-of-the-art sparse and dense retrieval models more accessible to non-IR practitioners while minimizing deployment effort.

Show full abstract

This is useful for NLP researchers who want to better understand and validate their research by performing qualitative analyses of training corpora, for IR researchers who want to demonstrate new retrieval models integrated into the growing Pyserini ecosystem, and for third parties reproducing the work of other researchers. Spacerini is open source and includes utilities for loading, preprocessing, indexing, and deploying search engines locally and remotely. We demonstrate a portfolio of 13 search engines created with Spacerini for different use cases.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Plug-and-play Search Interfaces with Pyserini and Hugging Face

314PythonOct 28, 20223 years agoApache-2.0
information-retrievalsearch-interface

Similar Papers

Cite this paper

@article{akiki2023spacerini,
  title  = {Spacerini: Plug-and-play Search Engines with Pyserini and Hugging Face},
  author = {Christopher Akiki and Odunayo Ogundepo and Aleksandra Piktus and Xinyu Zhang and Akintunde Oladipo and Jimmy Lin and Martin Potthast},
  year   = {2023},
  eprint = {2302.14534},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.14534v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.14534.svg)](https://codeofpaper.com/paper/2302.14534)

Discussion