You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I opened this repository in 2017, there was no official code yet.
I tried to implement the paper as I understood, but to no surprise
it had several bugs. I realized them mostly thanks to people who issued here, so
I'm very grateful to all of them. Though there is the official implementation as well as
several other unofficial github repos, I decided to update my own one.
This update focuses on:
readable / understandable code writing
modularization (but not too much)
revising known bugs. (masking, positional encoding, ...)
updating to TF1.12. (tf.data, ...)
adding some missing components (bpe, shared weight matrix, ...)
including useful comments in the code.
I still stick to IWSLT 2016 de-en. I guess if you'd like to test on a big data such
as WMT, you would rely on the official implementation.
After all, it's pleasant to check quickly if your model works.
The initial code for TF1.2 is moved to the tf1.2_lecacy folder for the record.
Requirements
python==3.x (Let's move on to python 3 if you still use python 2)