RNN-for-Joint-NLU icon indicating copy to clipboard operation
RNN-for-Joint-NLU copied to clipboard

There aren't models documents that contains the jointnlu-encoder.pkl and jointnlu-decoder.pkl model

Open AlexNLP opened this issue 2 years ago • 1 comments

FileNotFoundError: [Errno 2] No such file or directory: 'models/jointnlu-encoder.pkl'**** FileNotFoundError: [Errno 2] No such file or directory: 'models/jointnlu-decoder.pkl'****

There aren't models documents that contains the jointnlu-encoder.pkl and jointnlu-decoder.pkl model, could you give me a solution?

AlexNLP avatar Aug 30 '22 13:08 AlexNLP

The file you mentioned is used to save the state of the trained model, which is generated by train.py. You can look at train.py to see the steps to save the model state. If you are running with jupyter notebook, just delete those two lines of code. The jupyter notebook files are just copies of data.py, train.py and test.py, and the authors don't think about how to run them in jupyter notebook.

An-old-dream avatar Jul 22 '23 08:07 An-old-dream