Code for The Annotated Transformer blog post:
http://nlp.seas.harvard.edu/2018/04/03/attention.html
To produce the .ipynb
notebook file using the markdown source, run:
make notebook
To produce the .ipynb
notebook file using the markdown source with all cells executed, run (note that this will abort of there are any errors in the notebook):
make execute
To produce the html version of the notebook, run:
make html