sondotpin/llm-scratch

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

39
/ 100
Emerging

This project helps machine learning engineers and researchers understand and implement large language models (LLMs) from the ground up. You'll put in foundational knowledge of neural networks and Python, and get out a fully functional GPT-like LLM, including pretraining, finetuning for classification, and instruction-following capabilities. It's designed for those who want to build and customize their own LLMs.

No commits in the last 6 months.

Use this if you are a machine learning engineer or researcher who wants to learn the inner workings of large language models by building one from scratch.

Not ideal if you are looking for a pre-built solution or a high-level library to simply use an LLM without understanding its underlying architecture.

Machine Learning Engineering Natural Language Processing AI Research Deep Learning Model Development
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 15 / 25

How are scores calculated?

Stars

17

Forks

4

Language

Jupyter Notebook

License

Last pushed

Apr 30, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/sondotpin/llm-scratch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.