Release v0.7
Natural Language Processing Specialization | Coursera as on March, 2024.
Coursera's Jupyter environment has out of date libraries. Many times, code is not runnable on local machines of learners.
I've highly modified the code to run on local machines with up to date libraries.
What's New?
- Natural Language Processing with Classification and Vector Spaces
- Natural Language Processing with Probabilistic Models
- Natural Language Processing with Sequence Models (Implemented with TensorFlow 2)
Installation
Windows
- Install Python 3.10.
- Download source code.
- Run in Windows PowerShell (Administrator):
cd /path/to/repo
Set-ExecutionPolicy Unrestricted -Scope Process
python -m venv .venv
.venv/Scripts/activate
pip install -r requirements.txt
Note
Executing scripts (to activate Python virtual environment here) is restricted by default in Windows PowerShell. ExecutionPolicy
can be set to Unrestricted
to change that.
Caution
-Scope Process
is used to set policy for current PowerShell session only. If you're just using this to activate Python virtual environment, it is recommended not to use this command without this scope as it may set execution policy for complete local machine and may allow running of any script. Once running the command, use this PowerShell session only for running the codes in NLP project.
Assets
C3 Sequence Models
- Week 1 Assignment 2 Deep N-grams: Pretrained model weights (Checkpoint format) (30 epochs)
- Week 3 Assignment 1 Question Duplicates: Pretrained Siamese model (TF2 SavedModel format)