Sample Code for Homework 1 ADL NTU 109 Spring
Environment
# If you have conda, we recommend you to build a conda environment called "adl"
make
# otherwise
pip install -r requirements.txt
Preprocessing
# To preprocess intent detectiona and slot tagging datasets
bash preprocess.sh
Intent detection
python train_intent.py