Closed HSILA closed 1 month ago
@HSILA thanks for making us aware of this. There is currently a PR modifying the e5 model (#1085).
Using that branch I could reproduce the error, which occur during the corpus encoding as the request_qid is passed onto the encode_corpus function. I added a fix for the problem and ~it should merge along with the PR.~ it merged along with the PR.
Edit: will close this PR. Let me know if the issue remains
Cloning the repo, installing it in editable mode with pip
And running the following script:
Will throw the following error:
OS: Debian 12 Python: 3.11.2 Version: 1.12.88 Commit: 74661c4548f2113b98afdf1c042d9ac62ab4ed71