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.