Skip to content

Commit 5ca4953

Browse files
authored
Update rnn-scratch.md
1 parent 3638409 commit 5ca4953

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chapter_recurrent-neural-networks/rnn-scratch.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
在本节中,我们将从零开始实现一个基于字符级循环神经网络的语言模型,并在周杰伦专辑歌词数据集上训练一个模型来进行歌词创作。首先,我们读取周杰伦专辑歌词数据集。
44

55
```{.python .input n=1}
6+
!pip uninstall -y ..
7+
!pip uninstall -y d2lzh
8+
!pip install d2lzh==1.0.0
9+
610
import d2lzh as d2l
711
import math
812
from mxnet import autograd, nd

0 commit comments

Comments
 (0)