You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In [*Build a Large Language Model (From Scratch)*](http://mng.bz/orYv), you'll discover how LLMs work from the inside out. In this book, I'll guide you step by step through creating your own LLM, explaining each stage with clear text, diagrams, and examples.
12
+
In [*Build a Large Language Model (From Scratch)*](http://mng.bz/orYv), you'll discover how LLMs work from the inside out. In this book, I'll guide you step by step through creating your own LLM, explaining each stage with clear text, diagrams, and examples.
13
13
14
14
The method described in this book for training and developing your own small-but-functional model for educational purposes mirrors the approach used in creating large-scale foundational models such as those behind ChatGPT.
15
15
@@ -37,7 +37,7 @@ Alternatively, you can view this and other files on GitHub at [https://github.co
37
37
| Ch 2: Working with Text Data | - [ch02.ipynb](ch02/01_main-chapter-code/ch02.ipynb)<br/>- [dataloader.ipynb](ch02/01_main-chapter-code/dataloader.ipynb) (summary)<br/>- [exercise-solutions.ipynb](ch02/01_main-chapter-code/exercise-solutions.ipynb)|[./ch02](./ch02)|
| Ch 4: Implementing a GPT Model from Scratch | - [ch04.ipynb](ch04/01_main-chapter-code/ch04.ipynb)<br/>- [gpt.py](ch04/01_main-chapter-code/gpt.py) (summary)<br/>- [exercise-solutions.ipynb](ch04/01_main-chapter-code/exercise-solutions.ipynb)|[./ch04](./ch04)|
40
-
| Ch 5: Pretraining on Unlabeled Data | - [ch05.ipynb](ch05/01_main-chapter-code/ch05.ipynb)|[./ch05](./ch05)|
40
+
| Ch 5: Pretraining on Unlabeled Data | - [ch05.ipynb](ch05/01_main-chapter-code/ch05.ipynb)<br/>- [train.py](ch05/01_main-chapter-code/train.py) (summary) <br/>- [generate.py](ch05/01_main-chapter-code/generate.py) (summary)|[./ch05](./ch05)|
41
41
| Ch 6: Finetuning for Text Classification | Q2 2024 | ... |
42
42
| Ch 7: Finetuning with Human Feedback | Q2 2024 | ... |
43
43
| Ch 8: Using Large Language Models in Practice | Q2/3 2024 | ... |
@@ -58,4 +58,3 @@ Alternatively, you can view this and other files on GitHub at [https://github.co
58
58
Shown below is a mental model summarizing the contents covered in this book.
Copy file name to clipboardExpand all lines: appendix-A/02_installing-python-libraries/python_environment_check.ipynb
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
{
2
2
"cells": [
3
+
{
4
+
"cell_type": "markdown",
5
+
"id": "c31e08b0-f551-4d67-b95e-41f49de3b392",
6
+
"metadata": {},
7
+
"source": [
8
+
"<font size=\"1\">\n",
9
+
"Supplementary code for \"Build a Large Language Model From Scratch\": <a href=\"https://www.manning.com/books/build-a-large-language-model-from-scratch\">https://www.manning.com/books/build-a-large-language-model-from-scratch</a> by <a href=\"https://sebastianraschka.com\">Sebastian Raschka</a><br>\n",
Copy file name to clipboardExpand all lines: appendix-A/03_main-chapter-code/code-part1.ipynb
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,16 @@
1
1
{
2
2
"cells": [
3
+
{
4
+
"cell_type": "markdown",
5
+
"id": "f896245e-57c4-48fd-854f-9e43f22e10c9",
6
+
"metadata": {},
7
+
"source": [
8
+
"<font size=\"1\">\n",
9
+
"Supplementary code for \"Build a Large Language Model From Scratch\": <a href=\"https://www.manning.com/books/build-a-large-language-model-from-scratch\">https://www.manning.com/books/build-a-large-language-model-from-scratch</a> by <a href=\"https://sebastianraschka.com\">Sebastian Raschka</a><br>\n",
Copy file name to clipboardExpand all lines: appendix-A/03_main-chapter-code/code-part2.ipynb
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
{
2
2
"cells": [
3
+
{
4
+
"cell_type": "markdown",
5
+
"metadata": {},
6
+
"source": [
7
+
"<font size=\"1\">\n",
8
+
"Supplementary code for \"Build a Large Language Model From Scratch\": <a href=\"https://www.manning.com/books/build-a-large-language-model-from-scratch\">https://www.manning.com/books/build-a-large-language-model-from-scratch</a> by <a href=\"https://sebastianraschka.com\">Sebastian Raschka</a><br>\n",
Copy file name to clipboardExpand all lines: appendix-A/03_main-chapter-code/exercise-solutions.ipynb
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
{
2
2
"cells": [
3
+
{
4
+
"cell_type": "markdown",
5
+
"metadata": {},
6
+
"source": [
7
+
"<font size=\"1\">\n",
8
+
"Supplementary code for \"Build a Large Language Model From Scratch\": <a href=\"https://www.manning.com/books/build-a-large-language-model-from-scratch\">https://www.manning.com/books/build-a-large-language-model-from-scratch</a> by <a href=\"https://sebastianraschka.com\">Sebastian Raschka</a><br>\n",
0 commit comments