The official repository which contains the code and pre-trained models for our paper EMNLP 2023 Findings StyleBART: Decorate Pretrained Model with Style Adapters.
2024.08.08🌟 We have made a simple organization of the core structure code and released it for better understanding and use by readers. We are working on releasing the complete pipeline for StyleBART. Stay tuned for updates!
- pytorch
- python
- numpy
- ...
pip install -r requirement.txt
Please download the data from link, and save it to the data folder.
Following the code from paraphrase, and then run the code
sh paraphrase.sh
sh trian.sh
sh evaluate.sh