hitvoice / DrQA

A pytorch implementation of Reading Wikipedia to Answer Open-Domain Questions.
401 stars 109 forks source link

no model file #13

Closed augmen closed 6 years ago

augmen commented 6 years ago

I run the command python interact.py got this error (pt) swapnilbhadade@hitvoice:~/pt/DrQA-1$ python interact.py Traceback (most recent call last): File "interact.py", line 22, in <module> checkpoint = torch.load(args.model_file) File "/home/swapnilbhadade/pt/lib/python3.5/site-packages/torch/serialization.py", line 301, in load f = open(f, 'rb') FileNotFoundError: [Errno 2] No such file or directory: 'models/best_model.pt'

hitvoice commented 6 years ago

You need to download SQuAD and train the model first. Pretrained models are not provided currently.

augmen commented 6 years ago

ok