52 Commits

Author SHA1 Message Date
Daniel Kleine
82c06420ac updated .gitignore for ch07/01 artefacts (#242)
* fixed markdown

* removed redundant imports

* updated .gitignore for ch07/01 artefacts
2024-06-22 18:12:01 -05:00
rasbt
519bfd6dc5 spelling fix 2024-06-22 12:22:21 -05:00
rasbt
549e015548 simplify 2024-06-22 11:10:05 -05:00
Sebastian Raschka
2ffedf5b98 Exercise solution for LoRA instruction finetuning (#240) 2024-06-22 10:05:32 -05:00
Sebastian Raschka
eb85c43bc3 Add CI tests for chapter 7 (#239) 2024-06-22 08:57:18 -05:00
Sebastian Raschka
0114dee9f6 Exercise solutions (#237) 2024-06-22 08:30:45 -05:00
Daniel Kleine
7e0c5c0975 minor fixes (#235)
* removed unnecessary imports

* removed unnecessary semicolons

* format markdown

* format markdown

* fixed markdown
2024-06-21 08:40:54 -05:00
rasbt
7b67302da3 update 2024-06-21 06:31:31 -05:00
Sebastian Raschka
87deec0f5f Add standalone finetuning and evaluation scripts for chapter 7 (#234)
* add finetuning and eval scripts

* update link

* update links

* fix link
2024-06-21 05:23:24 -05:00
Sebastian Raschka
d440eb17bc Add standalone instruction finetuning script (#233) 2024-06-20 07:37:47 -05:00
rasbt
bebd3f453f example code to use the finetuned model 2024-06-19 20:21:14 -05:00
rasbt
3ba51abf53 consistency 2024-06-19 19:47:31 -05:00
rasbt
c1f9361428 add main and optional sections 2024-06-19 17:48:25 -05:00
Daniel Kleine
73be1c592f fixed num_workers (#229)
* fixed num_workers

* ch06 & ch07: added num_workers to create_dataloader_v1
2024-06-19 17:36:46 -05:00
Daniel Kleine
49c77d9724 minor: fixed API name (#227)
* fixed api name

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

---------

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
2024-06-19 07:09:32 -05:00
Jinge Wang
605ec00a2a Fix some typos in ch07.ipynb (#224)
* Fixed some typos in ch06.ipynb

* Fix some typos in ch07.ipynb
2024-06-19 06:14:25 -05:00
Sebastian Raschka
f4c8bb024c add mps runtime (#223) 2024-06-18 20:58:59 -05:00
Daniel Kleine
b114053378 minor fixes (#222)
* fixed labels

* fixed typo

---------

Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com>
2024-06-18 19:37:26 -05:00
rasbt
339a7ce040 formating updates 2024-06-17 07:40:04 -05:00
rasbt
0ee9312662 formatting 2024-06-16 08:27:25 -05:00
Sebastian Raschka
232c4f338b Updated ch07 (#213)
* Updated ch07

* fix links

* check links
2024-06-15 15:10:01 -05:00
rasbt
b2ff989174 distinguish better between main chapter code and bonus materials 2024-06-11 21:07:42 -05:00
Sebastian Raschka
e91718f1e7 Add eos token to each response (#205)
* add eos token to each response

* remove figure
2024-06-11 08:57:12 -05:00
rasbt
cbbd4c5600 add performance of llama 3 models for reference 2024-06-10 18:21:58 -05:00
Daniel Kleine
9a81230968 ch07 fixes (#204)
* updated .gitginore for ch07

* fixed extract_response()
2024-06-10 17:31:13 -05:00
rasbt
029efee920 reorg first section 2024-06-10 08:20:12 -05:00
Sebastian Raschka
c3c7e64a63 ch07 first draft (#203) 2024-06-09 10:35:26 -05:00
rasbt
d4dba08922 make error more explicit 2024-06-08 13:21:40 -05:00
rasbt
b80e7804b3 add instruction dataset 2024-06-08 10:38:41 -05:00
rasbt
fbecc2b48b remove redundant file 2024-06-07 08:37:46 -05:00
Daniel Kleine
42ecfc1c81 fixed code (#197) 2024-06-07 06:52:05 -05:00
rasbt
017f73d50c update ollama instructions 2024-06-06 21:03:40 -05:00
Sebastian Raschka
de36026e5a correlation analysis (#196) 2024-06-06 09:15:08 -05:00
rasbt
9e257212b2 explain ollama serve command 2024-06-06 06:42:54 -05:00
rasbt
1efd9313b1 remove empty cell 2024-06-05 18:18:16 -05:00
Sebastian Raschka
1c7c937602 Merge branch 'main' into ollama-eval 2024-06-05 08:23:45 -05:00
rasbt
9f8c3f2b35 Ollama-based model evaluation 2024-06-05 08:21:28 -05:00
Sebastian Raschka
cdb7bf71df remove redundant dependency 2024-06-04 20:54:19 -05:00
rasbt
9a4861ee7f revert 2024-05-27 07:37:53 -05:00
rasbt
134334ce21 Revert "Revert "newline""
This reverts commit 6aa2a587d22105910bd6f07c6c79a5abf83a5eb6.
2024-05-27 07:32:45 -05:00
rasbt
6aa2a587d2 Revert "newline"
This reverts commit 9eeeb67329f6ee0ee562a716586722bf00d68bb8.
2024-05-27 07:32:22 -05:00
rasbt
9eeeb67329 newline 2024-05-27 07:30:27 -05:00
rasbt
474ad17546 Update API approach and add progress bar 2024-05-27 07:29:06 -05:00
rasbt
b2ad4fb0d6 add comment 2024-05-27 07:18:07 -05:00
rasbt
36e169f3ab add keys 2024-05-27 07:13:59 -05:00
rasbt
5044ee2dda fixes 2024-05-26 14:28:30 -05:00
rasbt
9950761642 refine similarity search 2024-05-26 14:25:09 -05:00
rasbt
91339535e1 Add openai model eval utility code 2024-05-26 10:44:15 -05:00
rasbt
d4efdfe4d9 OpenAI API example to create instruction examples 2024-05-25 18:03:37 -05:00
rasbt
443c1dd167 pep8 2024-05-25 11:42:59 -05:00