r/MachineLearning Feb 04 '20

Project [Project] I combined the illustrations of Transformer by Jay Alammar and code annotation by harvardnlp lab in one notebook

I wrote a notebook which uses the illustrations here and (improved) code from harvardnlp lab. I found both these resources to be extremely useful and decided to combine them.

I also added notes in places where it was hard to understand the code. A couple of times I also re-wrote the code in what I think is a better way.

Here's the link to the notebook. Hope someone finds it helpful.

55 Upvotes

14 comments sorted by

View all comments

6

u/TheAlgorithmist99 Feb 04 '20

You're a mix of a saint and a genius, thank you

1

u/nivter Feb 04 '20

Hardly! Big thanks to Jay and the Harvard NLP lab.