Panfeng Cao1, Ye Wang2, Qiang Zhang3, Zaiqiao Meng4
1University of Michigan
2National University of Defense Technology
3Zhejiang University
4University of Glasgow
2National University of Defense Technology
3Zhejiang University
4University of Glasgow
We give an example of processed SROIE dataset with the question prompt to demonstrate how to use GenIE. The dataset is available at this link. Our pretrained GenIE is available at this link.
pip install -r requirements.txt
bash run_scripts/run_example.sh
Our code is based on the work of OFA. We added additional multimodal feature embedding in the encoder as described in the paper.