{"id":10251,"date":"2023-04-01T01:00:26","date_gmt":"2023-04-01T05:00:26","guid":{"rendered":"https:\/\/blogs.mathworks.com\/cleve\/?p=10251"},"modified":"2023-04-04T11:31:33","modified_gmt":"2023-04-04T15:31:33","slug":"my-chat-with-ernie-a-chinese-chat-bot","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/cleve\/2023\/04\/01\/my-chat-with-ernie-a-chinese-chat-bot\/","title":{"rendered":"My Chat with Ernie, a Chinese Chat Bot"},"content":{"rendered":"<div class=\"content\"><!--introduction--><p>I recently had an opportunity to chat with Ernie, the Large Language Model currently under development at the Chinese internet search giant, <a href=\"https:\/\/www.cnbc.com\/2023\/02\/07\/baidu-shares-leaps-as-it-reveals-plan-for-chatgpt-style-ernie-bot.html\" target=\"_blank\">Baidu<\/a>.  As I expected, Ernie's responses are in Chinese. I don't speak Chinese, so I have asked Google Translate for the response in English.<\/p><!--\/introduction--><h3>Contents<\/h3><div><ul><li><a href=\"#8bdaf182-51c2-4843-a2be-98df430c39cc\">Embarrassingly Parallel<\/a><\/li><li><a href=\"#7aad9ef7-8d41-4907-be94-fd647ab6a762\">Love MATLAB?<\/a><\/li><li><a href=\"#fc2f9078-105c-45bf-9ea6-df8e811b0de2\">Cleve's Corner<\/a><\/li><li><a href=\"#6ac55893-0202-442a-8871-ffd685ea191a\">Conclusion<\/a><\/li><\/ul><\/div><h4>Embarrassingly Parallel<a name=\"8bdaf182-51c2-4843-a2be-98df430c39cc\"><\/a><\/h4><p>One of my questions that Microsoft's ChatGPT answered incorrectly was<\/p><pre>   Who coined the term \"embarrassingly parallel?\"<\/pre><p>Ernie's response to the same question was<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/cleve\/files\/response3.jpg\" alt=\"\"> <\/p><p>Goggle translate:<\/p><pre>   Who coined the embarrassing word parallel?<\/pre><p>Well that's a <b>very<\/b> unfortunate misunderstanding. And, it's just repeating the question. That's an old trick; the mother of all chat bots, <a href=\"https:\/\/en.wikipedia.org\/wiki\/ELIZA\" target=\"_blank\">Eliza<\/a> , used it over sixty years ago.<\/p><h4>Love MATLAB?<a name=\"7aad9ef7-8d41-4907-be94-fd647ab6a762\"><\/a><\/h4><p>One  of the questions I often ask when I meet someone for the first time is<\/p><pre>  Do you use MATLAB?<\/pre><p>Earnie's reply was<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/cleve\/files\/response1.jpg\" alt=\"\"> <\/p><p>Google translation is<\/p><pre>  I think I love you.<\/pre><p>Well, that's nice, but doesn't really answer my question.<\/p><h4>Cleve's Corner<a name=\"fc2f9078-105c-45bf-9ea6-df8e811b0de2\"><\/a><\/h4><p>Can a chat bot assist with writing this blog? I don't expect help with the MATLAB code, or with the graphics, or with any mathematics.  How about the prose, if it isn't too technical.<\/p><p>Here is the opening sentence of the <a href=\"https:\/\/blogs.mathworks.com\/cleve\/2023\/02\/04\/matrices-in-action-grafix-2-0\/\">post I made a few weeks ago<\/a>.<\/p><pre>   The 4-by-4 matrices in the panels on the following screenshots\n   are at the heart of computer graphics.<\/pre><p>I asked Ernie how that would look in Chinese. Ernie responded with<\/p><p><img decoding=\"async\" vspace=\"5\" hspace=\"5\" src=\"http:\/\/blogs.mathworks.com\/cleve\/files\/response2.jpg\" alt=\"\"> <\/p><p>When Google translates that back to English, we get<\/p><pre>   The 4&times;4 matrix in the screenshot panel below is at the heart of\n   computer graphics.<\/pre><p>Ernie decided to make the sentence singular, which happens to shorten it.  But I am afraid that isn't much help for this blog.<\/p><h4>Conclusion<a name=\"6ac55893-0202-442a-8871-ffd685ea191a\"><\/a><\/h4><p>I have already described <a href=\"https:\/\/blogs.mathworks.com\/cleve\/2023\/02\/21\/my-chat-with-chatgpt\/\">my chat with ChatGPT<\/a>. This Chinese competitor is certainly not an improvement. For now, I will continue to produce this blog the old fashioned way, without any \"help\" from AI.<\/p><script language=\"JavaScript\"> <!-- \n    function grabCode_1ab0a9dd4230472ebcebbecc859ab36c() {\n        \/\/ Remember the title so we can use it in the new page\n        title = document.title;\n\n        \/\/ Break up these strings so that their presence\n        \/\/ in the Javascript doesn't mess up the search for\n        \/\/ the MATLAB code.\n        t1='1ab0a9dd4230472ebcebbecc859ab36c ' + '##### ' + 'SOURCE BEGIN' + ' #####';\n        t2='##### ' + 'SOURCE END' + ' #####' + ' 1ab0a9dd4230472ebcebbecc859ab36c';\n    \n        b=document.getElementsByTagName('body')[0];\n        i1=b.innerHTML.indexOf(t1)+t1.length;\n        i2=b.innerHTML.indexOf(t2);\n \n        code_string = b.innerHTML.substring(i1, i2);\n        code_string = code_string.replace(\/REPLACE_WITH_DASH_DASH\/g,'--');\n\n        \/\/ Use \/x3C\/g instead of the less-than character to avoid errors \n        \/\/ in the XML parser.\n        \/\/ Use '\\x26#60;' instead of '<' so that the XML parser\n        \/\/ doesn't go ahead and substitute the less-than character. \n        code_string = code_string.replace(\/\\x3C\/g, '\\x26#60;');\n\n        copyright = 'Copyright 2023 The MathWorks, Inc.';\n\n        w = window.open();\n        d = w.document;\n        d.write('<pre>\\n');\n        d.write(code_string);\n\n        \/\/ Add copyright line at the bottom if specified.\n        if (copyright.length > 0) {\n            d.writeln('');\n            d.writeln('%%');\n            if (copyright.length > 0) {\n                d.writeln('% _' + copyright + '_');\n            }\n        }\n\n        d.write('<\/pre>\\n');\n\n        d.title = title + ' (MATLAB code)';\n        d.close();\n    }   \n     --> <\/script><p style=\"text-align: right; font-size: xx-small; font-weight:lighter;   font-style: italic; color: gray\"><br><a href=\"javascript:grabCode_1ab0a9dd4230472ebcebbecc859ab36c()\"><span style=\"font-size: x-small;        font-style: italic;\">Get \n      the MATLAB code <noscript>(requires JavaScript)<\/noscript><\/span><\/a><br><br>\n      Published with MATLAB&reg; R2023a<br><\/p><\/div><!--\n1ab0a9dd4230472ebcebbecc859ab36c ##### SOURCE BEGIN #####\n%% My Chat with Ernie, a Chinese Chat Bot\n% I recently had an opportunity to chat with Ernie, the Large Language\n% Model currently under development at the Chinese internet search giant,\n% <https:\/\/www.cnbc.com\/2023\/02\/07\/baidu-shares-leaps-as-it-reveals-plan-for-chatgpt-style-ernie-bot.html\n% Baidu>.  As I expected, Ernie's responses are in Chinese.  \n% I don't speak Chinese, so I have asked Google Translate for the response\n% in English.\n\n%% Embarrassingly Parallel\n% One of my questions that Microsoft's ChatGPT answered incorrectly\n% was\n%\n%     Who coined the term \"embarrassingly parallel?\"\n%\n% Ernie's response to the same question was\n%\n% <<response3.jpg>>\n%\n% Goggle translate:\n%\n%     Who coined the embarrassing word parallel?\n%\n% Well that's a *very* unfortunate misunderstanding.\n% And, it's just repeating the question.\n% That's an old trick; the mother of all chat bots, \n% <https:\/\/en.wikipedia.org\/wiki\/ELIZA\n% Eliza> , used it over sixty years ago.\n\n%% Love MATLAB?\n% One  of the questions I often ask when I meet someone for the first\n% time is\n% \n%    Do you use MATLAB?\n% \n% Earnie's reply was\n%\n% <<response1.jpg>>\n%\n% Google translation is\n%\n%    I think I love you.\n%\n% Well, that's nice, but doesn't really answer my question.\n\n%% Cleve's Corner\n% Can a chat bot assist with writing this blog?\n% I don't expect help with the MATLAB code, or with the graphics, or with\n% any mathematics.  How about the prose, if it isn't too technical.\n%\n% Here is the opening sentence of the\n% <https:\/\/blogs.mathworks.com\/cleve\/2023\/02\/04\/matrices-in-action-grafix-2-0\/\n% post I made a few weeks ago>.\n%\n%     The 4-by-4 matrices in the panels on the following screenshots\n%     are at the heart of computer graphics.\n%\n% I asked Ernie how that would look in Chinese.\n% Ernie responded with\n%\n% <<response2.jpg>>\n%\n% When Google translates that back to English, we get\n%\n%     The 4\u00d74 matrix in the screenshot panel below is at the heart of\n%     computer graphics.\n%\n% Ernie decided to make the sentence singular, which happens to \n% shorten it.  But I am afraid that isn't much help for this blog.\n\n%% Conclusion\n% I have already described\n% <https:\/\/blogs.mathworks.com\/cleve\/2023\/02\/21\/my-chat-with-chatgpt\/\n% my chat with ChatGPT>.\n% This Chinese competitor is certainly not an improvement.\n% For now, I will continue to produce this blog the old fashioned way,\n% without any \"help\" from AI.\n##### SOURCE END ##### 1ab0a9dd4230472ebcebbecc859ab36c\n-->","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/cleve\/files\/framed_ernie.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><!--introduction--><p>I recently had an opportunity to chat with Ernie, the Large Language Model currently under development at the Chinese internet search giant, <a href=\"https:\/\/www.cnbc.com\/2023\/02\/07\/baidu-shares-leaps-as-it-reveals-plan-for-chatgpt-style-ernie-bot.html\" target=\"_blank\">Baidu<\/a>.  As I expected, Ernie's responses are in Chinese. I don't speak Chinese, so I have asked Google Translate for the response in English.... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/cleve\/2023\/04\/01\/my-chat-with-ernie-a-chinese-chat-bot\/\">read more >><\/a><\/p>","protected":false},"author":78,"featured_media":10311,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,4,31],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/10251"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/users\/78"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/comments?post=10251"}],"version-history":[{"count":2,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/10251\/revisions"}],"predecessor-version":[{"id":10266,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/posts\/10251\/revisions\/10266"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/media\/10311"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/media?parent=10251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/categories?post=10251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/cleve\/wp-json\/wp\/v2\/tags?post=10251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}