The official GitHub page for paper "NegativePrompt: Leveraging Psychology for Large Language Models Enhancement via Negative Emotional Stimuli".
First, clone the repo:
git clone git@https://github.com/wangxu0820/NegativePrompt
Then,
cd NegativePrompt
To install the required packages, you can create a conda environment:
conda create --name negativeprompt python=3.9
then use pip to install required packages:
pip install -r requirements.txt
python main.py --task task_name --model model_name --pnum negativeprompt_id --few_shot False