-
Notifications
You must be signed in to change notification settings - Fork 7
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
basic question. How run it on windows ? #52
Comments
Dear @yw3l , Thanks for the comment. For this you might need to rename the I hope this helps. If you need prior assistance just let me know. and If this works for you please let me know as well to close this issue! |
thank you, thank you. I have another question in running the program, which is when I use the command ' python test.py --kb_name wn18rr --model_name bert_large --template template_1 --device cpu 'it tells me that can not find the wn18rr_entities.json file. your help is invaluable to me. sincerely. |
Dear @yw3l Correct, you might need to follow the data construction to be able to generate the |
Dear @HamedBabaei, |
Dear @yw3l thanks for bringing these to my attention. For your first question, I was using GPU servers for running experiments and it is not ideal to download models directly from self.parser.add_argument("--model_path", type=str, default=f"{self.llms_root_dir}/bert-large-uncased") to self.parser.add_argument("--model_path", type=str, default="bert-large-uncased") you might need to do the same for other models as well by adding huggingface repo id for Regarding your second question, on how to generate a file like thanks again for the hints! |
Dear @HamedBabaei thanks for your help. I modified the |
Dear @yw3l I think this arises because of the connection time out to the huggingface.co, I don't know how you can solve it, maybe downloading models in your local directory and providing a path to |
@yw3l I think your issue has been addressed, so I will close this issue. Feel free to reopened if you think still the problem is persisting. |
I just use pycharm virtual environment, can't find the .env file. installed requirements.txt, I ran test.py, and the program showed me the error is KeyError: 'OPENAI_API_KEY'. Can you give me some guidance?
Sincerely yours!
The text was updated successfully, but these errors were encountered: