This repository contains the code for all the chapters of My adventures with LLM book.
-
Install uv: https://docs.astral.sh/uv/getting-started/installation/
-
Create the uv environment:
uv sync- Activate the environment:
source .venv/bin/activate- Setup the environment variables. You will need a Hugging Face token to download the models.
cp .env.sample .envSpecific chapters have their own README with instructions on how to run the code.
For example, to run the code for chapter 1, go to the ch1 folder and follow the instructions in the README.