Skip to content

Official repository of StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for Large Language Model (EMNLP 2024)

Notifications You must be signed in to change notification settings

kmc0207/Stableprompt

Repository files navigation

Official Code Implementation of StablePrompt(EMNLP2024)

https://arxiv.org/abs/2410.07652

To reproduce the experiments in the paper, follow the sequences below:

Setting Up the Environment

docker run pytorch:latest
pip install -r requirements.txt
git clone https://github.com/keirp/automatic_prompt_engineer.git

Experiment 4.1: Few-shot Text Classification

./run_fewshot.sh

Experiment 4.2: Induction Task

./run_BBII.sh
./run_II.sh

Experiment 4.3: Question Answering

./run_QA.sh

About

Official repository of StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for Large Language Model (EMNLP 2024)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published