Goal: Train a joint intent prediction and slot fillinf model using English and generalize to other languages.
https://aclanthology.org/2021.mrl-1.18/
@article{krishnanCodeSwitch,
title={Multilingual Code-Switching for Zero-Shot Cross-Lingual Intent Prediction and Slot Filling},
author={Krishnan, Jitin and Anastasopoulos, Antonios and Purohit, Hemant and Rangwala, Huzefa},
journal={In Proceedings of the 1st Workshop on Multilingual Representation Learning at EMNLP},
year={2021}
}
-
!pip install transformers
-
!pip install googletrans
-
Enable Cuda for Joint Training
MultiAtis++: Please visit https://github.com/amazon-research/multiatis.
CrisisData: Please send us an email to obtain a copy of the data (Original Source: Appen).
Datasets to setup before running the experiments.
python3 joint_en.py <location-of-data-folder> '0'
python3 joint_en.py <location-of-data-folder> '1'
python3 code_switch.py <input_fileName> <pickle_output_fileName>
#e.g., python3 code_switch.py 'train_EN.tsv' 'train_cs.p'
For help or issues, please submit a GitHub issue or contact Jitin Krishnan (jkrishn2@gmu.edu
).