Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am having issue while initializing Reranker #16

Closed
abhigrazitti opened this issue May 6, 2024 · 2 comments
Closed

I am having issue while initializing Reranker #16

abhigrazitti opened this issue May 6, 2024 · 2 comments

Comments

@abhigrazitti
Copy link

ranker = Ranker()
rerankrequest = RerankRequest(query=query, passages=initial_docs)
reordered_docs = ranker.rerank(rerankrequest)

ERROR:main:Error processing query: [WinError 2] The system cannot find the file specified: '\opt'

@PrithivirajDamodaran
Copy link
Owner

Please share additional details on the OS you are installing etc ?

@Eknathabhiram
Copy link

@abhigrazitti
ERROR:main:Error processing query: [WinError 2] The system cannot find the file specified: '\opt'.

You can try changing your destination folder to your working directory, your model will be saved there itself.

use ranker = Ranker(cache_dir="your working directory")

@PrithivirajDamodaran PrithivirajDamodaran closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2024
Repository owner locked and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants