48 Commits

Author SHA1 Message Date
Sebastian Raschka
4014bdd520
Ch06 classifier function asserts (#703) 2025-06-23 08:21:55 -05:00
Sebastian Raschka
c21bfe4a23
Add PyPI package (#576)
* Add PyPI package

* fixes

* fixes
2025-03-23 19:28:49 -05:00
Sebastian Raschka
d1e99f6092
Fix timeout issue related to spam data backup url (#544)
* Add backup url for Spam Dataset

* import urllib

* fix url

* fix timeout issue
2025-02-20 09:26:23 -06:00
Sebastian Raschka
c39aa32ef5
Add backup url for Spam Dataset (#543)
* Add backup url for Spam Dataset

* import urllib

* fix url
2025-02-20 08:08:28 -06:00
Sebastian Raschka
a08d7aaa84
Uv workflow improvements (#531)
* Uv workflow improvements

* Uv workflow improvements

* linter improvements

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* pytproject.toml fixes

* windows fixes

* windows fixes

* windows fixes

* windows fixes

* windows fixes

* windows fixes

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix

* win32 fix
2025-02-16 13:16:51 -06:00
Sebastian Raschka
a6cc574605
Upgrade to NumPy 2.0 (#520)
* Upgrade to NumPy 2.0

* bump pytorch

* bump pytorch

* bump pytorch

* bump pytorch

* bump pytorch

* update

* update packages
2025-02-09 06:21:58 -06:00
Sebastian Raschka
8cfa52bf1d
More pythonic way to find the longest sequence (#512)
* More pythonic way to find the longest sequence

* pep8 fix
2025-02-01 10:22:47 -06:00
Sebastian Raschka
f6281ab91b
Add utility to prevent double execution of certain cells (#437) 2024-11-14 19:56:49 +09:00
Sebastian Raschka
7ef5129e18
Fix truncation issue in classify_review function (#373) 2024-09-25 19:54:36 -05:00
Sebastian Raschka
c443035d56
Note about MPS in ch06 and ch07 (#325) 2024-08-19 08:11:33 -05:00
TITC
38390b2a8d
track tokens seen in chapter5, track examples seen in chapter6 (#319) 2024-08-13 07:09:05 -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
Sebastian Raschka
4f0a107692 show how to use the finetuned model 2024-07-09 06:43:26 -07:00
Sebastian Raschka
f6bcdd37bd
Fix links in summary sections (#254) 2024-06-29 07:51:31 -05:00
rasbt
31806828d0
add links to summary sections 2024-06-29 07:33:26 -05:00
Daniel Kleine
1e69c8e0b5
fixed minor issues (#252)
* fixed typo

* fixed var name in md text
2024-06-29 06:38:25 -05:00
Jinge Wang
10018e00ff
Fixed some typos in ch06.ipynb (#219) 2024-06-18 05:54:01 -05:00
rasbt
3e0b0c66a8
fix spelling 2024-06-18 05:50:40 -05:00
rasbt
19c5784f82
replace figure 2024-06-18 05:46:36 -05:00
Daniel Kleine
dcbdc1d2e5
fixes for code (#206)
* updated .gitignore

* removed unused GELU import

* fixed model_configs, fixed all tensors on same device

* removed unused tiktoken

* update

* update hparam search

* remove redundant tokenizer argument

---------

Co-authored-by: rasbt <mail@sebastianraschka.com>
2024-06-11 20:59:48 -05:00
rasbt
1b1fd21d64
fix typo in comment 2024-06-09 06:14:02 -05:00
rasbt
98d453b666
update formatting 2024-05-24 07:20:37 -05:00
rasbt
18e729643d
add assertion about data set length 2024-05-23 06:50:43 -05:00
rasbt
a8a28017c0
remove duplicated text 2024-05-19 11:34:47 -05:00
rasbt
c7c83904a0
tokens seen -> examples seen 2024-05-13 20:08:48 -05:00
rasbt
281400feca
add missing figure 2024-05-12 18:37:02 -05:00
rasbt
2e47a6e61c
update dataset naming 2024-05-12 09:22:42 -05:00
rasbt
55c3a91838
rename download_and_unzip to make it more specific 2024-05-12 08:36:24 -05:00
rasbt
4b4e1e1ad5
use spam / not spam labels 2024-05-11 13:42:18 -05:00
rasbt
02ad1bef3a reorder section 6.6 2024-05-11 08:27:07 -05:00
rasbt
694a57a472 explain how class labels are obtained 2024-05-11 07:42:13 -05:00
rasbt
51ac283257 6 -> 4 2024-05-10 07:02:14 -05:00
rasbt
0b6665939b
clarify overfitting 2024-05-09 09:09:26 -05:00
rasbt
2df81f59d3 spelling improvements 2024-05-09 07:25:52 -05:00
rasbt
80cd98884e add note about worker number 2024-05-08 21:20:43 -05:00
rasbt
10d3370f74 update figure 6.6 2024-05-08 20:46:54 -05:00
rasbt
a09a70c345
text -> dataset 2024-05-08 08:14:03 -05:00
rasbt
24e9110fa8
make spam spelling consistent 2024-05-08 06:48:28 -05:00
rasbt
0dd80359df formatting improvements 2024-05-06 20:35:51 -05:00
rasbt
16e276f8df show downloads 2024-05-06 07:40:09 -05:00
rasbt
cddcbc8b49 tokenizing example 2024-05-06 07:16:40 -05:00
rasbt
83d5cea795 ch06 dataset 2024-05-06 06:55:56 -05:00
rasbt
8d78098dfa classfication -> classification 2024-05-06 06:50:38 -05:00
Ikko Eltociear Ashimine
b3215e3351
Update ch06.ipynb (#143)
ouput -> output
2024-05-05 12:18:20 -05:00
rasbt
3a632323df
make code more general for larger models 2024-05-05 10:18:46 -05:00
Sebastian Raschka
d3201f5aad
Add figures for ch06 (#141) 2024-05-05 07:10:04 -05:00
rasbt
d60dcc6724
add description 2024-05-04 07:34:29 -05:00
Sebastian Raschka
da61d5b76a
Ch06 draft (#138)
* Ch06 first draft

* add utility files
2024-05-03 08:37:58 -05:00