|
|
1 年之前 | |
|---|---|---|
| ch03_linear | 1 年之前 | |
| ch04_logit | 1 年之前 | |
| ch05_econometrics | 2 年之前 | |
| ch06_optimizer | 2 年之前 | |
| ch07_autograd | 1 年之前 | |
| ch08_mlp | 1 年之前 | |
| ch09_cnn | 2 年之前 | |
| ch10_rnn | 1 年之前 | |
| ch11_llm | 2 年之前 | |
| ch12_rl | 2 年之前 | |
| ch13_others | 2 年之前 | |
| .gitignore | 2 年之前 | |
| LICENSE | 2 年之前 | |
| README.md | 1 年之前 |
This book is currently in the editing process and will be available soon.
For classic models in AI(artificial intelligence), the tools, such as PyTorch, have provided well-encapsulated implementations, making their usage relatively straightforward. However, due to engineering considerations, these implementations introduce excessive details into the code, complicating model understanding. This book aims to enhance reader comprehension by re-implementing core model parts with detailed annotations. While explaining complex algorithms in human language can be challenging, reading the code proves more intuitive.
The code relies on external libraries, with installation commands given at the beginning of the scripts. Rerunning might yield slight result variations due to random numbers, but the overall impact is minimal. For large language models, running the code on a GPU is crucial to avoid a significant increase in computation time.