plain python code #792
Answered
by
rasbt
brucetrask2
asked this question in
Q&A
plain python code
#792
-
Is the plain python code available or only via the notebook files? |
Beta Was this translation helpful? Give feedback.
Answered by
rasbt
Aug 28, 2025
Replies: 1 comment 1 reply
-
The main chapters are only available as Jupyter notebooks because it's more readable with section headers etc. But you can export executable scripts (plain Python code) directly from the notebook: Alternatively, you can also find the function and classes being used in the main chapters in the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rasbt
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main chapters are only available as Jupyter notebooks because it's more readable with section headers etc. But you can export executable scripts (plain Python code) directly from the notebook:
Alternatively, you can also find the function and classes being used in the main chapters in the
pkg
folder: https://github.com/rasbt/LLMs-from-scratch/tree/main/pkg/llms_from_scratch