Replies: 1 comment
-
you are using Also, I would generally appreciate if you can provide a minimally reproducible example. i.e.:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon, I tried to implement the BM25s save and reloading of index and vocabulary as per the example given here: examples/save_and_reload_end_to_end.py. Despite using the "numba" backend and confirming that the index and vocab are loaded from disk in under a second, the actual retrieval step is taking 8+ seconds per query.
Here is my code for reference:
The retrieve function in particular i.e. this line:
results, scores = reloaded_retriever.retrieve(query_tokens.ids, k=top_k)
Is taking particularly long.
Is there a reason why this is taking so unusually long despite following the required steps?
Beta Was this translation helpful? Give feedback.
All reactions