Skip to content

Commit

Permalink
update documentation for pyterrier transformers
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjleo committed Dec 15, 2024
1 parent 83ab446 commit dc91095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fast_forward/docs/pyterrier.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Fast-Forward indexes can seamlessly be integrated into [PyTerrier](https://pyterrier.readthedocs.io/en/latest/) pipelines using the transformers provided in `fast_forward.util.pyterrier`. Specifically, a re-ranking pipeline might look like this, given that `my_index` is a Fast-Forward index of the MS MARCO passage corpus:

```python
bm25 = pt.BatchRetrieve.from_dataset(
bm25 = pt.terrier.Retriever.from_dataset(
"msmarco_passage", variant="terrier_stemmed", wmodel="BM25"
)

Expand Down

0 comments on commit dc91095

Please sign in to comment.