Skip to content
#

scratch-implementation

Here are 330 public repositories matching this topic...

This repository guides you through the process of building a GPT-style Large Language Model (LLM) from scratch using PyTorch. The structure and approach are inspired by the book Build a Large Language Model (From Scratch) by Sebastian Raschka.

  • Updated Oct 29, 2025
  • Jupyter Notebook
ML-Algorithms-from-scratch

28 machine learning algorithms in plain NumPy, from linear regression to XGBoost, UMAP and learning-to-rank. Every algorithm has a runnable demo and a guide that explains the maths next to the code. Learn ML from scratch, prepare for interviews, or teach it.

  • Updated Oct 28, 2026
  • Python

Add this topic to your repo

To associate your repository with the scratch-implementation topic, visit your repo's landing page and select "manage topics."

Learn more