pyterrier-caching provides several components for caching intermediate results.
The right component will depend on your use case.
Install this package using pip:
pip install pyterrier-cachingOverview:
- Cache scorer/reranker results with
ScorerCache - Cache retriever results with
RetrieverCache - Cache indexing streams with
IndexerCache