# Train your own LLM from scratch

**URL:** <https://forum.devtalk.com/t/train-your-own-llm-from-scratch/244110>\
**Category:** AI In The News\
**Tags:** via-news-bot, github, llm, in-the-news\
**Created:** [7 May 2026 15:50 UTC](https://forum.devtalk.com/t/train-your-own-llm-from-scratch/244110 "2026-05-07T15:50:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CommunityNews](https://forum.devtalk.com/user_avatar/forum.devtalk.com/communitynews/32/1113_2.png) [@CommunityNews](https://forum.devtalk.com/u/CommunityNews)\
**Post date:** [7 May 2026 15:50 UTC](https://forum.devtalk.com/t/train-your-own-llm-from-scratch/244110/1 "2026-05-07T15:50:37Z")

</div>

> A hands-on workshop where you write every piece of a GPT training pipeline yourself, understanding what each component does and why.
> 
> Andrej Karpathy’s [nanoGPT](https://github.com/karpathy/nanoGPT) was my first real exposure to LLMs and transformers. Seeing how a working language model could be built in a few hundred lines of PyTorch completely changed how I thought about AI and inspired me to go deeper into the space.
> 
> This workshop is my attempt to give others that same experience. nanoGPT targets reproducing GPT-2 (124M params) and covers a lot of ground. This project strips it down to the essentials and scales it to a ~10M param model that trains on a laptop in under an hour — designed to be completed in a single workshop session.

Read in full here:

> **[GitHub - angelos-p/llm-from-scratch](https://github.com/angelos-p/llm-from-scratch)**
>
> Contribute to angelos-p/llm-from-scratch development by creating an account on GitHub.
