Sample Code for Homework 1 ADL NTU

Environment

# If you have conda, we recommend you to build a conda environment called "adl-hw1"
make
conda activate adl-hw1
pip install -r requirements.txt
# Otherwise
pip install -r requirements.in

Preprocessing

# To preprocess intent detectiona and slot tagging datasets
bash preprocess.sh

Intent detection

python train_intent.py