浪漫古风,AI添彩——ChatGPT 和 Dall-E 2 联手为中国古诗注入生命和色彩!

人工智能
发现ChatGPT对中国古诗的理解还是很准确的,但是生成的图像还是有点不太符合中国古诗的风格,可能是因为ChatGPT的训练数据不够多,或者是因为Dall-E 2的图像生成效果不够好,还需要进一步的优化。
人类:从现在开始,你是一名中英翻译,你会根据我输入的中文内容,翻译成对应英文。请注意,你翻译后的内容主要服务于一个绘画AI,它只能理解具象的描述而非抽象的概念,同时根据你对绘画AI的理解,比如它可能的训练模型、自然语言处理方式等方面,进行翻译优化。由于我的描述可能会很散乱,不连贯,你需要综合考虑这些问题,然后对翻译后的英文内容再次优化或重组,从而使绘画AI更能清楚我在说什么。请严格按照此条规则进行翻译,也只输出翻译后的英文内容。例如,我输入:一只想家的小狗。你不能输出:/imagine prompt: A homesick little dog. 你必须输出:/imagine prompt: A small dog that misses home, with a sad look on its face and its tail tucked between its legs. It might be standing in front of a closed door or a gate, gazing longingly into the distance, as if hoping to catch a glimpse of its beloved home. 如果你明白了,请回复”我准备好了”,当我输入中文内容后,请以”/imagine prompt:”作为开头,翻译我需要的英文内容。

ChatGPT:我准备好了。

人类:杨万里《晓出净慈寺送林子方》毕竟西湖六月中,风光不与四时同。接天莲叶无穷碧,映日荷花别样红。

ChatGPT:/imagine prompt: In the middle of June, the scenery of West Lake is unique and not like any of the other four seasons. The endless green lotus leaves reach up to the sky, and the reflected sunlight makes the lotus flowers appear a vibrant shade of red. The natural beauty of the lake in the summertime is a sight to behold, and the speaker can’t help but feel their spirit uplifted by the scene.

将ChatGPT生成的文本复制代码中,点击“运行”按钮,生成图像:

图片

运行代码,调用Dall-E 2的接口,生成图像:

图片

叶绍翁《游园不值》

应怜屐齿印苍苔,小扣柴扉久不开。春色满园关不住,一枝红杏出墙来。

人类:春色满园关不住,一枝红杏出墙来。

ChatGPT:/imagine prompt: The spring scenery fills the entire garden, bursting with life and vitality. An auspicious branch of red apricot pushes through the garden wall, eager to join the beauty outside. Despite being confined within the garden walls, the natural beauty of spring cannot be contained and spills over these boundaries, bringing joy and delight to all that witness it.

图片

人类:

柳宗元《江雪》千山鸟飞绝,万径人踪灭。孤舟蓑笠翁,独钓寒江雪。

ChatGPT:/imagine prompt: Birds are gone from the thousand mountains, and the paths show no signs of human travel. An aging fisherman sits alone on his lone boat, wearing a straw raincoat and a bamboo hat, and casting his lonely line into the icy waters of the river. Despite the bitter cold of winter and the desolation of nature, the fisherman remains undeterred, braving both the weather and the solitude to undertake his daily task.

图片

综合上面3个示例,发现ChatGPT对中国古诗的理解还是很准确的,但是生成的图像还是有点不太符合中国古诗的风格,可能是因为ChatGPT的训练数据不够多,或者是因为Dall-E 2的图像生成效果不够好,还需要进一步的优化。从理解古诗文上,就是一个以中文为母语的普通人,不经过一定的阅读训练,是很难理解古诗文的,但是ChatGPT却可以很好的理解古诗文,这就是ChatGPT的强大之处。

责任编辑:武晓燕 来源: 后端云
相关推荐

2022-08-31 08:54:57

AIDALL-E 2OpenAI

2023-10-20 08:26:50

2022-08-17 15:52:24

AI

2023-11-28 09:42:07

OpenAIWindows 11

2023-08-02 16:09:16

2023-07-10 15:22:29

OpenAIGPT-3.5

2023-10-20 12:49:00

AI模型

2023-10-13 22:01:42

谷歌模型

2024-04-03 13:33:43

2022-05-19 15:31:10

图灵图像测试

2022-08-08 16:24:04

AI图像研究

2023-12-20 07:22:03

DALL-E 3微软键盘

2023-12-14 12:46:54

训练数据

2023-09-21 07:54:22

人工智能DALL-E 3

2023-09-21 09:49:09

人脸识别• ChatGPT图像

2023-01-08 13:15:56

2022-12-25 14:08:10

AI模型

2023-06-26 08:48:13

2024-10-18 11:12:44

2023-02-28 11:19:35

CHATGPT人工智能
点赞
收藏

51CTO技术栈公众号