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.
git clone https://github.com/k2393937499/Transformer.git cd Transformer conda create -n Transformer python=3.10 conda activate Transformer pip install -r requirements.txt ...