Skip to content

Commit

Permalink
Update reranking-best-practices.mdx
Browse files Browse the repository at this point in the history
Signed-off-by: Michael <[email protected]>
  • Loading branch information
mkozakov authored Nov 25, 2024
1 parent cdb127b commit 0541b9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ For example, if

Then the document will be broken into the following three chunks:

1. `relevance_score_1 = <2 (padding_tokens, query[0,99], document[0,3994]>`
1. `relevance_score_1 = <padding_tokens, query[0,99], document[0,3994]>`
1. `relevance_score_2 = <padding_tokens, query[0,99], document[3995,7989]>`
1. `relevance_score_3 = <padding_tokens, query[0,99],document[7990,9999]>`
1. `relevance_score_3 = <padding_tokens, query[0,99], document[7990,9999]>`

And the final relevance score for that document will be computed as the highest score among those chunks:
```python
Expand Down

0 comments on commit 0541b9c

Please sign in to comment.