首先,我们需要直接从[这里](https://cs.stanford.edu/people/karpathy/char-rnn/warpeace_input.txt)下载《战争与和平》的`.txt`文件。 或者,我们可以从 [Gutenberg 项目](http://www.gutenberg.org/ebooks/2600)下载该文件,但是我们将需要进行一些清理,例如,从文件以及目录中删除开头部分`Project Gutenberg EBook`,以及结尾的`End of the Project`。