Skip to content

Sshanu/SCULPT

Repository files navigation

SCULPT

This repository contains the code for SCULPT: Systematic Tuning of Long Prompts.

Running the Methods

To set up the project and run the different methods included in this repository, follow these steps:

  1. Install the required dependencies using the requirements.txt file:

    pip install -r requirements.txt
  2. Run the desired method using the provided shell scripts and specify the task name as an argument:

    • To run the SCULPT method:
      ./run_sculpt.sh <task_name>
    • To run the Protegi method:
      ./run_protegi.sh <task_name>
    • To run the OPRO method:
      ./run_opro.sh <task_name>
    • To run the APEX method:
      ./run_apex.sh <task_name>
    • To run the APE method:
      ./run_ape.sh <task_name>
    • To run the LongAPE method:
      ./run_longape.sh <task_name>

    Replace <task_name> with the desired task (e.g., formal_fallacies, causal_judgment, disambiguation_qa, salient_translation, go_emotions, beaver_tails).

Citation

If you use this code or the concepts from our work, please cite our paper published in the main conference of ACL 2025:

SCULPT: Systematic Tuning of Long Prompts arXiv: https://arxiv.org/pdf/2410.20788

@article{kumar2024sculpt,
  title={SCULPT: Systematic Tuning of Long Prompts},
  author={Kumar, Shanu and Venkata, Akhila Yesantarao and Khandelwal, Shubhanshu and Santra, Bishal and Agrawal, Parag and Gupta, Manish},
  journal={arXiv preprint arXiv:2410.20788},
  year={2024}
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published