Skip to content

Commit

Permalink
Add setup video tutorial (#547)
Browse files Browse the repository at this point in the history
* Add setup video tutorial

* updated link checks

* updated link checks
  • Loading branch information
rasbt authored Feb 26, 2025
1 parent cd5cf81 commit 8939fdc
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 11 additions & 1 deletion ch01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<br>
<br>

[![Link to the video](https://img.youtube.com/vi/yAcWnfsZhzo/0.jpg)](https://www.youtube.com/watch?v=yAcWnfsZhzo)

<br>
<br>

As an optional bonus, the following video tutorial provides an overview of the LLM development lifecycle covered in this book:

<br>
<br>
Expand Down
10 changes: 9 additions & 1 deletion setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

&nbsp;

In the video below, I share my personal approach to setting up a Python environment on my computer:

<br>
<br>

[![Link to the video](https://img.youtube.com/vi/yAcWnfsZhzo/0.jpg)](https://www.youtube.com/watch?v=yAcWnfsZhzo)


&nbsp;
# 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.
Expand Down

0 comments on commit 8939fdc

Please sign in to comment.