Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
40 lines (28 sloc)
1.99 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Capreolus | |
========================================= | |
Capreolus is a toolkit for constructing flexible *ad hoc retrieval pipelines*. Capreolus pipelines can be run via a Python or command line interface. | |
Want to jump in? `Get started with a Notebook. <https://colab.research.google.com/drive/161FnmLt3PgIXG-Z5eNg45z2iSZucVAnr?usp=sharing>`_ |Colab Badge| | |
Capreolus is organized around the idea of interchangeable and configurable *modules*, such as a neural ``Reranker`` or a first stage ``Searcher``. Researchers can implement new module classes, such as a new neural ``Reranker``, to experiment with a new module while controlling for all other variables in the pipeline (e.g., the first stage ranking method and its parameters, folds used for cross-validation, tokenization and embeddings if applicable used with the reranker, neural training options like the number of iterations, batch size, and loss function, etc). | |
Since Capreolus v0.2, *pipelines* are instances of the ``Task`` module and can be combined like any other module. | |
For example, the ``RerankTask`` implements a "search-then-rerank" pipeline by running ``RankTask`` and reranking its output. | |
Both ``Task`` modules respect the same folds (provided by a ``Benchmark``) and can be configured independently (e.g., to optimize for different metrics). | |
Looking for the code? `Find Capreolus on GitHub. <https://github.com/capreolus-ir/capreolus>`_ | |
.. toctree:: | |
:maxdepth: 2 | |
:caption: Contents: | |
quick | |
installation | |
cli | |
modules | |
tpu | |
.. Indices and tables | |
================== | |
* :ref:`genindex` | |
* :ref:`modindex` | |
* :ref:`search` | |
Looking for the previous "search-then-rerank" pipeline that was presented in the WSDM'20 demo paper? | |
Check out Capreolus v0.1 and `the corresponding documentation. <https://capreolus.ai/en/v0.1.4/>`_ | |
.. |Colab Badge| image:: https://colab.research.google.com/assets/colab-badge.svg | |
:alt: Open in Colab | |
:scale: 100% | |
:target: https://colab.research.google.com/drive/161FnmLt3PgIXG-Z5eNg45z2iSZucVAnr?usp=sharing | |