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

Can you put back the train algo? #5

Open
vedmathai opened this issue Apr 12, 2019 · 1 comment
Open

Can you put back the train algo? #5

vedmathai opened this issue Apr 12, 2019 · 1 comment

Comments

@vedmathai
Copy link

I have been using this library for six months now and must say it is really useful. Good job. However, I noticed you had included the training file in v1 but now removed it. I am really interested in training my own sequences and even the p2g side. I am able to use git history to get the earlier version. But was hoping if you could add it back in case there are any improvements.

Ved

@Kyubyong
Copy link
Owner

Hi Ved,
Thanks for the sweet feedback.
At this update, I used pytorch instead of TF because it was easier to convert tensor into numpy arrays. See this for the training code: https://github.com/Kyubyong/nlp_made_easy/blob/master/PyTorch%20seq2seq%20template%20based%20on%20the%20g2p%20task.ipynb
Earlier I used a seq2seq framework with attention, but I changed it to a simpler seq2seq, which sets the last state of the encoder as the initial state of the decoder. That's simply for simplicity.

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

2 participants