├── .gitignore ├── LICENSE ├── README.md ├── cbow_params.pkl ├── ch01-复习神经网络.ipynb ├── ch02-自然语言和单词的离散表示.ipynb ├── ch03-word2vec.ipynb ├── ch04-word2vec高效化.ipynb ├── common ├── __init__.py ├── base_model.py ├── config.py ├── functions.py ├── layers.py ├── np.py ├── optimizer.py ├── time_layers.py ├── trainer.py └── util.py └── dataset ├── __init__.py ├── addition.txt ├── date.txt ├── ptb.py ├── ptb.train.npy ├── ptb.train.txt ├── ptb.vocab.pkl ├── sequence.py └── spiral.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/README.md -------------------------------------------------------------------------------- /cbow_params.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/cbow_params.pkl -------------------------------------------------------------------------------- /ch01-复习神经网络.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/ch01-复习神经网络.ipynb -------------------------------------------------------------------------------- /ch02-自然语言和单词的离散表示.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/ch02-自然语言和单词的离散表示.ipynb -------------------------------------------------------------------------------- /ch03-word2vec.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/ch03-word2vec.ipynb -------------------------------------------------------------------------------- /ch04-word2vec高效化.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/ch04-word2vec高效化.ipynb -------------------------------------------------------------------------------- /common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /common/base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/base_model.py -------------------------------------------------------------------------------- /common/config.py: -------------------------------------------------------------------------------- 1 | # coding: utf-8 2 | 3 | GPU = False 4 | -------------------------------------------------------------------------------- /common/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/functions.py -------------------------------------------------------------------------------- /common/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/layers.py -------------------------------------------------------------------------------- /common/np.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/np.py -------------------------------------------------------------------------------- /common/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/optimizer.py -------------------------------------------------------------------------------- /common/time_layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/time_layers.py -------------------------------------------------------------------------------- /common/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/trainer.py -------------------------------------------------------------------------------- /common/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/common/util.py -------------------------------------------------------------------------------- /dataset/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dataset/addition.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/addition.txt -------------------------------------------------------------------------------- /dataset/date.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/date.txt -------------------------------------------------------------------------------- /dataset/ptb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/ptb.py -------------------------------------------------------------------------------- /dataset/ptb.train.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/ptb.train.npy -------------------------------------------------------------------------------- /dataset/ptb.train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/ptb.train.txt -------------------------------------------------------------------------------- /dataset/ptb.vocab.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/ptb.vocab.pkl -------------------------------------------------------------------------------- /dataset/sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/sequence.py -------------------------------------------------------------------------------- /dataset/spiral.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhmz1326/deep-learning-from-scratch-2-nlp-notebook/HEAD/dataset/spiral.py --------------------------------------------------------------------------------