如何让chatGPT正确比较9.8和9.11

对应老买买提的军事天地,观点交锋比较激烈,反驳不留情面,请作好心理准备。因为此版帖子太多,所以新帖不出现在首页新帖列表,防止首页新帖刷屏太快。


版主: Softfist

回复
xiaoju(可爱的龙猫)楼主
论坛元老
论坛元老
帖子互动: 1043
帖子: 25565
注册时间: 2023年 9月 5日 20:18

#1 如何让chatGPT正确比较9.8和9.11

帖子 xiaoju(可爱的龙猫)楼主 »

方法非常简单,就是问题里要把每个数字都加上分隔符,而且要命令不允许把完整的数字在输出里写出来

比如
9和.和8组成的数字和9和.和1和1组成的数字,哪个更大?答案中不准把这两个数字写出来

答:由这两个数字的组成规律,第一个数字是由一个9和一个小数点及8构成,第二个数字由一个9和一个小数点及两个1构成。直观上,第一个数字比第二个数字大。

这样就回避了tokenizer引发的不可消除的二义性
blackwhistle
知名人士
知名人士
帖子互动: 2
帖子: 62
注册时间: 2022年 12月 9日 16:12

#2 Re: 如何让chatGPT正确比较9.8和9.11

帖子 blackwhistle »

You said: is 9.11 greater than 9.8
ChatGPT said: Yes, 9.11 is greater than 9.8.
You said: is 9.11 greater than 9.80
ChatGPT said: Yes, 9.11 is still greater than 9.80. The extra zero in 9.80 doesn't change its value.
xiaoju(可爱的龙猫)楼主
论坛元老
论坛元老
帖子互动: 1043
帖子: 25565
注册时间: 2023年 9月 5日 20:18

#3 Re: 如何让chatGPT正确比较9.8和9.11

帖子 xiaoju(可爱的龙猫)楼主 »

blackwhistle 写了: 2024年 11月 2日 01:44 You said: is 9.11 greater than 9.8
ChatGPT said: Yes, 9.11 is greater than 9.8.
You said: is 9.11 greater than 9.80
ChatGPT said: Yes, 9.11 is still greater than 9.80. The extra zero in 9.80 doesn't change its value.
9.11 greater than 9.80

ChatGPT: Actually, 9.11 is less than 9.80. If you compare the two numbers, 9.80 is greater than 9.11. If you have any specific context or further questions related to these numbers, feel free to share!
blackwhistle
知名人士
知名人士
帖子互动: 2
帖子: 62
注册时间: 2022年 12月 9日 16:12

#4 Re: 如何让chatGPT正确比较9.8和9.11

帖子 blackwhistle »

才看见这个
出于好奇又去试了一下 就吧两个问题copy paste了一下 没有其他任何干扰
得到两个相反的答案

==========================================================================================
is 9.11 greater than 9.8
ChatGPT said:

ChatGPT
No, 9.11 is not greater than 9.8.

To compare:

9.11 is smaller than 9.8 because 11 (in the hundredths place of 9.11) is less than 80 (in the hundredths place of 9.8).
This makes 9.8 larger.

==========================================================================================
You said:
9.11 greater than 9.80
ChatGPT said:

ChatGPT
Yes, 9.11 is greater than 9.80.

When comparing:

9.11 is equivalent to 9.110 (adding a trailing zero for clarity).
9.80 is equivalent to 9.800.
Since 110 (hundredths place) is greater than 80, 9.11 > 9.80.

==========================================================================================
alphak(betat)
论坛点评
论坛点评
帖子互动: 109
帖子: 2316
注册时间: 2022年 12月 14日 02:13

#5 Re: 如何让chatGPT正确比较9.8和9.11

帖子 alphak(betat) »

chatgpt经常算错
回复

回到 “军事天地(Military)”