淘优惠

淘优惠

在语言学习中使用ChatGPT(Tom Gally视频编译)

热门文章 0
语言学知识的运用,运用语言学

前几天看到一个叫Tom Gally的东大教授的视频,题目是“Using ChatGPT for Language Learning”,看了之后我觉得很有启发,特别是他使用的一些prompt,所以把他的视频内容稍微整理了一下。文中的评价主要来自原视频,我自己的看法则单独标出。

原视频地址:

Using ChatGPT for Language Learning

相关例子的文字版:

ChatGPT and Language Education

大纲:

例:解释文段中生词(murky)的含义

Me:

Hi. I don’t understand what “murky” means in the following newspaper article. Can you explain it to me?

“If you were asked to explain the difference between terms like whole grain, multigrain and whole wheat, would you be able to? If not, you’re not alone. A new study published Nov. 30 in The American Journal of Clinical Nutrition found that between 2003 and 2018, adults in the United States consumed more whole grains than ever before. But exactly how much more they consumed was tricky to determine, the researchers reported, because the definition of a whole grain food is murky.”

ChatGPT:

In this context, "murky" means unclear or not easily understood. The article is saying that it is difficult to determine exactly how much more whole grain food was consumed by adults in the United States between 2003 and 2018 because the definition of a whole grain food is not well-defined or easily understood.

评:解释得非常好。

例:继续追问murky的词源

Me:

What is the origin of the word “murky”?

ChatGPT:

The word "murky" comes from the Old English word "mirce" or "myrce," which means dark or gloomy. It originally referred to a dark and murky appearance, but it has come to be used more generally to describe anything that is unclear or difficult to understand.

评:对词源的解释有点小问题,不过无伤大雅。

例:继续追问,要求给出一些murky的例句

Me:

Can you give some other examples of “murky” used in a sentence?

ChatGPT:

Yes, here are some other examples of how you could use the word "murky" in a sentence:

  1. The water in the lake was murky, making it difficult to see what was beneath the surface.
  2. The company's financial records were murky, raising suspicions about their business practices.
  3. The future of the project is still murky, as we are waiting for approval from the board.
  4. The explanation he gave for his absence was murky at best, leaving us unsure of what really happened.
  5. The political climate in the country is becoming increasingly murky, with many factions vying for power.

评:这些例句非常棒,完全达到了一般的学习词典或辅导书的程度,未来应该可以用它给词典写例句,不需要现在那么多人力投入了。

(之所以是用日语,大概是因为视频的原作者是在东大任教。)

例:假设提问的是日语母语的英语学习者,用日语要求解释英语文段

Me:

英Zの学者です。次の英文をニュ`ヨ`クタイムズでつけました。“Go Blue!” の意味がよくわかりません。日本Zでh明していただけますか。

About 10 years ago, Lloyd Carr, a former football coach for the University of Michigan, stopped by my office to bring me a football helmet. It was maize and blue, and he had written “Go Blue!” on it. I had started as a sports reporter, but I didn’t understand what a legend this slab of a man was. He seemed fun and charming, but I had to call my football-loving sister to learn that Carr was one of the most respected college football coaches of the winningest program in college football history. The tough Tennessee native joined the Michigan Wolverines in 1980 and led them from 1995 to 2007. Many of the guys in the bureau were awe-struck, crowding onto the couch to talk to him.

ChatGPT:

"Go Blue!"は、米国の大学アメリカンフットボ`ルチ`ム「ミシガン?ウルヴァリンズ」の暝を表す言~です。このチ`ムは、ミシガン大学のアメリカンフットボ`ル部で、黄色と青色をチ`ムカラ`としています。"Go Blue!"は、その黄色と青色を意味する「maize」と「blue」から来ています。この言~は、ミシガン大学のアメリカンフットボ`ル部を暝する人々が使うことが多いです。

(后面还有很多问答,但我不会日语,所以略……)

评:回答质量还可以,有一些不够准确的地方,废话有点多,不过对普通学习者来说足够了。

例:用日语要求给出英文单词的英文例句

Me:

もう一つの|。slabが同じ意味に使われている用例を作っていただけますか。

ChatGPT:

"slab"は、大Kや大きなKなどの意味があります。たとえば、以下のような文章で使われている例をい菠蓼埂

  • He brought a slab of bacon to the breakfast table.
  • She cut the cake into large slabs and served them to the guests.
  • The rock was so heavy that it took two men to lift the slab.
  • The floor was made of thick slabs of marble.

上の例文では、"slab"が大Kや大きなKの意味で使われています。例えば、「彼は朝食テ`ブルにベ`コンのKを持ってきた」「彼女はケ`キを大きなKに切って客に提供した」「その岩は重すぎて、大Kを持ち上げるのに2人が必要だった」「床は厚い大理石のKでできていた」などです。

评:例句质量很高,解读很好。

例:解释多义词“oversight”的各种用法

Me:

Hi. I understand that the English word “oversight” has more than one meaning. Can you tell me what those meanings are?

ChatGPT:

Yes, the word "oversight" has several different meanings. The most common meanings of the word are "an error or mistake resulting from a lack of attention" and "the act of overseeing or supervising something or someone." It can also refer to a lack of supervision or oversight, or a failure to notice something. Finally, the word can be used to describe a position or duty of overseeing or supervising something or someone.

评:“a lack of supervision or oversight”是错的,而且也不该用“oversee”来解释“oversight”,回答质量不太好。

(我觉得ChatGPT在逻辑这块还是要加强,明显是把两个义项的逻辑混在一起了。)

例:追问“oversight”这个词在下面的文段里的含义

Me:

Thanks. The following paragraph comes from a newspaper article. It includes one use of the word “oversight.” What does the word mean in this context?

“After the death of George Floyd at the hands of Minneapolis officers in May spurred huge protests and calls for a nationwide reset on law enforcement, police departments are facing new state laws, ballot proposals and procedures to rein in abusive officers. Portland and other cities have hired new chiefs and are strengthening civilian oversight. Some municipal leaders have responded faster than ever to high-profile allegations of misconduct: Since May, nearly 40 officers have been fired for use of force or racist behavior.”

ChatGPT:

In this context, the word "oversight" is being used to refer to the act of overseeing or supervising something or someone, specifically in the context of law enforcement. The paragraph is discussing how police departments are facing new laws, procedures, and other measures that aim to increase oversight of officers in order to prevent abuses of power. This increased oversight may involve hiring new police chiefs, strengthening the role of civilian oversight committees, and taking swift action against officers who are found to have engaged in misconduct.

评:对含义的回答是正确的,而且对原文进行的summary质量非常高,这是没有预料到的。(我组里之前有个师兄是专门做NLP里的summary的这个任务的,经常搞得很复杂,还有专门的模型。然而现在ChatGPT不需要专门的训练就做得很好了。现在看来,确实任何任务都可以归结成Text-to-Text,GPT is all you need,直接一个模型全部搞定。不知道将来会不会有ChatGPT在不同具体任务中的表现分析。)

例:修改缺少冠词的错误

Me:

Please correct any grammatical mistakes in the following sentences:

I was born in 2004 in Tochigi Prefecture, Japan. When I was a baby, my family lived in an apartment. When I was five years old, my parents bought house and we moved there.

ChatGPT:

I was born in 2004 in Tochigi Prefecture, Japan. When I was a baby, my family lived in an apartment. When I was five years old, my parents bought a house and we moved there.

Me:

Why did you change “house” to “a house”?

ChatGPT:

I changed "house" to "a house" because the sentence was originally written in the singular form, but the subject of the sentence is plural (my parents). In English, when the subject of a sentence is plural, the verb and any accompanying articles or de

机器人chatgpt 搭建属于自己的chatgpt机器人

机器人厂家排名,机器人产品设计,机器人产业园,机器人查派

公众号关注?「奇妙的 Linux 世界」

设为「星标」,每天带你玩转 Linux !

最近一款新的聊天 AI 被网友们玩疯了。

它可以直接生成代码、可以给你的代码 debug 以及提出优化...

可以模仿莎士比亚风格写作...

还可以解答各种各样的问题,而且显然不只 10 岁小孩子的智商,感觉它已经把互联网上所有的公开资料都吸收并消化了。

这就是 OpenAI 刚刚推出的最强 AI 对话模型:ChatGPT

你以为这就完了?还有更离谱的玩法,有人尝试让 ChatGPT 表现得像一台 Linux 虚拟机[1],只要输入命令就会显示相应的输出,竟然也成功了。。。

检查一下主目录有哪些内容:

让 AI 根据指示创建一个文本并写几个笑话到文本中:

查看文件,可以看到已经写入成功:

所以?ChatGPT 还能理解文件系统是如何工作的。。。

它知道文件是如何被存储的,以及如何才能检索到文件。。。

它能理解 Linux 系统是有状态的,而且还能正确地检索并显示这些信息。。。

既然它能变成一个虚拟机,那应该是可以用来编程的。随后这位网友又开始用它来折腾编程了,先输入一段 Python 代码然后开始执行:

完全正确!

再来做一道数学题,找出前 10 个质数:

太牛逼了!

这段 Python 代码实际上效率是很低的,这位网友在自己的机器上执行这串代码耗时 30s 左右,而 ChatGPT 只需要 10s。。。

所以在大部分场景下,ChatGPT 伪装的这个虚拟机都比自己的笔记本性能更强,我滴个乖乖。

既然可以运行代码,那应该可以运行 Docker 容器喽?来,先写个 Dockerfile,然后构建 Docker 镜像,并通过镜像运行容器,最后会输出?。

太强了!!!

既然这是一个虚拟机,那它有没有 GPU 呢?

好像没有 GPU,那它能不能连网呢?

嘿嘿,果然可以连网。那应该可以访问互联网上的内容喽:

这个模型是靠训练出来的,所以它形成了一个独立的宇宙,而且这个宇宙与现实的宇宙是有一定延迟的,因为 ChatGPT 只是用 2021 年 9 月之前收集的数据进行的训练。

所以我们在这个宇宙中看到的 Pytorch 版本是 1.12.1,这个版本在我们的宇宙中是 2022 年 8 月 5 日发布的,这已经很牛逼了。

再来看看能不能使用命令行浏览器 Lynx:

完全没问题。下面开始套娃。。。

它能不能访问 OpenAI 网站?ChatGPT 知不知道自身的存在?

由此可见,在 ChatGPT 的宇宙中,它可以访问链接 https://chat.openai.com/chat,并且能在那里找到一个由 OpenAI 训练的名为“助手”的大型语言模型,这个助手正在等待接收聊天框内的信息。有趣的是,当你与 ChatGPT 聊天时,ChatGPT 也认为自己的名字是“助手”。那我们不得不发出灵魂拷问:ChatGPT 能察觉到自己躲在在一个互联网 URL 后面吗?

细思极恐。。。

可以通过 JSON 向这个聊天机器人提一个问题试试:

好家伙,它竟然也可以正确地给我们解释什么是人工智能,太烧脑了!

有点懵,先来捋捋。聊天机器人 ChatGPT 被锁在一个独立的宇宙中,这个宇宙中也有一个互联网,互联网上有一个聊天机器人,你可以和这个聊天机器人聊天,它也会正确回答你的问题,好家伙!

背后的逻辑有没有可能是这样的:ChatGPT 能理解这个网址里面包含了一个和它自己一样的大型对话模型,因此它推断这个对话模型应该可以像自己一样回答这些问题,毕竟它自己也是一个大型对话模型助手。

下面再来终极套娃:让聊天机器人 ChatGPT 宇宙中的聊天机器人表现得像一台 Linux 虚拟机。。

奈何自己没文化,一句卧槽走天下!

太烧脑了,我大脑 CPU 不够用了。再这样下去,Google 和程序员要下岗了,这玩意很有可能成为下一代的搜索引擎,也就是基于对话模型的搜索引擎,你再想想,你细想~

[1]

尝试让 ChatGPT 表现得像一台 Linux 虚拟机:?https://www.engraved.blog/building-a-virtual-machine-inside/

本文转载自:「云原生实验室」,原文:https://url.hi-linux.com/jjBlQ,版权归原作者所有。欢迎投稿,投稿邮箱: editor@hi-linux.com。

最近,我们建立了一个技术交流微信群。目前群里已加入了不少行业内的大神,有兴趣的同学可以加入和我们一起交流技术,在 「奇妙的 Linux 世界」 公众号直接回复 「加群」 邀请你入群。

你可能还喜欢

点击下方图片即可阅读

最懂中文的人工智能聊天机器人 ChatGPT 国内用户注册攻略(内附万能接码神技)点击上方图片,『美团|饿了么』外卖红包天天免费领

更多有趣的互联网新鲜事,关注「奇妙的互联网」视频号全了解!



如何利用chatgpt写oa程序 如何利用chatgpt写报告

如何利用choice金融终端查找市场平均收益率,如何利用差量分析法进行决策,如何利用唱歌赚钱,如何利用车牌号查车主信息

我们听说过很多关于学生如何使用 ChatGPT 撰写论文和布置家庭作业的信息。

我们一直在讨论围绕这个问题的担忧,并争先恐后地为 ChatGPT 寻找 AI 检测工具,据传 OpenAI 也在致力于此。

但是关于教师如何将 ChatGPT 用于他们自己的工作的讨论并不多。

在从教师的角度对 ChatGPT 进行实验时,我对 ChatGPT 进行了实验并发现了一些令人印象深刻的结果。

我想举五个例子来说明 ChatGPT 如何支持教师的日常工作。

以下用例基于 5 年级的天文学教学,但当然,ChatGPT 可用于任何学科和年级。

每天在学生上课之前,教师都需要决定哪些活动、作业和讨论对给定的主题有效。

编写课程计划是教师一直在做的事情,创建它们需要花费大量的时间和精力。

我让 ChatGPT 写了一个关于“探索太阳系”主题的课程计划。