Train Your Own LLM from Scratch

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. SaaSHub

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

    SaaSHub logo
  2. lectures

  3. LLMs-from-scratch

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

    Coincidentally, I just started on Build a Large Language Model (From Scratch), a repo/book/course by Sebastian Raschka [0][1][2]. Maybe it is a good problem to have to have to decide which learning resource to use.

    [0] https://github.com/rasbt/LLMs-from-scratch

    [1] https://www.manning.com/books/build-a-large-language-model-f...

    [2] https://magazine.sebastianraschka.com/p/coding-llms-from-the...

  4. DeepLearning-with-PyTorch-from-Scratch

    shameless plug:

    A series of Jupyter notebooks explaining the whole machine learning mechanism, from the beginning

    https://github.com/nickyreinert/DeepLearning-with-PyTorch-fr...

    and of course also how to build an llm from scratch

    https://github.com/nickyreinert/basic-llm-with-pytorch/blob/...

  5. basic-llm-with-pytorch

    Basic implementation of Large Language Model in Pytorched (Revised free-code-camp example)

    shameless plug:

    A series of Jupyter notebooks explaining the whole machine learning mechanism, from the beginning

    https://github.com/nickyreinert/DeepLearning-with-PyTorch-fr...

    and of course also how to build an llm from scratch

    https://github.com/nickyreinert/basic-llm-with-pytorch/blob/...

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

  • DeepSeek Sparse Attention

    1 project | news.ycombinator.com | 24 May 2026
  • Fazendo um LLM do Zero #00: Antes da Inteligência, a Oficina 🛠️🧠

    2 projects | dev.to | 14 Feb 2026
  • Olmo 3 from Scratch (Standalone Notebook)

    1 project | news.ycombinator.com | 24 Nov 2025
  • Explanation of Gated DeltaNet (Qwen3-Next and Kimi Linear)

    1 project | news.ycombinator.com | 3 Nov 2025
  • [Book Review] Build a Large Language Model (From Scratch) by Sebastian Raschka

    1 project | dev.to | 7 Oct 2025

Did you know that Jupyter Notebook is
the 15th most popular programming language
based on number of references?