mirror of
				https://github.com/rasbt/LLMs-from-scratch.git
				synced 2025-10-31 01:41:26 +00:00 
			
		
		
		
	 790d0808b2
			
		
	
	
		790d0808b2
		
	
	
	
	
		
			
			* Organized setup instructions * update tets * link checker action * raise error upon broken link * fix links * fix links * delete duplicated paragraph
		
			
				
	
	
		
			15 lines
		
	
	
		
			454 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			454 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # Copyright (c) Sebastian Raschka under Apache License 2.0 (see LICENSE.txt).
 | |
| # Source for "Build a Large Language Model From Scratch"
 | |
| #   - https://www.manning.com/books/build-a-large-language-model-from-scratch
 | |
| # Code: https://github.com/rasbt/LLMs-from-scratch
 | |
| 
 | |
| # File for internal use (unit tests)
 | |
| 
 | |
| from python_environment_check import main
 | |
| 
 | |
| 
 | |
| def test_main(capsys):
 | |
|     main()
 | |
|     captured = capsys.readouterr()
 | |
|     assert "FAIL" not in captured.out
 |