Skip to content
All resources

AI & Machine Learning

Teach computers to learn from data.

From the intuition behind neural networks to training models and building with LLMs.

124 resourcesSuggest a resource

Learning path

Work through these in order. Each step builds on the last.

Everything in AI & Machine Learning

3Blue1Brown, Neural Networks

Beautifully animated videos explaining neural networks, backprop and transformers.

youtube.com

Video

Google Machine Learning Crash Course

A fast-paced, practical intro with videos, visualizations and exercises.

developers.google.com

Course

Machine Learning Specialization

Andrew Ng's beginner-friendly ML course. Free to audit.

coursera.org

Course

Kaggle Learn

Short, hands-on micro-courses that run in the browser.

kaggle.com

Course

scikit-learn User Guide

The docs for Python's standard classic-ML library, with worked examples.

scikit-learn.org

Docs

Mathematics for Machine Learning

A free book on the linear algebra, calculus and probability behind ML.

mml-book.github.io

Book

Practical Deep Learning for Coders

fast.ai's top-down course. Train real models from lesson one.

course.fast.ai

Course

Dive into Deep Learning

An interactive deep learning book with runnable code for every chapter.

d2l.ai

Book

PyTorch Tutorials

Official tutorials for building and training models with PyTorch.

docs.pytorch.org

Docs

Neural Networks: Zero to Hero

Andrej Karpathy builds neural networks and a GPT from scratch, in code.

karpathy.ai

Video

Hugging Face LLM Course

Learn transformers, fine-tuning and building with open models.

huggingface.co

Course

Hugging Face

The hub for open models, datasets and demos. Build, train and deploy with open-source ML.

huggingface.co

Tool

AI Engineer Roadmap

A step-by-step map for building products with AI models.

roadmap.sh

Roadmap

Stanford CS229, Machine Learning

Stanford's classic ML course with lecture notes covering the theory behind core algorithms.

cs229.stanford.edu

Course

Stanford CS229 Lectures (Andrew Ng)

Full recorded lectures of Stanford's machine learning course taught by Andrew Ng.

youtube.com

Video

Stanford CS231n, Deep Learning for Computer Vision

The famous computer vision course with excellent notes on CNNs and training networks.

cs231n.stanford.edu

Course

CS231n Course Notes

Clear written notes on neural networks, backprop and convolutional networks.

cs231n.github.io

Guide

Stanford CS224n, NLP with Deep Learning

Stanford's NLP course covering word vectors, RNNs, attention and transformers.

web.stanford.edu

Course

MIT 6.S191, Introduction to Deep Learning

MIT's fast-paced intro to deep learning with lectures and hands-on labs.

introtodeeplearning.com

Course

Deep Learning Specialization

Andrew Ng's five-course series on neural networks, CNNs and sequence models. Free to audit.

coursera.org

Course

DeepLearning.AI Short Courses

Free one-to-two hour courses on LLMs, RAG, agents and prompt engineering.

deeplearning.ai

Course

Deep Learning (Goodfellow, Bengio, Courville)

The classic deep learning textbook, free to read online.

deeplearningbook.org

Book

Neural Networks and Deep Learning (Nielsen)

A free, gentle online book that builds a neural network from first principles.

neuralnetworksanddeeplearning.com

Book

An Introduction to Statistical Learning

The friendly, free textbook on classic ML methods, with R and Python editions.

statlearning.com

Book

The Elements of Statistical Learning

The deeper, more mathematical companion to ISL. Free PDF.

hastie.su.domains

Book

Understanding Deep Learning

Simon Prince's modern, free deep learning textbook with Python notebooks.

udlbook.github.io

Book

Probabilistic Machine Learning (Murphy)

Kevin Murphy's comprehensive books on ML from a probabilistic view. Free PDFs.

probml.github.io

Book

Hands-On Machine Learning (Géron) Notebooks

Companion notebooks for the popular book on scikit-learn, Keras and TensorFlow.

github.com

Repo

Essence of Linear Algebra

3Blue1Brown's visual series that makes vectors and matrices click.

youtube.com

Video

Essence of Calculus

3Blue1Brown's visual intro to derivatives, integrals and the chain rule.

youtube.com

Video

Mathematics for Machine Learning Specialization

Imperial College's course on linear algebra, calculus and PCA for ML. Free to audit.

coursera.org

Course

MIT 18.06 Linear Algebra (Gilbert Strang)

The legendary linear algebra course with full video lectures.

ocw.mit.edu

Course

The Matrix Calculus You Need For Deep Learning

A clear explainer of the matrix derivatives used in backpropagation.

explained.ai

Article

The Illustrated Transformer

Jay Alammar's famous visual walkthrough of how transformers work.

jalammar.github.io

Article

Attention Is All You Need

The 2017 paper that introduced the transformer architecture.

arxiv.org

Article

The Annotated Transformer

The transformer paper rebuilt line by line in PyTorch with explanations.

nlp.seas.harvard.edu

Article

Let's build GPT from scratch

Karpathy codes a small GPT step by step, explaining attention along the way.

youtube.com

Video

nanoGPT

The simplest repo for training and fine-tuning medium-sized GPTs.

github.com

Repo

LLM Visualization

An interactive 3D walkthrough of every step inside a GPT model.

bbycroft.net

Tool

Transformer Explainer

Run GPT-2 in your browser and see how each part of the transformer works.

poloclub.github.io

Tool

LLM Course (Maxime Labonne)

A popular roadmap and notebooks for LLM fundamentals, fine-tuning and deployment.

github.com

Repo

Prompt Engineering Guide

Techniques, examples and papers for prompting LLMs effectively.

promptingguide.ai

Guide

Anthropic Prompt Engineering Docs

Practical prompting techniques from the makers of Claude.

platform.claude.com

Docs

OpenAI Cookbook

Example code and guides for common tasks with the OpenAI API.

developers.openai.com

Guide

Building Effective Agents

Anthropic's guide to simple, composable patterns for LLM agents.

anthropic.com

Article

Hugging Face Agents Course

A free course on building AI agents with open-source tools.

huggingface.co

Course

Hugging Face Diffusion Models Course

Learn how image-generating diffusion models work and train your own.

huggingface.co

Course

Hugging Face Deep RL Course

A free hands-on course on deep reinforcement learning.

huggingface.co

Course

Hugging Face Computer Vision Course

A community course on modern computer vision with open models.

huggingface.co

Course

Hugging Face Transformers Docs

Docs for the library that loads and fine-tunes thousands of pretrained models.

huggingface.co

Docs

Reinforcement Learning: An Introduction

Sutton and Barto's classic RL textbook, free online.

incompleteideas.net

Book

Spinning Up in Deep RL

OpenAI's educational guide to deep reinforcement learning with code.

spinningup.openai.com

Guide

David Silver's RL Course

DeepMind's David Silver teaches the foundations of reinforcement learning.

davidsilver.uk

Course

Gymnasium

The standard library of environments for training RL agents.

gymnasium.farama.org

Tool

PyTorch Documentation

The official API reference for PyTorch.

docs.pytorch.org

Docs

Learn PyTorch for Deep Learning

A free beginner-friendly online book and video course on PyTorch.

learnpytorch.io

Course

TensorFlow Tutorials

Official tutorials for building models with TensorFlow and Keras.

tensorflow.org

Docs

Keras

A high-level deep learning API with many clear code examples.

keras.io

Docs

JAX

Google's library for fast, composable numerical computing and autodiff.

docs.jax.dev

Docs

PyTorch Lightning

A wrapper that removes boilerplate from PyTorch training loops.

lightning.ai

Docs

XGBoost

The gradient boosting library that wins countless tabular-data competitions.

xgboost.readthedocs.io

Docs

LightGBM

Microsoft's fast gradient boosting framework for tabular data.

lightgbm.readthedocs.io

Docs

LangChain

A framework for building LLM apps with chains, tools and agents.

docs.langchain.com

Docs

LlamaIndex

A framework for connecting your own data to LLMs, popular for RAG.

developers.llamaindex.ai

Docs

Ollama

Run open LLMs like Llama and Gemma locally with one command.

ollama.com

Tool

llama.cpp

Fast LLM inference in C/C++ that runs on laptops and phones.

github.com

Repo

LM Studio

A desktop app to download and chat with local LLMs.

lmstudio.ai

Tool

vLLM

A high-throughput engine for serving LLMs in production.

docs.vllm.ai

Docs

Unsloth

Fine-tune open LLMs faster with less memory, with free Colab notebooks.

github.com

Repo

Gradio

Build a web demo for your ML model in a few lines of Python.

gradio.app

Tool

Google Colab

Free Jupyter notebooks in the browser with GPU access.

colab.research.google.com

Tool

Kaggle Competitions

Real ML challenges with datasets, leaderboards and public notebooks.

kaggle.com

Practice

Hugging Face Papers

Trending ML research papers each day, with linked models, code and discussion.

huggingface.co

Tool

arXiv Machine Learning

Where new machine learning research papers appear first.

arxiv.org

Tool

Distill

Interactive, beautifully explained research articles on ML concepts.

distill.pub

Article

Lil'Log

Lilian Weng's in-depth posts on transformers, agents, diffusion and RL.

lilianweng.github.io

Article

Chris Olah's Blog

Classic visual explanations, including the famous LSTM post.

colah.github.io

Article

Andrej Karpathy's YouTube

Long-form lectures building and explaining neural networks and LLMs.

youtube.com

Video

Two Minute Papers

Short, enthusiastic videos on the latest AI research.

youtube.com

Video

Yannic Kilcher

Detailed paper walkthroughs and ML news.

youtube.com

Video

The Batch

DeepLearning.AI's weekly newsletter on AI news and ideas.

deeplearning.ai

Article

Lex Fridman Podcast

Long conversations with AI researchers and engineers.

lexfridman.com

Podcast

Latent Space

Podcast and newsletter for AI engineers building with LLMs.

latent.space

Podcast

Made With ML

Learn to design, develop, deploy and iterate on production ML systems.

madewithml.com

Course

MLOps Zoomcamp

A free course on putting ML models into production.

github.com

Course

Full Stack Deep Learning

Lectures on shipping deep learning and LLM products end to end.

fullstackdeeplearning.com

Course

MLflow

Open-source platform for tracking experiments and managing models.

mlflow.org

Tool

Weights & Biases

Track experiments and visualize training runs. Free for students.

wandb.ai

Tool

Machine Learning Zoomcamp

A free, project-based ML engineering course from DataTalks.Club.

github.com

Course

ML for Beginners (Microsoft)

A 12-week, 26-lesson curriculum on classic machine learning.

github.com

Course

AI for Beginners (Microsoft)

A 12-week curriculum on neural networks, CV and NLP.

github.com

Course

Generative AI for Beginners (Microsoft)

Lessons on building generative AI apps with LLMs.

github.com

Course

AI Agents for Beginners (Microsoft)

Lessons on designing and building AI agents.

github.com

Course

Awesome Machine Learning

A huge curated list of ML frameworks, libraries and software.

github.com

Repo

Awesome Deep Learning

A curated list of deep learning tutorials, projects and communities.

github.com

Repo

Awesome LLM

A curated list of LLM papers, frameworks and resources.

github.com

Repo

ML Papers Explained

Short explanations of key ideas in landmark ML papers.

github.com

Repo

Stanford ML Cheatsheets

Compact cheatsheets for supervised, unsupervised and deep learning.

stanford.edu

Cheatsheet

Machine Learning Glossary (Google)

Definitions for hundreds of ML terms.

developers.google.com

Guide

Rules of Machine Learning

Google's best practices for ML engineering.

developers.google.com

Guide

A Recipe for Training Neural Networks

Karpathy's practical process for training networks without pain.

karpathy.github.io

Article

TensorFlow Playground

Tinker with a small neural network right in your browser.

playground.tensorflow.org

Tool

CNN Explainer

An interactive visualization of how convolutional networks classify images.

poloclub.github.io

Tool

OpenCV

Tutorials for the most popular computer vision library.

docs.opencv.org

Docs

Ultralytics YOLO

Docs for YOLO, the go-to model for real-time object detection.

docs.ultralytics.com

Docs

spaCy

Industrial-strength NLP in Python, with a free course.

spacy.io

Docs

Speech and Language Processing (Jurafsky & Martin)

The standard NLP textbook, free draft online.

web.stanford.edu

Book

Hugging Face Open LLM Leaderboard

Compare open-source LLMs on standard benchmarks.

huggingface.co

Tool

LMArena

Compare chatbots side by side and see crowd-sourced rankings.

arena.ai

Tool

r/MachineLearning

A large community for ML research news and discussion.

reddit.com

Community

r/LocalLLaMA

The community for running and fine-tuning open LLMs locally.

reddit.com

Community

Hugging Face Discord

Chat with the open-source ML community.

hf.co

Community

Model Context Protocol

The open standard for connecting LLM apps to tools and data.

modelcontextprotocol.io

Docs

Pinecone Learning Center

Guides on embeddings, vector search and retrieval-augmented generation.

pinecone.io

Guide

Sentence Transformers

Compute text embeddings for semantic search and RAG.

sbert.net

Docs

Chroma

An open-source vector database that is easy to start with.

docs.trychroma.com

Tool

FAISS

Meta's library for fast similarity search over vectors.

github.com

Repo

Machine Learning Mastery

Practical step-by-step tutorials for applied ML in Python.

machinelearningmastery.com

Guide

Interpretable Machine Learning

A free book on making black-box models explainable.

christophm.github.io

Book

Designing Machine Learning Systems

Chip Huyen's book on building reliable ML systems in production.

oreilly.com

Book

Chip Huyen's Blog

Essays on ML systems, LLM engineering and MLOps.

huyenchip.com

Article

Deep Learning Tuning Playbook

Google's guide to tuning hyperparameters of deep learning models.

github.com

Guide

Anthropic Courses

Free notebooks on the Claude API, prompting and tool use.

github.com

Course

Machine Learning Engineering (Stas Bekman)

An open book on training and serving large models on real hardware.

github.com

Book