This repository contains code and exercises for learning how to build a Large Language Model from scratch, following the principles and techniques described in the book "Build a Large Language Model (From Scratch)".
- Python 3.11 or higher
- uv package manager
-
Clone the repository:
git clone https://github.com/mustafa-zidan/llm-from-scratch.git cd llm-from-scratch -
Install dependencies using uv:
uv pip install -e . -
For development dependencies:
uv pip install -e ".[dev]"
This project is licensed under the MIT License - see the LICENSE file for details.