Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjleo committed Oct 24, 2024
1 parent 5f690f1 commit 84dfcaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast_forward/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ result = my_index(ranking)

Here, `queries` is a simple dictionary mapping query IDs to actual queries to be encoded. The resulting ranking, `result`, has the semantic scores for the query-document (or query-passage) pairs. Afterwards, retrieval and re-ranking scores may be combined (see `fast_forward.ranking`).

If the input rankings has a large number of queries, one can use the `batch_size` parameter. The following example processes the ranking in batches of `16` queries each:
If the input ranking has a large number of queries, one can use the `batch_size` parameter. The following example processes the ranking in batches of `16` queries each:

```python
result = my_index(ranking, batch_size=16)
Expand Down

0 comments on commit 84dfcaa

Please sign in to comment.