Skip to content
sufenlpPublic

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StyleBART: Decorate Pretrained Model with Style Adapters

The official repository which contains the code and pre-trained models for our paper EMNLP 2023 Findings StyleBART: Decorate Pretrained Model with Style Adapters.

🔥 News

  • 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!

Prerequisites

  • pytorch
  • python
  • numpy
  • ...
pip install -r requirement.txt

Quick Start

Data

Please download the data from link, and save it to the data folder.

Preprocessing

Following the code from paraphrase, and then run the code

sh paraphrase.sh

Training

sh trian.sh

Evaluating

sh evaluate.sh

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages