From 8939fdc846463f7fbcc481516f5c5e04295c77e9 Mon Sep 17 00:00:00 2001 From: Sebastian Raschka Date: Wed, 26 Feb 2025 13:53:22 -0600 Subject: [PATCH] Add setup video tutorial (#547) * Add setup video tutorial * updated link checks * updated link checks --- .github/workflows/check-links.yml | 11 ++++++++++- ch01/README.md | 12 +++++++++++- setup/README.md | 10 +++++++++- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 1764532..b35e7f1 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -30,6 +30,15 @@ jobs: - name: Check links run: | source .venv/bin/activate - pytest --ruff --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://openai.com/*" --check-links-ignore "https://arena.lmsys.org" --check-links-ignore https://unsloth.ai/blog/gradient --check-links-ignore "https://www.reddit.com/r/*" --check-links-ignore "https://code.visualstudio.com/*" --check-links-ignore https://arxiv.org/* --check-links-ignore "https://ai.stanford.edu/~amaas/data/sentiment/" + pytest --ruff --check-links ./ \ + --check-links-ignore "https://platform.openai.com/*" \ + --check-links-ignore "https://openai.com/*" \ + --check-links-ignore "https://arena.lmsys.org" \ + --check-links-ignore "https://unsloth.ai/blog/gradient" \ + --check-links-ignore "https://www.reddit.com/r/*" \ + --check-links-ignore "https://code.visualstudio.com/*" \ + --check-links-ignore "https://arxiv.org/*" \ + --check-links-ignore "https://ai.stanford.edu/~amaas/data/sentiment/" \ + --check-links-ignore "https://x.com/*" # pytest --check-links ./ --check-links-ignore "https://platform.openai.com/*" --check-links-ignore "https://arena.lmsys.org" --retries 2 --retry-delay 5 diff --git a/ch01/README.md b/ch01/README.md index b7d064c..501a4af 100644 --- a/ch01/README.md +++ b/ch01/README.md @@ -10,7 +10,17 @@ There is no code in this chapter.   ## Bonus Materials -As optional bonus material, below is a video tutorial where I explain the LLM development lifecycle covered in this book: +In the video below, I share my personal approach to setting up a Python environment on my computer: + +
+
+ +[![Link to the video](https://img.youtube.com/vi/yAcWnfsZhzo/0.jpg)](https://www.youtube.com/watch?v=yAcWnfsZhzo) + +
+
+ +As an optional bonus, the following video tutorial provides an overview of the LLM development lifecycle covered in this book:

diff --git a/setup/README.md b/setup/README.md index 33f0059..22ce200 100644 --- a/setup/README.md +++ b/setup/README.md @@ -19,8 +19,16 @@ pip install -r requirements.txt > `pip install uv && uv pip install --system -r https://raw.githubusercontent.com/rasbt/LLMs-from-scratch/refs/heads/main/requirements.txt` -  +In the video below, I share my personal approach to setting up a Python environment on my computer: + +
+
+ +[![Link to the video](https://img.youtube.com/vi/yAcWnfsZhzo/0.jpg)](https://www.youtube.com/watch?v=yAcWnfsZhzo) + + +  # Local Setup This section provides recommendations for running the code in this book locally. Note that the code in the main chapters of this book is designed to run on conventional laptops within a reasonable timeframe and does not require specialized hardware. I tested all main chapters on an M3 MacBook Air laptop. Additionally, if your laptop or desktop computer has an NVIDIA GPU, the code will automatically take advantage of it.