sin+a-b
叮叮叮,又一款聊天机器人——Claude 2 来了,它可以编写代码、分析文本和撰写文章,当然也支持中文!
其实,Claude 2 的聊天机器和 OpenAI 也颇有渊源,因为它是 OpenAI 前高级成员 Daniela Amodei 和 Dario Amodei 在离职后创立的 Anthropic 公司开发的。
今年 3 月,创立仅 2 年的 Anthropic 便推出了 Claude 的初版,彼时在申请测试之后,有不少媒体直接将其定位为“ChatGPT 最强劲的竞争对手”。
为什么这么说?
从最新的 Claude 2 来看,用户可以直接通过 Anthropic 网站使用上 Claude 2,而不需要等待漫长的“候选名单”。不过,目前仅限美国和英国地区用户使用 。
同时,需要花 20 美元付费购买 ChatGPT Plus 服务才能用上的一些功能,如上传文件自动总结 PDF 文档,可以在 Claude 2 上免费就能用上。
而且,Anthropic 声称 Claude 2 在三个关键领域展示了进步:编码、数学和推理。他们在博客中写道:“我们最新的模型在律师考试多项选择部分的得分为 76.5%,高于 Claude 1.3 的 73.0%。与申请研究生院的大学生相比,Claude 2 在 GRE 阅读和写作考试中的得分高于 90%,在定量推理方面与申请者的中位数类似。”
那么,Claude 2 和 ChatGPT 相比,真实能力究竟如何?是否能赶超 ChatGPT?CSDN 也在第一时间上手体验了一下!
自我介绍
话不多说,先让大家对它有个基础的了解:
常规聊天机器人有的能力,Claude 2 都有,而且正如上文所说,多了一个“查找并提取信息”的能力。
和 Google Bard 相比,至少 Claude 2 是支持中文的,不过在理解能力上还有一定的局限性。
稍微尖锐一些的话题,当问及 Claude 2 ,它和 ChatGPT 相比有何优势时,Claude 2 直白地拒绝做比较。同时,不知道是不是中文能力不太好,在回答问题的过程中出现了一些不明所以的数字内容。当问及它时,它也进行了解释,“数字就是一段无意义的数字串。”
编码
根据Anthropic官方表述,在编码能力方面,Claude 2 表现出熟练程度的提高。它在Python 编程测试 Codex HumanEval上的得分从 56% 上升到 71.2%。
先来一道简单的编码问题。
问:用 Python 实现冒泡排序
Claude 2 最终会对代码思路进一步讲解,方便即使不太精通代码的用户也能了解。
提问:
Claude 2:
#include #include class Complex {public: double real; double imag; Complex(double real = 0.0, double imag = 0.0) { this->real = real; this->imag = imag; } // 复数加法 Complex operator+(const Complex& other) { return Complex(real + other.real, imag + other.imag); } // 复数减法 Complex operator-(const Complex& other) { return Complex(real - other.real, imag - other.imag); } // 复数乘法 Complex operator*(const Complex& other) { return Complex(real*other.real - imag*other.imag, real*other.imag + imag*other.real); } // 复数除法 Complex operator/(const Complex& other) { double r = other.real; double i = other.imag; double denominator = r*r + i*i; return Complex((real*r + imag*i)/denominator, (imag*r - real*i)/denominator); } // 复数乘方 Complex pow(int exponent) { double r = pow(abs(), exponent) * cos(exponent * arg()); double i = pow(abs(), exponent) * sin(exponent * arg()); return Complex(r, i); } // 复数取模 double abs() { return sqrt(real*real + imag*imag); } // 复数辐角 double arg() { return atan2(imag, real); }};int main() { Complex a(1.0, 2.0); Complex b(3.0, 4.0); Complex c = a + b; Complex d = a - b; Complex e = a * b; Complex f = a / b; Complex g = a.pow(2); std::cout << "c = " << c.real << " + " << c.imag << "i\\n"; std::cout << "d = " << d.real << " + " << d.imag << "i\\n"; std::cout << "e = " << e.real << " + " << e.imag << "i\\n"; std::cout << "f = " << f.real << " + " << f.imag << "i\\n"; std::cout << "g = " << g.real << " + " << g.imag << "i\\n"; return 0;}自动总结 PDF 文档
在查找并提取信息维度,我们通过上传一篇《Exploring Length Generalization in Large Language Models》的 PDF 论文,让其帮忙总结。
Claude 2 在响应速度和生成内容维度表现都不错,而且用中文提问,即使文档是全英文的论文,其生成的总结内容也是采用中文输出:
数学问题
同样,根据官方评测,Claude 2 在 GSM8k(一项包含小学数学问题的测试)上,它的得分从 85.2% 提高到 88%。
那我们便以经典的鸡兔同笼问题来检测一下 Claude 2 的能力。
有些出乎意料的是,Claude 2 给出的思路是对的,但是在计算时出现了错误。当告诉它“算错了”时,它也会及时明白错误,并在重新输出后给出了正确的答案:
再来一题:7 年前,妈妈年龄是儿子的6 倍,儿子今年 12 岁,妈妈今年多少岁?
这一次 Claude 2 没有出错。
再试试看:同学们进行广播操比赛,全班正好排成相等的6行。小红排在第二行,从头数,她站在第5个位置,从后数她站在第3个位置,这个班共有()人。
几轮下来,Claude 2 在小学数学能力表现方面还不错。
ChatGPT vs Claude 2
互为竞品,我们还让 ChatGPT 给 Claude 2 出了一道题:
Claude 2 很快给出了答案:
再让 ChatGPT 来评价一下:“非常棒的工作,Claude 2!它成功地解决了这道问题。”
闲聊
虽然 Claude 2 说自己的中文理解能力还有限制,但是我们还是忍不住地试了一下:
通过这个示例,Claude 2 表现让我们感到了惊喜。
再试一次:
还不错!
最后
整体而言,像 Claude 2 这样的人工智能模型可以分析长而复杂的作品,但 Anthropic 仍然意识到它的局限性。毕竟,语言模型有时会凭空捏造一些东西,也会像计算数学题一样出错。
而且整体体验下来,如果说其能力超过了 ChatGPT,其实还为时尚早。具体在使用时候,还是建议大家需要对输出内容自行验证,工具只能作为辅助。
最后,如果对 Claude 2 感兴趣的小伙伴,也可以通过:https://www.anthropic.com/index/claude-2 申请注册体验。
","gnid":"9652de4bd57515f09","img_data":[{"flag":2,"img":[{"desc":"","height":"80","s_url":"https://p0.ssl.img.360kuai.com/t0160bfdc18dd41df77_1.gif","title":"","url":"https://p0.ssl.img.360kuai.com/t0160bfdc18dd41df77.gif","width":"640"},{"desc":"","height":"144","title":"","url":"https://p0.ssl.img.360kuai.com/t0129b17939189bac4d.jpg","width":"784"},{"desc":"","height":"506","title":"","url":"https://p0.ssl.img.360kuai.com/t010e632c621a7f64ad.jpg","width":"686"},{"desc":"","height":"474","title":"","url":"https://p0.ssl.img.360kuai.com/t01a53c0681a4ec303f.jpg","width":"848"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t010a2fa9e62582b546.jpg","width":"120"},{"desc":"","height":"224","title":"","url":"https://p0.ssl.img.360kuai.com/t0125069a9f389aba69.jpg","width":"754"},{"desc":"","height":"685","title":"","url":"https://p0.ssl.img.360kuai.com/t01e18ea093ca61853f.jpg","width":"756"},{"desc":"","height":"435","title":"","url":"https://p0.ssl.img.360kuai.com/t01ba48a93014f5e48b.jpg","width":"749"},{"desc":"","height":"820","title":"","url":"https://p0.ssl.img.360kuai.com/t012f7a485a2fdd0636.jpg","width":"762"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t0198fd1fe114e97b87.jpg","width":"120"},{"desc":"","height":"821","title":"","url":"https://p0.ssl.img.360kuai.com/t0153e1d1a2f7c16707.jpg","width":"740"},{"desc":"","height":"82","title":"","url":"https://p0.ssl.img.360kuai.com/t01892532272aee5668.jpg","width":"717"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t01386667d09b83be8b.jpg","width":"120"},{"desc":"","height":"633","title":"","url":"https://p0.ssl.img.360kuai.com/t011552ec403e1463ff.jpg","width":"750"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t01cc609231f5b61e60.jpg","width":"120"},{"desc":"","height":"670","title":"","url":"https://p0.ssl.img.360kuai.com/t0101b3c89dd2a91324.jpg","width":"777"},{"desc":"","height":"673","title":"","url":"https://p0.ssl.img.360kuai.com/t0102708726bc85d5e5.jpg","width":"771"},{"desc":"","height":"545","title":"","url":"https://p0.ssl.img.360kuai.com/t01e8415bc6bb1f551f.jpg","width":"744"},{"desc":"","height":"473","title":"","url":"https://p0.ssl.img.360kuai.com/t0143728ac42fd5b8c4.jpg","width":"740"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t01ec92b6aa08682095.jpg","width":"120"},{"desc":"","height":"419","title":"","url":"https://p0.ssl.img.360kuai.com/t013263f10fbe8c6843.jpg","width":"1080"},{"desc":"","height":"794","title":"","url":"https://p0.ssl.img.360kuai.com/t01d8e02249eedcdc8e.jpg","width":"748"},{"desc":"","height":"263","title":"","url":"https://p0.ssl.img.360kuai.com/t01427d03d35076c668.jpg","width":"1080"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t0179d31faf3b4be904.jpg","width":"120"},{"desc":"","height":"412","title":"","url":"https://p0.ssl.img.360kuai.com/t019cf8b7d18f08591f.jpg","width":"747"},{"desc":"","height":"468","title":"","url":"https://p0.ssl.img.360kuai.com/t01e0dc78bbc8bb9cf5.jpg","width":"774"},{"desc":"","height":"96","title":"","url":"https://p0.ssl.img.360kuai.com/t01e98899348bcde335.jpg","width":"120"}]}],"original":0,"pat":"zzc,art_src_1,otherc,fts0,sts0","powerby":"hbase","pub_time":1689246311000,"pure":"","rawurl":"http://zm.news.so.com/31b8262802574897dba0494912f1bf9e","redirect":0,"rptid":"f5e9f72f5639d793","rss_ext":[],"s":"t","src":"CSDN","tag":[{"clk":"kgame_1:pdf","k":"pdf","u":""}],"title":"ChatGPT 最强竞争对手 Claude 2 推出公开 Beta 版,我们上手实测了一把!
骆翔骆1603控制工程中,某个典型环节传递函数G(S)=TS+1, 这个环节是(. ) - 上...
晏莺肥19819284174 ______ sin(pai+a+b)=sinpai*cos(a+b)+cospai*sin(a+b)=-sin(a+b) 因为sinpai=0,coxpai=-1.故两边同时乘上-1即得证.
骆翔骆1603在三角形当中SinA+SinB是不是=Sin(A+B)? -
晏莺肥19819284174 ______ 不等于.举个例子,等边三角形中三角都是六十度,sin60+sin60不等于sin120啊
骆翔骆1603证明sin(a+b)sin(a - b)=(sina+sinb)(sina - sinb) -
晏莺肥19819284174 ______ 证明: 要证 sin(a+b)sin(a-b)=(sina+sinb)(sina-sinb) 只须证 (sina*cosb+cosa*sinb)(sina*cosb-cosa*sinb)=(sina+sinb)(sina-sinb) 利用平方差公式 只须证 sina*sina*cosb*cosb-cosa*cosa*sinb*sinb=sina*sina-sinb*sinb 把第一项移到右边,把...