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

How will I train the model and get the pickle files #3

Open
archana3194 opened this issue Mar 10, 2019 · 6 comments
Open

How will I train the model and get the pickle files #3

archana3194 opened this issue Mar 10, 2019 · 6 comments

Comments

@archana3194
Copy link

archana3194 commented Mar 10, 2019

IN WHICH FOLDER I NEED TO KEEP THE WIKI-DBPEDIA_TRAIN.PY @YueLiu

@lalppaul
Copy link

lalppaul commented Jul 8, 2019

Could you please answer this?

@YueLiu
Copy link
Owner

YueLiu commented Jul 8, 2019

Hi @archana3194 @lalppaul , there were two tf generated files you got after training the model. because they were too large so I could not upload them. you should be able to get them once you ran the end-end training. I suggest you try to use seq2seq/s2s_preprocess.py to generate the .pkl file. there s a local path needed for pretrained word2vec. Then you may try baselines/main.py and see if your input dimension is valid. (you might need to swap the loss.data[0] to loss.item() in main.py due to the recent update in pytorch)

@YueLiu
Copy link
Owner

YueLiu commented Jul 8, 2019

and of course, you need to prepare your training corpus following this pattern

@lalppaul
Copy link

lalppaul commented Jul 9, 2019

Thanks for the response. I ran the s2s_preprocess.py file and generated the 20180405.pkl file. After that i tried running the main.py from baselines and found out that i was missing train, test and valid pkl files. Am i missing any steps in between. Also, could you please provide the training corpus? Thanks in advance!!

@petrLorenc
Copy link

@YueLiu I have the same problem - could you please update the instruction how to run your code?

@mitchelldehaven
Copy link

Has anyone gotten this code working that could give the steps required to get it training?

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

5 participants