translate the main chapter code

This commit is contained in:
DingYue
2024-04-02 19:25:24 +08:00
parent 274f9ab6e5
commit c84ff098fb
2 changed files with 214 additions and 193 deletions
+11
View File
@@ -156,6 +156,17 @@ dmypy.json
# Cython debug symbols
cython_debug/
# chapter 5 .gitignore
# Ignore BPE vocabulary file
vocab.bpe
# model相关文件
gpt2/
# Ignore specific text file
*.pdf
*.pth
# PyCharm
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
File diff suppressed because one or more lines are too long