This task is a slot filling task. During training, the task uses intent determination task to assist in training slot filling model. The following sections detail model preparation, dataset preparation, and how to run the task.
After the run, you can view the saved models in the `outputs/` folder.
If you want to use the trained model to predict the `atis_slot` data, run:
If you want to use the trained model to predict the `atis_slot & atis_intent` data, run:
```shell
python predict.py
python predict-slot.py
python predict-intent.py
```
If you want to specify a specific gpu or use multiple gpus for predict, please use **`CUDA_VISIBLE_DEVICES`**, for example:
```shell
CUDA_VISIBLE_DEVICES=0,1,2 python predict.py
CUDA_VISIBLE_DEVICES=0,1,2 python predict-slot.py
CUDA_VISIBLE_DEVICES=0,1,2 python predict-slot.py
```
After the run, you can view the predictions in the `outputs/predict-slot` folder and `outputs/predict-intent` folder. Here are some examples of predictions:
After the run, you can view the predictions in the `outputs/predict` folder. Here are some examples of predictions: