Skip to content

IndexError: list index out of range when running evaluation on certain datasets #1313

Closed Answered by isaacna
isaacna asked this question in Q&A
Discussion options

You must be logged in to vote

Found the root cause. I didn't realize that the RetrievalEvaluator was doing some batching under the hood for encode_corpus calls. I was doing some caching locally to store embedding results but this was causing some mismatch issues with the batching

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by isaacna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant