The maths you need to start understanding LLMs

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
sponsored
  1. thinking-in-tensors-writing-in-pytorch

    Thinking in tensors, writing in PyTorch (a hands-on deep learning intro)

    Well, in short - basic linear algebra, basic probability, analysis (functions like exp), gradient.

    At some point I tried to create an introduction step-by-step, where people can interact with these concepts and see how to express it in PyTorch:

    https://github.com/stared/thinking-in-tensors-writing-in-pyt...

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Well, in short - basic linear algebra, basic probability, analysis (functions like exp), gradient.

    At some point I tried to create an introduction step-by-step, where people can interact with these concepts and see how to express it in PyTorch:

    https://github.com/stared/thinking-in-tensors-writing-in-pyt...

  4. Mathematics-for-Machine-Learning-and-Data-Science-Specialization-Coursera

    Mathematics for Machine Learning and Data Science Specialization - Coursera - deeplearning.ai - solutions and notes

    I'm simultaneously working through the book Math and Architectures of Deep Learning, which is helping re-inforce and flesh out the ideas from the course.

    [0] https://www.coursera.org/specializations/mathematics-for-mac...

  5. LLMs-from-scratch

    Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

    Here is the code used in the book - https://github.com/rasbt/LLMs-from-scratch

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Run Big LLMs on Small GPUs: A Hands-On Guide to 4-bit Quantization and QLoRA

    6 projects | dev.to | 27 Nov 2025
  • Show HN: Tinyvision:-Building Ultra-Lightweight Models for Image Tasks

    1 project | news.ycombinator.com | 29 Mar 2026
  • GSoC 2026 Predictions: 30 NEW AI/ML/Security Organizations You Should Start Contributing to NOW!

    37 projects | dev.to | 6 Feb 2026
  • Deep universal probabilistic programming with Python and PyTorch

    1 project | news.ycombinator.com | 14 Nov 2025
  • PyTorch vs TensorFlow 2025: Which one wins after 72 hours?

    3 projects | dev.to | 29 Aug 2025