mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-12-28 23:52:11 +00:00
Formatting improvements (#134)
* formatting improvements * .yml triggers
This commit is contained in:
parent
9a5d4d8ac9
commit
ca47c5e4b2
4
.github/workflows/basic-tests-linux.yml
vendored
4
.github/workflows/basic-tests-linux.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Code tests on Linux
|
||||
name: Code tests (Linux)
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -7,6 +7,7 @@ on:
|
||||
- '**/*.py' # Run workflow for changes in Python files
|
||||
- '**/*.ipynb'
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- '**/*.sh'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
@ -14,6 +15,7 @@ on:
|
||||
- '**/*.py'
|
||||
- '**/*.ipynb'
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- '**/*.sh'
|
||||
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/basic-tests-macos.yml
vendored
4
.github/workflows/basic-tests-macos.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Code tests on macOS
|
||||
name: Code tests (macOS)
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -7,6 +7,7 @@ on:
|
||||
- '**/*.py' # Run workflow for changes in Python files
|
||||
- '**/*.ipynb'
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- '**/*.sh'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
@ -14,6 +15,7 @@ on:
|
||||
- '**/*.py'
|
||||
- '**/*.ipynb'
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- '**/*.sh'
|
||||
|
||||
jobs:
|
||||
|
||||
4
.github/workflows/basic-tests-windows.yml
vendored
4
.github/workflows/basic-tests-windows.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Code tests on Windows
|
||||
name: Code tests (Windows)
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -7,6 +7,7 @@ on:
|
||||
- '**/*.py' # Run workflow for changes in Python files
|
||||
- '**/*.ipynb'
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- '**/*.sh'
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
@ -14,6 +15,7 @@ on:
|
||||
- '**/*.py'
|
||||
- '**/*.ipynb'
|
||||
- '**/*.yaml'
|
||||
- '**/*.yml'
|
||||
- '**/*.sh'
|
||||
|
||||
jobs:
|
||||
|
||||
12
README.md
12
README.md
@ -16,7 +16,6 @@ The method described in this book for training and developing your own small-but
|
||||
- Link to the official [source code repository](https://github.com/rasbt/LLMs-from-scratch)
|
||||
- [Link to the early access version](http://mng.bz/orYv) at Manning
|
||||
- ISBN 9781633437166
|
||||
- Publication in Early 2025 (estimated)
|
||||
|
||||
<br>
|
||||
<br>
|
||||
@ -37,16 +36,17 @@ Alternatively, you can view this and other files on GitHub at [https://github.co
|
||||
|
||||
<br>
|
||||
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/basic-tests-linux.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/basic-tests-windows.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/basic-tests-macos.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/pep8-linter.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/basic-tests-linux.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/basic-tests-windows.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/basic-tests-macos.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/pep8-linter.yml)
|
||||
[](https://github.com/rasbt/LLMs-from-scratch/actions/workflows/check-links.yml)
|
||||
|
||||
<br>
|
||||
|
||||
| Chapter Title | Main Code (for quick access) | All Code + Supplementary |
|
||||
|------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|-------------------------------|
|
||||
| [Setup recommendations](setup) | - | - |
|
||||
| Ch 1: Understanding Large Language Models | No code | - |
|
||||
| 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 3: Coding Attention Mechanisms | - [ch03.ipynb](ch03/01_main-chapter-code/ch03.ipynb)<br/>- [multihead-attention.ipynb](ch03/01_main-chapter-code/multihead-attention.ipynb) (summary) <br/>- [exercise-solutions.ipynb](ch03/01_main-chapter-code/exercise-solutions.ipynb)| [./ch03](./ch03) |
|
||||
@ -93,7 +93,7 @@ Several folders contain optional materials as a bonus for interested readers:
|
||||
- [Adding Bells and Whistles to the Training Loop](ch05/04_learning_rate_schedulers)
|
||||
- [Optimizing Hyperparameters for Pretraining](ch05/05_bonus_hparam_tuning)
|
||||
- **Chapter 6:**
|
||||
- [Additional experiments finetuning different layers and using larger models](ch06/02_bonus_additional-experiments)
|
||||
- [Additional experiments finetuning different layers and using larger models](ch06/02_bonus_additional-experiments)
|
||||
- [Finetuning different models on 50k IMDB movie review dataset](ch06/03_bonus_imdb-classification)
|
||||
|
||||
<br>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user