Learn AI Layer by Layer

Introduction

An interactive tutorial about how modern AI actually works.

The genesis of this tutorial is that I wanted my 11 year old son Isaac to understand how modern AI works.

I looked at existing tutorials, but all the ones I could find were either too hand-wavey, required a level of existing expertise he didn't have, or just weren't sufficiently "fun" for him to want to complete them. Maybe something better existed, but I didn't find it. So I decided to create my own.

My goal is that this tutorial should be accessible to anyone with a middle-school level understanding of math, and yet give the reader a deep intuitive sense of not just how AI works, but why it works the way it does.

The trick I'm using to do this is a series of interactive playgrounds to illustrate each new idea. It's much easier to understand an idea if you don't just read about it, but directly play with it. I've also got a Google Colab notebook for each chapter, for more advanced readers who want to play with the real code behind each chapter.

This tutorial isn't yet finished. At the time of writing it only goes up to the Transformer (which seemed a suitable milestone for a first release) but I want to eventually cover all of the ideas behind the current cutting edge models. subscribe to my substack or follow me on linkedin if you want to know when new chapters get released.

And please do email me at rob.ennals@gmail.com if you found anything confusing, find any errors, or want it to explain something better. I do want to hear from you and I'll usually reply.

i

I'd love to hear from you.

I want every chapter to be easy for everyone to understand. Please send a message if anything was unclear, if you'd like something explained in more depth, or if there's something about this part of AI you wanted to understand that the chapter didn't cover. I'll get an email and reply when I can.