Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							9dce43ec31 
							
						 
					 
					
						
						
							
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							ebfc50f076 
							
						 
					 
					
						
						
							
							Fix default argument in ex 7.2 ( #506 )  
						
						
						
						
					 
					
						2025-01-25 10:46:48 -06:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							d387696f93 
							
						 
					 
					
						
						
							
							A few cosmetic updates ( #504 )  
						
						
						
						
					 
					
						2025-01-23 09:38:55 -06:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							dcaac28b92 
							
						 
					 
					
						
						
							
							Bonus material: extending tokenizers ( #496 )  
						
						... 
						
						
						
						* Bonus material: extending tokenizers
* small wording update 
						
						
					 
					
						2025-01-22 09:26:54 -06:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							b3dc7073ee 
							
						 
					 
					
						
						
							
							fix ch07 unit test ( #470 )  
						
						
						
						
					 
					
						2025-01-05 17:40:57 -06:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							7659af7cdd 
							
						 
					 
					
						
						
							
							Add backup URL for gpt2 weights ( #469 )  
						
						... 
						
						
						
						* Add backup URL for gpt2 weights
* newline 
						
						
					 
					
						2025-01-05 11:28:09 -06:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							74e04a9169 
							
						 
					 
					
						
						
							
							Add "What's next" section ( #432 )  
						
						... 
						
						
						
						* Add What's next section
* Delete appendix-D/01_main-chapter-code/appendix-D-Copy2.ipynb
* Delete ch03/01_main-chapter-code/ch03-Copy1.ipynb
* Delete appendix-D/01_main-chapter-code/appendix-D-Copy1.ipynb
* Update ch07.ipynb
* Update ch07.ipynb 
						
						
					 
					
						2024-11-07 20:12:59 -06:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							ce80a192cd 
							
						 
					 
					
						
						
							
							refresh figures  
						
						
						
						
					 
					
						2024-08-27 08:26:40 +02:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							a82169290e 
							
						 
					 
					
						
						
							
							Note about MPS in ch06 and ch07 ( #325 )  
						
						
						
						
					 
					
						2024-08-19 08:11:33 -05:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							9ef132bb64 
							
						 
					 
					
						
						
							
							note about logistic sigmoid  
						
						
						
						
					 
					
						2024-08-06 19:48:06 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Kleine 
							
						 
					 
					
						
						
						
						
							
						
						
							dcdf04e3bd 
							
						 
					 
					
						
						
							
							minor DPO fixes ( #298 )  
						
						... 
						
						
						
						* fixed issues, updated .gitignore
* added closing paren
* fixed CEL spelling
* fixed more minor issues
* Update ch07/01_main-chapter-code/ch07.ipynb
* Update ch07/04_preference-tuning-with-dpo/dpo-from-scratch.ipynb
* Update ch07/04_preference-tuning-with-dpo/dpo-from-scratch.ipynb
* Update ch07/04_preference-tuning-with-dpo/dpo-from-scratch.ipynb
---------
Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com> 
						
						
					 
					
						2024-08-05 08:40:46 -05:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							ce33e706ba 
							
						 
					 
					
						
						
							
							Fix 8-billion-parameter spelling  
						
						
						
						
					 
					
						2024-07-28 10:48:56 -05:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							7eb3f941a4 
							
						 
					 
					
						
						
							
							update figure caption  
						
						
						
						
					 
					
						2024-07-27 13:30:18 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							6dd8666d9c 
							
						 
					 
					
						
						
							
							Test code in pytorch 2.4 ( #285 )  
						
						... 
						
						
						
						* test code in pytorch 2.4
* update 
						
						
					 
					
						2024-07-24 21:53:41 -05:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							5d8a0c22ab 
							
						 
					 
					
						
						
							
							use utf-8 encoding in json  
						
						
						
						
					 
					
						2024-07-22 07:01:54 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							d0f3b034d8 
							
						 
					 
					
						
						
							
							Add download help message ( #274 )  
						
						
						
						
					 
					
						2024-07-19 08:29:29 -05:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							3195594680 
							
						 
					 
					
						
						
							
							explain extra padding token  
						
						
						
						
					 
					
						2024-07-17 07:38:25 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							377c14c25e 
							
						 
					 
					
						
						
							
							break long lines in ch07 ( #263 )  
						
						
						
						
					 
					
						2024-07-13 07:26:23 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							2ce1d16de0 
							
						 
					 
					
						
						
							
							show how to use the finetuned model  
						
						
						
						
					 
					
						2024-07-09 06:43:26 -07:00 
						 
				 
			
				
					
						
							
							
								Daniel Kleine 
							
						 
					 
					
						
						
						
						
							
						
						
							87f47a281a 
							
						 
					 
					
						
						
							
							fixed spelling typos ( #258 )  
						
						
						
						
					 
					
						2024-07-03 07:47:33 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							2d8eacb0fa 
							
						 
					 
					
						
						
							
							Fix links in summary sections ( #254 )  
						
						
						
						
					 
					
						2024-06-29 07:51:31 -05:00 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							5e24a042c1 
							
						 
					 
					
						
						
							
							add links to summary sections  
						
						
						
						
					 
					
						2024-06-29 07:33:26 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Kleine 
							
						 
					 
					
						
						
						
						
							
						
						
							fb4e37ae15 
							
						 
					 
					
						
						
							
							fixed minor issues ( #252 )  
						
						... 
						
						
						
						* fixed typo
* fixed var name in md text 
						
						
					 
					
						2024-06-29 06:38:25 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							65d68097ee 
							
						 
					 
					
						
						
							
							Use deterministic ollama settings ( #250 )  
						
						... 
						
						
						
						* deterministic ollama settings
* add missing file 
						
						
					 
					
						2024-06-27 07:16:48 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Kleine 
							
						 
					 
					
						
						
						
						
							
						
						
							7a54d383e7 
							
						 
					 
					
						
						
							
							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 
						 
				 
			
				
					
						
							
							
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							530fa48d3f 
							
						 
					 
					
						
						
							
							refresh figures  
						
						
						
						
					 
					
						2024-06-23 10:41:29 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							b7a7ac6068 
							
						 
					 
					
						
						
							
							removes redundent figsize code ( #244 )  
						
						
						
						
					 
					
						2024-06-23 09:24:07 -05:00 
						 
				 
			
				
					
						
							
							
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							def84a039c 
							
						 
					 
					
						
						
							
							Show epochs as integers on x-axis ( #241 )  
						
						... 
						
						
						
						* Show epochs as integers on x-axis
* Update ch07/01_main-chapter-code/previous_chapters.py
* remove extra s
* modify exercise plots
* update chapter 7 plot
* resave ch07 for better file diff 
						
						
					 
					
						2024-06-23 07:41:25 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Kleine 
							
						 
					 
					
						
						
						
						
							
						
						
							36a29e783a 
							
						 
					 
					
						
						
							
							fixed typo ( #243 )  
						
						... 
						
						
						
						* fixed copy-paste typo
* Update ch07/01_main-chapter-code/ch07.ipynb
* Update ch07/01_main-chapter-code/ch07.ipynb
* Update ch07/01_main-chapter-code/ch07.ipynb
* Update ch07/01_main-chapter-code/ch07.ipynb
---------
Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com> 
						
						
					 
					
						2024-06-23 07:11:04 -05:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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