/RNN-for-Joint-NLU

Pytorch implementation of "Attention-Based Recurrent Neural Network Models for Joint Intent Detection and Slot Filling" (https://arxiv.org/abs/1609.01454)

Primary LanguagePython

RNN-for-Joint-NLU

Pytorch implementation of "Attention-Based Recurrent Neural Network Models for Joint Intent Detection and Slot Filling" (https://arxiv.org/pdf/1609.01454.pdf)

Intent prediction and slot filling are performed in two branches based on Encoder-Decoder model.

Dataset (Atis)

You can get the data from here

Requirements

Install the requirements:

pip install -r requirements.txt

Train

python3 train.py --data_path 'your data path e.g. ./data/atis-2.train.w-intent.iob'

Result