Home

Awesome

PIP: Parse-Instructed Prefix for Syntactically Controlled Paraphrase Generation

Official source code repository for the ACL 2023 Findings paper: "PIP: Parse-Instructed Prefix for Syntactically Controlled Paraphrase Generation" by Yixin Wan and Kuan-Hao Huang and Kai-Wei Chang.

Link to full paper: https://arxiv.org/abs/2305.16701.

conda create --name <env> --file requirements.txt
sh ./scripts/train_seq2seq.sh
sh ./scripts/train_prefix_tuning.sh
sh ./scripts/train_pip_direct.sh
sh ./scripts/train_pip_indirect.sh