39 Commits

Author SHA1 Message Date
Sebastian Raschka
78bbcb3643
Remove redundant model = (#663) 2025-06-13 11:03:55 -05:00
Sebastian Raschka
3c29b67cd0
Add torchrun bonus code (#524) 2025-02-11 17:01:09 -06:00
Victor Skvortsov
f90bec7dfb
Comment that DDP-script.py does not work with GPUs > 2 (#523) 2025-02-11 13:23:49 -06:00
Sebastian Raschka
75133605c5
Set sampler in DDP example 2024-10-21 09:26:01 -05:00
Sebastian Raschka
4caafddb93
Improve DDP on Windows (#376)
* Update DDP-script.py for Windows

* Windows handling

---------

Co-authored-by: Nathan Brown <nathan@nkbrown.us>
2024-09-29 16:53:48 -05:00
Sebastian Raschka
08040f024c
Test code in pytorch 2.4 (#285)
* test code in pytorch 2.4

* update
2024-07-24 21:53:41 -05:00
Daniel Kleine
81c843bdc0
minor fixes (#246)
* removed duplicated white spaces

* Update ch07/01_main-chapter-code/ch07.ipynb

* Update ch07/05_dataset-generation/llama3-ollama.ipynb

* removed duplicated white spaces

* fixed title again

---------

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
2024-06-25 17:30:30 -05:00
Sebastian Raschka
233c861930
Add A.1 and A.2 solutions (#198)
* add A.1 and A.2 solutions

* fix links
2024-06-08 09:50:01 -05:00
rasbt
f95e0a910d
easier to read tensor formatting 2024-06-02 21:08:35 -05:00
rasbt
98d453b666
update formatting 2024-05-24 07:20:37 -05:00
rasbt
80113872c7
update header 2024-05-24 07:15:41 -05:00
Sebastian Raschka
ae3020bc12
setup instruction note 2024-04-10 22:13:22 -04:00
Sebastian Raschka
e757091301
Organized setup instructions (#115)
* Organized setup instructions

* update tets

* link checker action

* raise error upon broken link

* fix links

* fix links

* delete duplicated paragraph
2024-04-10 22:09:46 -04:00
Sebastian Raschka
028a346498
move devcontainer (#113) 2024-04-08 20:49:37 -04:00
rasbt
dd115c1374 improve importlib experience for windows users 2024-04-03 06:31:15 -05:00
Suman Debnath
7b7d23a4e1
fixing the README for python setup under appendix-A (#102)
* fixing the README for python setup under appendix-A

* fixing the README for python setup under appendix-A
2024-04-02 15:51:11 -05:00
rasbt
ca96b7aee5 minor updates 2024-03-29 20:42:32 -05:00
rasbt
c88e8edf72 use probas in argmax 2024-03-26 08:38:27 -05:00
Sebastian Raschka
cf39abac04 Add and link bonus material (#84) 2024-03-23 07:27:43 -05:00
Sebastian Raschka
a2cd8436cb Ch05 supplementary code (#81) 2024-03-19 09:26:26 -05:00
Sebastian Raschka
ca96abac8a Set up basic test gh worklows (#79)
* Set up basic test gh worklows

* update file paths

* env check

* add env check

* Update requirements.txt

* simplify

* upd
2024-03-18 11:58:37 -05:00
Sebastian Raschka
9d6da22ebb Update pep8 (#78)
* simplify requirements file

* style

* apply linter
2024-03-18 08:16:17 -05:00
Sebastian Raschka
329d046b5d simplify requirements file (#76) 2024-03-18 08:00:49 -05:00
Daniel Kleine
809ea9d196 Update README.md
updated readme for Docker with CUDA support instructions
2024-03-13 18:51:20 +01:00
Sebastian Raschka
c071ea73f9 Update DDP-script.py
Fix for-loop
2024-03-01 18:31:05 -06:00
Rayed Bin Wahed
c47e434162 Update README.md
Correct spelling mistake
2024-03-01 01:56:58 +08:00
rasbt
fb770ef97c update docker files and docs 2024-02-29 08:22:53 -06:00
Rayed Bin Wahed
45a10dd823 Add devcontainer starter doc 2024-02-27 13:04:06 +08:00
rasbt
c4803bb91a add libmamba 2024-01-28 12:47:29 -06:00
rasbt
22442b7012 use torch.softmax instead of F.softmax 2024-01-28 12:25:49 -06:00
rasbt
f6896d17ef image resizing 2024-01-21 20:25:34 -06:00
rasbt
fdfa39eb71 additional package installation info 2024-01-21 20:16:19 -06:00
rasbt
f279134492 small cosmetic fixes and improvements 2024-01-10 08:01:19 -06:00
rasbt
690a1a62b0 add comments to ToC and fix link 2024-01-07 15:13:53 -06:00
Megabyte
0beb32b45a Update requirements.txt
Add tiktoken library version 0.5.1 as used in chapter 02 for section 2.5 Byte pair encoding.
2023-12-27 16:30:31 +03:00
rasbt
d82a5d6c08 remove temp files 2023-12-09 17:20:40 -06:00
rasbt
31980a6ef1 add ch03 and TOC 2023-12-09 17:13:56 -06:00
rasbt
c8825b7c22 add exercise solutions 2023-10-27 06:19:40 -05:00
rasbt
5723c3802b restruture old ch02 into appendix A 2023-09-22 07:01:08 -05:00