Skip to content

Latest commit

 

History

History

natural-language-processing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

深度学习进阶:自然语言处理(Deep Learning from Scratch ❷)

文件结构

文件夹名 说明
ch01 第1章使用的源代码
ch02 第2章使用的源代码
... ...
ch08 第8章使用的源代码
common 共同使用的源代码
dataset 数据集用的源代码

训练完的权重文件(第6~7章使用)可从以下URL获取。 https://www.oreilly.co.jp/pub/9784873118369/BetterRnnlm.pkl

源代码的解释请参考本书。

Python和外部库

执行源代码需要安装以下软件。

  • Python 3.x
  • NumPy
  • Matplotlib

另外,作为可选项,使用以下库。

  • SciPy(可选)
  • CuPy(可选)

执行方法

移动到各章的文件夹,执行Python命令。

$ cd ch01
$ python train.py

$ cd ../ch05
$ python train_custom_loop.py

使用许可

本源代码使用MIT许可协议。 无论是否为商业行为,均可自由使用。

勘误表

本书的勘误信息在以下网址中公开。读者可以在以下网址中查看和提交勘误。

https://www.ituring.com.cn/book/2678