flâneur — a map of the web's best reading

harvardnlp/annotated-transformer: An annotated implementation of the Transformer paper. ·

github.com · 346 words · saved by 1 readers

An annotated implementation of the Transformer paper.

Code for The Annotated Transformer blog post: http://nlp.seas.harvard.edu/annotated-transformer/ Package Dependencies Use requirements.txt to install library dependencies with pip: pip install -r requirements.txt Notebook Setup The Annotated Transformer is created using jupytext . Regular notebooks pose problems for source control - cell outputs end up in the repo history and diffs between commits are difficult to examine. Using jupytext, there is a python script ( .py file) that is automatically kept in sync with the notebook file by the jupytext plugin. The python script is committed contain

Explore this link on the map →

saved by

related reading