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
Unable to file folder for phrase in wikidump #13
Comments
Hi, could you check if the 'meta_compressed.pkl' is in the right place? It should be inside the 'dump' folder of the phrase index. |
Thanks for reply but 'meta_compressed.pkl' is under save_dir folder while in error its searching the phrase folder in data_dir |
Also just to add i am able to load the model, issue is while predicting using model.search |
That part of the code (requiring phrase folder) runs when meta_compressed.pkl does not exist or placed in a wrong place. Could you move it to the dump folder? SAVE_DIR/phrase-index/dump |
Ok got it. Actually I just though to use 1048576_flat_OPQ96_small and downloaded only that phrase index. Is it necessary to donload 74 GB file for testing. Do we have any other option to download this pkl file |
Oh yes. I'll upload the pkl file separately, soon. In the meantime you have to download the large index that contains the meta_compressed.pkl. Thanks for letting me know! |
Thank you for your help. |
Here's the meta_compressed.pkl. I'll update the readme as well. Let me know if the problem is fixed! |
sure, however i started downloading the bigger one. Will update you for same. |
Updated the README as well: https://github.com/princeton-nlp/DensePhrases#3-phrase-index |
Its working now. |
Hi, First of all many thanks for work.
I am trying to test this.
As per documentation I downloaded all 4 tar files (datasets, wikipediadump, pretrained models and phrase index). but while running getting the below mentioned error:
which seems to be finding some phrase folder in wikidump, which is not available at all.
Can u suggest the reason for same.
I have given correct path for all folders.
The text was updated successfully, but these errors were encountered: