NegativePrompt
1.0.0
إصدار الكود لـ Segentprompt: الاستفادة من علم النفس لنماذج اللغة الكبيرة تعزيز من خلال المحفزات العاطفية السلبية (IJCAI 2024)
أولاً ، استنساخ الريبو:
git clone git@https://github.com/wangxu0820/NegativePromptثم،
cd NegativePromptلتثبيت الحزم المطلوبة ، يمكنك إنشاء بيئة كوندا:
conda create --name negativeprompt python=3.9ثم استخدم PIP لتثبيت الحزم المطلوبة:
pip install -r requirements.txtpython main.py --task task_name --model model_name --pnum negativeprompt_id --few_shot Falseيرجى الاستشهاد بنا إذا وجدت هذا المشروع مفيدًا لبحثك:
@misc{wang2024negativeprompt,
title={NegativePrompt: Leveraging Psychology for Large Language Models Enhancement via Negative Emotional Stimuli},
author={Xu Wang and Cheng Li and Yi Chang and Jindong Wang and Yuan Wu},
year={2024},
eprint={2405.02814},
archivePrefix={arXiv},
primaryClass={cs.CL}
}