# Infusing Context and Knowledge Awareness in Multi-turn Dialog Understanding
CKA-SLU demo code

## Run Baseline experiments
```
bash run_exp.sh
```

## Run main codes
Set configurations in `config.py`
```
python bert_context.py train/test
```

## Visualization
1. Run the following:

   1) Generate Accuracy/F1
      ```
      python bert_context.py test --test_mode=validation
      ```
   2) Generate attention pkl and score txt
      ```
      python bert_context.py test --test_mode=data
      ```
2. `visualize.ipynb`