Practice jupyter notebooks for RNN, encoder-decoder system, attention, LSTM staff implemented in pyTorch.
-
- PyTorch Basics
-
- Logistic Regression (sklearn/pytorch)
-
- Deep Learning Training Workflow
-
- Building a Bag-of-Words Model
-
- Document Classification with FastText
-
- RNN/CNN based Language Classification
-
- Intrinsic Evaluation of Word Vectors (GloVe/FastText)
-
- Language Modeling with KenLM
-
- Language Modeling with Byte Pair Encoding
- Bag-of-Ngram and Document Classification
- RNN/CNN based Natural Language Inference
(for MacOS)
-
Download and install conda (Python3.6)
- XCode is assumed
- run
bash [installer_file_that_ends_with.sh]
- run
conda list
to confirm that installation succeeded
-
Setup conda environment and install jupyter notebook
$ conda create -n learn_nlp python=3.6 $ conda activate learn_nlp $ conda install jupyter notebook matplotlib scikit-learn $ conda install -c conda-forge jupyterlab # very helpful
-
Install pyTorch
conda install pytorch torchvision -c pytorch