rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							5e24a042c1 
							
						 
					 
					
						
						
							
							add links to summary sections  
						
						 
						
						
						
						
					 
					
						2024-06-29 07:33:26 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							0f43890a15 
							
						 
					 
					
						
						
							
							refresh cross entropy figure  
						
						 
						
						
						
						
					 
					
						2024-06-29 07:22:23 -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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							0026e6206b 
							
						 
					 
					
						
						
							
							update generate to match output in main chapter  
						
						 
						
						
						
						
					 
					
						2024-06-22 12:01:51 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							e1046746e8 
							
						 
					 
					
						
						
							
							remove redundant line  
						
						 
						
						
						
						
					 
					
						2024-06-20 10:12:28 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							cb194fa8fa 
							
						 
					 
					
						
						
							
							fix device loading  
						
						 
						
						
						
						
					 
					
						2024-06-20 08:07:00 -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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							fcf8bcab0d 
							
						 
					 
					
						
						
							
							Remove duplicated cell ( #212 )  
						
						 
						
						... 
						
						
						
						* add a suggestion since code snippet has been repeated.
* remove duplicated cell
---------
Co-authored-by: Shuyib <benmainye@gmail.com> 
						
						
					 
					
						2024-06-15 12:48:34 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							a796b9d657 
							
						 
					 
					
						
						
							
							explain truncation in ch05  
						
						 
						
						
						
						
					 
					
						2024-06-12 19:50:11 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							8d3e58ff81 
							
						 
					 
					
						
						
							
							check gpt files ( #208 )  
						
						 
						
						
						
						
					 
					
						2024-06-12 07:19:10 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							f0e4c99bc3 
							
						 
					 
					
						
						
							
							fix typo in comment  
						
						 
						
						
						
						
					 
					
						2024-06-09 06:14:02 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							40ba3a4068 
							
						 
					 
					
						
						
							
							Remove leftover instances of self.tokenizer ( #201 )  
						
						 
						
						... 
						
						
						
						* Remove leftover instances of self.tokenizer
* add endoftext token 
						
						
					 
					
						2024-06-08 14:57:34 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							f7e528fca6 
							
						 
					 
					
						
						
							
							update loss  
						
						 
						
						
						
						
					 
					
						2024-05-31 07:30:57 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Kumar Utsav 
							
						 
					 
					
						
						
						
						
							
						
						
							b48d436bfc 
							
						 
					 
					
						
						
							
							Update ch05.ipynb  
						
						 
						
						... 
						
						
						
						Fixed incorrect token ids 
						
						
					 
					
						2024-05-29 20:34:23 +05:30  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							fe8bb9291e 
							
						 
					 
					
						
						
							
							update formatting  
						
						 
						
						
						
						
					 
					
						2024-05-24 07:20:37 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Daniel Kleine 
							
						 
					 
					
						
						
						
						
							
						
						
							69da9ed447 
							
						 
					 
					
						
						
							
							removed unnecessary .gitignore  
						
						 
						
						
						
						
					 
					
						2024-05-21 19:25:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							bc5cbbf1bd 
							
						 
					 
					
						
						
							
							change defaults to 0 temp  
						
						 
						
						
						
						
					 
					
						2024-05-19 09:04:49 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							59f5ed8d68 
							
						 
					 
					
						
						
							
							use default value for temperature  
						
						 
						
						
						
						
					 
					
						2024-05-19 08:48:10 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							9d84935b69 
							
						 
					 
					
						
						
							
							add eos_id option for ch07  
						
						 
						
						
						
						
					 
					
						2024-05-18 12:35:40 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							b350daaa93 
							
						 
					 
					
						
						
							
							add readme  
						
						 
						
						
						
						
					 
					
						2024-05-13 08:50:55 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								speed 
							
						 
					 
					
						
						
						
						
							
						
						
							7b34833ee1 
							
						 
					 
					
						
						
							
							fix 1024 characters to 1024 tokens ( #152 )  
						
						 
						
						
						
						
					 
					
						2024-05-11 13:17:07 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							bb59cbc525 
							
						 
					 
					
						
						
							
							link formatting  
						
						 
						
						
						
						
					 
					
						2024-04-30 06:26:23 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							a5b353667d 
							
						 
					 
					
						
						
							
							Rename drop_resid to drop_shortcut ( #136 )  
						
						 
						
						
						
						
					 
					
						2024-04-28 14:31:27 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							4abaa168ac 
							
						 
					 
					
						
						
							
							fix merge conflict  
						
						 
						
						
						
						
					 
					
						2024-04-22 07:05:40 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							df4fc602d8 
							
						 
					 
					
						
						
							
							update numbering  
						
						 
						
						
						
						
					 
					
						2024-04-22 07:00:20 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							2dd7bf9cda 
							
						 
					 
					
						
						
							
							file header  
						
						 
						
						
						
						
					 
					
						2024-04-22 06:53:38 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							79d40c25bf 
							
						 
					 
					
						
						
							
							remove requests dependency ( #125 )  
						
						 
						
						
						
						
					 
					
						2024-04-21 14:15:05 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							4557d5830e 
							
						 
					 
					
						
						
							
							Return nan if val loader is empty ( #124 )  
						
						 
						
						
						
						
					 
					
						2024-04-20 08:02:30 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							ef2de4718e 
							
						 
					 
					
						
						
							
							use torch no grad for loss ( #119 )  
						
						 
						
						
						
						
					 
					
						2024-04-14 08:13:07 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							bae4b0fb08 
							
						 
					 
					
						
						
							
							Make datesets and loaders compatible with multiprocessing ( #118 )  
						
						 
						
						
						
						
					 
					
						2024-04-13 13:57:56 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							8fe63a9a0e 
							
						 
					 
					
						
						
							
							use correct lr  
						
						 
						
						
						
						
					 
					
						2024-04-12 19:55:07 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							bbce1cb143 
							
						 
					 
					
						
						
							
							Automated link checking ( #117 )  
						
						 
						
						... 
						
						
						
						* Automated link checking
* Fix links in Jupyter Nbs 
						
						
					 
					
						2024-04-12 19:08:34 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							790d0808b2 
							
						 
					 
					
						
						
							
							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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								James Holcombe 
							
						 
					 
					
						
						
						
						
							
						
						
							0b866c133f 
							
						 
					 
					
						
						
							
							Use instance tokenizer ( #116 )  
						
						 
						
						... 
						
						
						
						* Use instance tokenizer
* consistency updates
---------
Co-authored-by: Sebastian Raschka <mail@sebastianraschka.com> 
						
						
					 
					
						2024-04-10 21:16:19 -04:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							8462a777bd 
							
						 
					 
					
						
						
							
							address suggestions to improve clarity  
						
						 
						
						
						
						
					 
					
						2024-04-07 08:41:09 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							040ce578be 
							
						 
					 
					
						
						
							
							renumber exercises  
						
						 
						
						
						
						
					 
					
						2024-04-07 06:03:41 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							84b785ddd0 
							
						 
					 
					
						
						
							
							variable renaming for clarity  
						
						 
						
						
						
						
					 
					
						2024-04-05 07:26:42 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							c31e99720d 
							
						 
					 
					
						
						
							
							rename hparams to settings  
						
						 
						
						
						
						
					 
					
						2024-04-05 07:24:46 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							25f533efe0 
							
						 
					 
					
						
						
							
							Fix Loss in Gutenberg bonus section ( #109 )  
						
						 
						
						
						
						
					 
					
						2024-04-04 20:54:09 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							ccd7cebbb3 
							
						 
					 
					
						
						
							
							Rename variable to context_length to make it easier on readers ( #106 )  
						
						 
						
						... 
						
						
						
						* rename to context length
* fix spacing 
						
						
					 
					
						2024-04-04 07:27:41 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastian Raschka 
							
						 
					 
					
						
						
						
						
							
						
						
							5beff4e25a 
							
						 
					 
					
						
						
							
							Remove reundant dropout in MLP module ( #105 )  
						
						 
						
						
						
						
					 
					
						2024-04-03 20:19:08 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							cd12b4a937 
							
						 
					 
					
						
						
							
							rename batch to text  
						
						 
						
						
						
						
					 
					
						2024-04-02 20:46:53 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							776a517d18 
							
						 
					 
					
						
						
							
							figure scaling  
						
						 
						
						
						
						
					 
					
						2024-04-01 08:05:01 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							ee096986ea 
							
						 
					 
					
						
						
							
							upload exercise solutions of ch05  
						
						 
						
						
						
						
					 
					
						2024-03-31 20:28:51 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							83adc4a2ac 
							
						 
					 
					
						
						
							
							add weight sizes  
						
						 
						
						
						
						
					 
					
						2024-03-31 08:48:19 -05:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								rasbt 
							
						 
					 
					
						
						
						
						
							
						
						
							1c173e4f44 
							
						 
					 
					
						
						
							
							update figures  
						
						 
						
						
						
						
					 
					
						2024-03-30 09:43:51 -05:00