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

ERROR:mteb.evaluation.MTEB:Error while evaluating QuoraRetrieval: 'SimCSEWrapper' object has no attribute 'stop_multi_process_pool' #89

Closed
xinghaow99 opened this issue Nov 29, 2022 · 2 comments

Comments

@xinghaow99
Copy link

xinghaow99 commented Nov 29, 2022

Hi! Thanks for this easy-to-use repo!
While I'm getting this error when running the example script https://github.com/embeddings-benchmark/mtebscripts/blob/main/run_array_simcse.py on retrieval benchmarks like QuoraRetrieval.
How do I evaluate on retrieval tasks when using my own model with a wrapper?

@Muennighoff
Copy link
Contributor

Muennighoff commented Nov 29, 2022

Hi! Thanks for this easy-to-use repo! While I'm getting this error when running the example script https://github.com/embeddings-benchmark/mtebscripts/blob/main/run_array_simcse.py on retrieval benchmarks like QuoraRetrieval. How do I evaluate on retrieval tasks when using my own model with a wrapper?

Hey sorry for the trouble, can you try with beir==1.0.0?
I also just updated the mteb package not to use parallel encoding, which should solve the issue if you upgrade to the latest mteb version. Let me know if you still face problems!

@xinghaow99
Copy link
Author

Hi! Thanks for this easy-to-use repo! While I'm getting this error when running the example script https://github.com/embeddings-benchmark/mtebscripts/blob/main/run_array_simcse.py on retrieval benchmarks like QuoraRetrieval. How do I evaluate on retrieval tasks when using my own model with a wrapper?

Hey sorry for the trouble, can you try with beir==1.0.0? I also just updated the mteb package not to use parallel encoding, which should solve the issue if you upgrade to the latest mteb version. Let me know if you still face problems!

beir==1.0.0 solves the problem! Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants