├── .gitignore ├── LICENSE.md ├── README.md ├── chatbot ├── README.md ├── config │ └── base.yml ├── data.py ├── data_utils.py ├── model.py ├── multihead_attention.py ├── process_cornell.py ├── test.py ├── tf1 │ ├── infer_bahdanau.py │ └── train_bahdanau.py ├── train.py └── training_utils.py ├── embeddings ├── CBOW │ ├── code_draft.py │ └── utils.py ├── README.md └── skipgram │ ├── code_along.py │ ├── main.py │ ├── main_estimator.py │ ├── model.py │ ├── prepare_data.py │ └── utils.py ├── machine_translation ├── README.md ├── tf1 │ ├── infer.py │ ├── train.py │ ├── train_bahdanau.py │ ├── train_bi.py │ └── train_luong.py ├── train_luong_tf2.py ├── train_simple_tf2.py ├── train_tf2.py └── train_transformer_tf2.py ├── pos_tagging └── simple_lstm.py ├── sentiment_analysis ├── train_imdb.py └── train_quora.py └── text_generation ├── README.md ├── oliver.txt ├── tf1 └── train.py ├── train_pt.py ├── train_tf2.py └── trump.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/README.md -------------------------------------------------------------------------------- /chatbot/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/README.md -------------------------------------------------------------------------------- /chatbot/config/base.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/config/base.yml -------------------------------------------------------------------------------- /chatbot/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/data.py -------------------------------------------------------------------------------- /chatbot/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/data_utils.py -------------------------------------------------------------------------------- /chatbot/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/model.py -------------------------------------------------------------------------------- /chatbot/multihead_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/multihead_attention.py -------------------------------------------------------------------------------- /chatbot/process_cornell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/process_cornell.py -------------------------------------------------------------------------------- /chatbot/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/test.py -------------------------------------------------------------------------------- /chatbot/tf1/infer_bahdanau.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/tf1/infer_bahdanau.py -------------------------------------------------------------------------------- /chatbot/tf1/train_bahdanau.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/tf1/train_bahdanau.py -------------------------------------------------------------------------------- /chatbot/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/train.py -------------------------------------------------------------------------------- /chatbot/training_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/chatbot/training_utils.py -------------------------------------------------------------------------------- /embeddings/CBOW/code_draft.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/CBOW/code_draft.py -------------------------------------------------------------------------------- /embeddings/CBOW/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/CBOW/utils.py -------------------------------------------------------------------------------- /embeddings/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/README.md -------------------------------------------------------------------------------- /embeddings/skipgram/code_along.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/skipgram/code_along.py -------------------------------------------------------------------------------- /embeddings/skipgram/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/skipgram/main.py -------------------------------------------------------------------------------- /embeddings/skipgram/main_estimator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/skipgram/main_estimator.py -------------------------------------------------------------------------------- /embeddings/skipgram/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/skipgram/model.py -------------------------------------------------------------------------------- /embeddings/skipgram/prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/skipgram/prepare_data.py -------------------------------------------------------------------------------- /embeddings/skipgram/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/embeddings/skipgram/utils.py -------------------------------------------------------------------------------- /machine_translation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/README.md -------------------------------------------------------------------------------- /machine_translation/tf1/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/tf1/infer.py -------------------------------------------------------------------------------- /machine_translation/tf1/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/tf1/train.py -------------------------------------------------------------------------------- /machine_translation/tf1/train_bahdanau.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/tf1/train_bahdanau.py -------------------------------------------------------------------------------- /machine_translation/tf1/train_bi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/tf1/train_bi.py -------------------------------------------------------------------------------- /machine_translation/tf1/train_luong.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/tf1/train_luong.py -------------------------------------------------------------------------------- /machine_translation/train_luong_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/train_luong_tf2.py -------------------------------------------------------------------------------- /machine_translation/train_simple_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/train_simple_tf2.py -------------------------------------------------------------------------------- /machine_translation/train_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/train_tf2.py -------------------------------------------------------------------------------- /machine_translation/train_transformer_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/machine_translation/train_transformer_tf2.py -------------------------------------------------------------------------------- /pos_tagging/simple_lstm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/pos_tagging/simple_lstm.py -------------------------------------------------------------------------------- /sentiment_analysis/train_imdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/sentiment_analysis/train_imdb.py -------------------------------------------------------------------------------- /sentiment_analysis/train_quora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/sentiment_analysis/train_quora.py -------------------------------------------------------------------------------- /text_generation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/text_generation/README.md -------------------------------------------------------------------------------- /text_generation/oliver.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/text_generation/oliver.txt -------------------------------------------------------------------------------- /text_generation/tf1/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/text_generation/tf1/train.py -------------------------------------------------------------------------------- /text_generation/train_pt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/text_generation/train_pt.py -------------------------------------------------------------------------------- /text_generation/train_tf2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/text_generation/train_tf2.py -------------------------------------------------------------------------------- /text_generation/trump.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ChunML/NLP/HEAD/text_generation/trump.txt --------------------------------------------------------------------------------