500+个优质的ChatGPT的Prompts(模板)
随着ChatGPT的火爆,Prompts概念开始被大家所熟知。早期类似如BERT模型的微调都是通过有监督学习的方式进行。但是随着模型越来越大,冻结大部分参数,根据下游任务做微调对模型的影响越来越小。大家开始发现,让下游任务适应预训练模型的训练结果有更好的性能。而ChatGPT的火爆让大家知道,虽然ChatGPT的能力很强,但是需要很好的提问方式才能让它为你所服务。
例如,当我们问ChatGPT如何用Python读取http.Request的body的时候,默认情况它给的内容如下:

但是实际上,我们写代码的时候只是忘了写法,并不是让它解释,或者增加注释。这也会影响效率。那么,上述问题可以在提问之前给ChatGPT做一个设定:
I want you to act as a stack-overflow post. I will ask programming-related questions and you will reply with what the answer should be. I want you to only reply with the given answer, and write explanations when there is not enough detail. do not write explanations. When I need to tell you something in English, I will do so by putting text inside curly brackets {like this}.


