NLP_practice
We will continuously update some NLP practice based on different tasks.
prerequisites
Software
- pytorch >= 1.10
- torchtext >= 0.11.0
- sklearn
- tqdm
or
cd NLP_practice/
pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
Classification
-
Movie Review Classification by TextCNN
put in there actually you can easily modify the dataset name to do experiments on other torchtext's datasets.