├── .gitignore ├── 1.simpliedTextClassification ├── README.md ├── classify.py └── data │ └── train.tsv ├── 2.advancedTextClassification ├── 1.textClassificationWithRNN.py ├── 2.GloVe.py ├── 3.textClassificationWithCNN.py ├── 4.textClassificationWithRNNAndGlove.py ├── README.md ├── data │ ├── names │ │ ├── Arabic.txt │ │ ├── Chinese.txt │ │ ├── Czech.txt │ │ ├── Dutch.txt │ │ ├── English.txt │ │ ├── French.txt │ │ ├── German.txt │ │ ├── Greek.txt │ │ ├── Irish.txt │ │ ├── Italian.txt │ │ ├── Japanese.txt │ │ ├── Korean.txt │ │ ├── Polish.txt │ │ ├── Portuguese.txt │ │ ├── Russian.txt │ │ ├── Scottish.txt │ │ ├── Spanish.txt │ │ └── Vietnamese.txt │ ├── question-classif-data │ │ ├── TREC_10.label │ │ └── train_1000.label │ └── train.tsv └── result │ ├── plot.png │ ├── plot2.png │ └── plot3.png ├── 3.textMatching(ESIM) ├── README.md ├── papers │ ├── A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference.pdf │ ├── Enhanced LSTM for Natural Language Inference.pdf │ └── Sequential Attention-based Network for Noetic End-to-End Response Selection.pdf └── python │ ├── __init__.py │ ├── models │ ├── __init__.py │ └── esim.py │ ├── train_mnli.py │ └── util │ ├── __init__.py │ ├── __pycache__ │ ├── __init__.cpython-37.pyc │ ├── logger.cpython-37.pyc │ └── parameters.cpython-37.pyc │ ├── blocks.py │ ├── data_processing.py │ ├── evaluate.py │ ├── logger.py │ └── parameters.py ├── 4.NER(LSTM+CRF) ├── LICENSE.txt ├── README.md ├── build_data.py ├── data │ └── test.txt ├── evaluate.py ├── makefile ├── model │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-37.pyc │ │ ├── base_model.cpython-37.pyc │ │ ├── config.cpython-37.pyc │ │ ├── data_utils.cpython-37.pyc │ │ ├── general_utils.cpython-37.pyc │ │ └── ner_model.cpython-37.pyc │ ├── base_model.py │ ├── config.py │ ├── data_utils.py │ ├── general_utils.py │ └── ner_model.py ├── requirements.txt └── train.py ├── 5.transformer ├── README.md ├── __pycache__ │ ├── attention.cpython-37.pyc │ ├── embedding.cpython-37.pyc │ ├── encoderdecoder.cpython-37.pyc │ ├── generator.cpython-37.pyc │ ├── multiHeadAttention.cpython-37.pyc │ ├── positionalEncoding.cpython-37.pyc │ ├── positionwiseFeedForward.cpython-37.pyc │ └── transformerModel.cpython-37.pyc ├── attention.py ├── embedding.py ├── encoderdecoder.py ├── generator.py ├── multiHeadAttention.py ├── positionalEncoding.py ├── positionwiseFeedForward.py └── transformerModel.py ├── IMG_0611.PNG └── README.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/.gitignore -------------------------------------------------------------------------------- /1.simpliedTextClassification/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/1.simpliedTextClassification/README.md -------------------------------------------------------------------------------- /1.simpliedTextClassification/classify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/1.simpliedTextClassification/classify.py -------------------------------------------------------------------------------- /1.simpliedTextClassification/data/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/1.simpliedTextClassification/data/train.tsv -------------------------------------------------------------------------------- /2.advancedTextClassification/1.textClassificationWithRNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/1.textClassificationWithRNN.py -------------------------------------------------------------------------------- /2.advancedTextClassification/2.GloVe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/2.GloVe.py -------------------------------------------------------------------------------- /2.advancedTextClassification/3.textClassificationWithCNN.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/3.textClassificationWithCNN.py -------------------------------------------------------------------------------- /2.advancedTextClassification/4.textClassificationWithRNNAndGlove.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/4.textClassificationWithRNNAndGlove.py -------------------------------------------------------------------------------- /2.advancedTextClassification/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/README.md -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Arabic.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Arabic.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Chinese.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Chinese.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Czech.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Czech.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Dutch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Dutch.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/English.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/English.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/French.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/French.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/German.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/German.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Greek.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Greek.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Irish.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Irish.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Italian.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Italian.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Japanese.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Japanese.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Korean.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Korean.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Polish.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Polish.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Portuguese.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Portuguese.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Russian.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Russian.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Scottish.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Scottish.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Spanish.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Spanish.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/names/Vietnamese.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/names/Vietnamese.txt -------------------------------------------------------------------------------- /2.advancedTextClassification/data/question-classif-data/TREC_10.label: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/question-classif-data/TREC_10.label -------------------------------------------------------------------------------- /2.advancedTextClassification/data/question-classif-data/train_1000.label: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/question-classif-data/train_1000.label -------------------------------------------------------------------------------- /2.advancedTextClassification/data/train.tsv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/data/train.tsv -------------------------------------------------------------------------------- /2.advancedTextClassification/result/plot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/result/plot.png -------------------------------------------------------------------------------- /2.advancedTextClassification/result/plot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/result/plot2.png -------------------------------------------------------------------------------- /2.advancedTextClassification/result/plot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/2.advancedTextClassification/result/plot3.png -------------------------------------------------------------------------------- /3.textMatching(ESIM)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/README.md -------------------------------------------------------------------------------- /3.textMatching(ESIM)/papers/A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/papers/A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference.pdf -------------------------------------------------------------------------------- /3.textMatching(ESIM)/papers/Enhanced LSTM for Natural Language Inference.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/papers/Enhanced LSTM for Natural Language Inference.pdf -------------------------------------------------------------------------------- /3.textMatching(ESIM)/papers/Sequential Attention-based Network for Noetic End-to-End Response Selection.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/papers/Sequential Attention-based Network for Noetic End-to-End Response Selection.pdf -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/models/esim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/models/esim.py -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/train_mnli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/train_mnli.py -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/__pycache__/logger.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/__pycache__/logger.cpython-37.pyc -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/__pycache__/parameters.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/__pycache__/parameters.cpython-37.pyc -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/blocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/blocks.py -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/data_processing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/data_processing.py -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/evaluate.py -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/logger.py -------------------------------------------------------------------------------- /3.textMatching(ESIM)/python/util/parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/3.textMatching(ESIM)/python/util/parameters.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/LICENSE.txt -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/README.md -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/build_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/build_data.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/data/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/data/test.txt -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/evaluate.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/makefile -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__pycache__/__init__.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/__pycache__/__init__.cpython-37.pyc -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__pycache__/base_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/__pycache__/base_model.cpython-37.pyc -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__pycache__/config.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/__pycache__/config.cpython-37.pyc -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__pycache__/data_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/__pycache__/data_utils.cpython-37.pyc -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__pycache__/general_utils.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/__pycache__/general_utils.cpython-37.pyc -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/__pycache__/ner_model.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/__pycache__/ner_model.cpython-37.pyc -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/base_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/base_model.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/config.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/data_utils.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/general_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/general_utils.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/model/ner_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/model/ner_model.py -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/requirements.txt: -------------------------------------------------------------------------------- 1 | tensorflow>=1.0 2 | numpy 3 | logging 4 | -------------------------------------------------------------------------------- /4.NER(LSTM+CRF)/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/4.NER(LSTM+CRF)/train.py -------------------------------------------------------------------------------- /5.transformer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/README.md -------------------------------------------------------------------------------- /5.transformer/__pycache__/attention.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/attention.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/embedding.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/embedding.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/encoderdecoder.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/encoderdecoder.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/generator.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/generator.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/multiHeadAttention.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/multiHeadAttention.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/positionalEncoding.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/positionalEncoding.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/positionwiseFeedForward.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/positionwiseFeedForward.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/__pycache__/transformerModel.cpython-37.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/__pycache__/transformerModel.cpython-37.pyc -------------------------------------------------------------------------------- /5.transformer/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/attention.py -------------------------------------------------------------------------------- /5.transformer/embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/embedding.py -------------------------------------------------------------------------------- /5.transformer/encoderdecoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/encoderdecoder.py -------------------------------------------------------------------------------- /5.transformer/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/generator.py -------------------------------------------------------------------------------- /5.transformer/multiHeadAttention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/multiHeadAttention.py -------------------------------------------------------------------------------- /5.transformer/positionalEncoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/positionalEncoding.py -------------------------------------------------------------------------------- /5.transformer/positionwiseFeedForward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/positionwiseFeedForward.py -------------------------------------------------------------------------------- /5.transformer/transformerModel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/5.transformer/transformerModel.py -------------------------------------------------------------------------------- /IMG_0611.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/IMG_0611.PNG -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JesseYule/NLPBeginner/HEAD/README.md --------------------------------------------------------------------------------