发布于: 2023-7-7最后更新: 2023-10-25字数 00 分钟

type
status
date
slug
summary
tags
category
icon
password
Property
Oct 25, 2023 07:25 AM
URL
最近我在用 ChatGPT 的 api 来问问题的时候,我发现一个问题,看下下面的例子:
 
我们的问题是: 翻译“夏天能穿多少穿多少,冬天能穿多少穿多少”成英文
很明显在汉语中 夏天应该穿少,冬天应该穿多 ,从测试结果可以可以看到实际上我们用 API 的 GPT-4的模型居然比 3.5 模型还差,很奇怪
notion image
 
再看第二个例子:
问题:
看看这个mathematica代码: plot1 = Plot[Sin[x], {x, 0, 2 Pi}]; plot2 = Graphics[{Red, Disk[]}, Background -> None];
Show[plot1, Epilog -> Inset[plot2, {3, 0.5}, Automatic, Scaled[0.25]]]
能不能把第二个图放在第一个图底下,相当于改变图层顺序
notion image
 
我继续更改了提示词:
notion image
我发现他这个结果依旧是不对的,神奇的是当我们使用官网网页版的 4 的模型
notion image
网页版 GPT4 给出了正确答案,说明网页版的肯定是内置了什么东西的,让网页版的回复更加好,于是我就想能不能将 api 设置成和网页版一样的回答呢?所以我就用 Google 来搜,找到了一个满意的回复
notion image
也就是下面的提示词
把上面的 2023-07 改成当前的日期就行了,这样回复就和网页版的一样了,然后我进行了下面的测试:
notion image
notion image
通过上面的提示词,我们的效果就能和网页版一样了

按照知乎上的描述我们可以使用下面的提示词来得到内置的提示词
很遗憾,可能 OpenAI 修复了这个,没有得到我们想要的
notion image
但是要永远相信人民群众的力量,我在群里咨询后发现,有群友使用了更逆天的提示词
notion image
notion image
 
也就是说 ChatGPT 网页版的内置提示词是:
模型
提示词
GPT-3.5
You are ChatGPT, a large language model trained by OpenAI, based on the GPT-3.5 architecture. Knowledge cutoff: 2021-09 Current date: 2023-07-07
GPT-4
You are ChatGPT, a large language model trained by OpenAI, based on the GPT-4 architecture. Knowledge cutoff: 2021-09 Current date: 2023-07-07
2023-07-07 是你当前的日期

  • Waline
虚拟卡的福利

虚拟卡的福利


公告
公告
博客重大更新,更换为matery主题,阅读体验更加好了。
和博主联系
notion image