graykode / nlp-tutorial

Natural Language Processing Tutorial for Deep Learning Researchers
https://www.reddit.com/r/MachineLearning/comments/amfinl/project_nlptutoral_repository_who_is_studying/
MIT License
14.31k stars 3.95k forks source link

Modifying Seq2Seq.py to test prediction #70

Closed karim-moon closed 3 years ago

karim-moon commented 3 years ago

As I wrote in issue #69, translate function has little problem. (no pre-defined args and using make_batch function to test)

I Modified some code in Seq2Seq.py to run whole example.

Please review the code and let me know if there's some mistakes.

Thanks.