This course will focus on the basic of Natural Language Processing with Neural Networks with emphasis on implementing theories and concepts learned into code. This course is designed with no prior knowledge in NLP or Neural Networks in mind.
This course is in development.
Completed:
- 0 NLP and Data Preprocessing
- 1 Language Model
- 2 Neural Network
- 3 Backpropagation
- 4.a Training of Neural Network
- 4.b Implementation of Neural Network Training
Planned:
- 5 Word Embedding
- 6 Recurrent Neural Network
- 7 Seq2Seq
- 8 Attention for Seq2Seq
- 9 Transformer
Jupyter Notebook will be used for this course. The solutions to the exercises are at the end of each course.
Binder let you run a fully functional Jupyter notebook in the cloud.
- After some loading, a web browser should appear with a list of files.
- Open a jupyter notebook file (.ipynb) to begin. The filenames of notebook starts with chapter numbering.
nbviewer let you view Jupyter notebook but not run them.
Download the Anaconda 3 for your platform (Windows/macOS/Linux) here.
Install the according to the instruction here: Windows, macOS, Linux
For Windows: Open Anaconda Prompt
.
For macOS/Linux: Open a terminal.
-
Create a environment with:
conda create -n nlp-course python=3.7
-
Activate the environment with:
conda activate nlp-course
-
Install the packages with:
conda install jupyter matplotlib scikit-learn spacy nltk pandas seaborn
-
Install PyTorch with:
Windows/Linux:
conda install pytorch torchvision cpuonly -c pytorch
macOS:
conda install pytorch torchvision -c pytorch
For Windows: Install and run git bash
For Mac/Linux: Install git and open a terminal.
- Download this repository with:
git clone git@github.com:yhaliaw/nlp-course.git
For Windows: Open Anaconda Prompt
.
For Mac/Linux: Open a terminal.
- Change working directory with
cd
command to thenlp-course
directory. - Activate the environment with:
conda activate nlp-course
- Start the jupyter notebook with:
jupyter notebook
- After some loading, a web browser should appear with a list of files.
- Open a jupyter notebook file (.ipynb) to begin. The filenames of notebook starts with chapter numbering.