分享

谷歌AI如果多写情诗 程序员找女朋友指日可待

 llvsh 2016-05-23

读了上千本爱情小说的不仅有期待爱情的萌妹子,还有想学写诗的 Google 人工智能

没有品味,审美奇葩,不懂浪漫,这是大家对程序员的固有印象。

你说程序员不会写诗撩妹,Google AI 会就行。

走出地铁第一步,也是拯救程序员的第一步。

从写诗开始。

he was silent for a long moment.

he was silent for a moment.

it was quiet for a moment.

it was dark and cold.

there was a pause.

it was my turn.

沉寂于熙

冷冷清清

瞬息与世

唯有我尔

(这首有点表达道家哲理的世界爱情观。)

Google 与斯坦福大学正在研究人工智能自然语言学习技术。主要针对机器翻译和图片抓取任务新建了一个惯用神经网络语言模型 (recurrent neural network language model RNNLM)。想要腹有诗书气自华,怎么的也得把各大名家大作拜读一遍吧。这个模型就是教会 AI 如何读书破万卷,情诗张口来。

但目前, RNNLM 还不能就指定主题写出一系列句子,用算法写出了一句话,也不一定顺利地写出下一句。康奈尔大学发表的一篇学术论文就展示了他们的最新成果:使用自变编码(variational autoencoder)避免 AI 犯错。

但是无论怎么样,即使程序员们不会写诗,把这么文艺化和创造性的事儿交给 AI 来写,看起来也挺有意思的。

以下几首诗就是 AI 写出来的,这些诗收录在“我从几千本爱情小说中学到了什么” 中,AI 研究者所限定的主题是“相对浪漫”:

it was the only way.

it was her turn to blink.

it was hard to tell.

it was time to move on.

he had to do it again.

they all looked at each other.

they all turned to look back.

they both turned to face him.

they both turned and walked away.

这是条唯一的路

她有点闪烁其词

难以言说的秘密

是不是进退两难

面面相对,很难

都转过身来看

都朝向他

我们转身走开

(这本是玛丽苏?)

AI 写出来的句子从语法来说通顺,整体结构也都能与主题保持契合,虽然没有那么诗情画意,但是仔细看看也有点呆萌和小哲理不是吗?

“no,” he said.

“no,” i said.

“i know,” she said.

“thank you,” she said.

“come with me,” she said.

“talk to me,” she said.

“don’t worry about it,” she said.

“不,”他说。

“不,”我说。

“我知道,”她说。

“谢谢你,”她说。

“跟我来,”她说。

“跟我说话,”她说。

“别担心,”她说。

(好像感受到 AI 应该读了一本霸气御姐范儿的爱情小说。)

i don’t like it, he said.

i waited for what had happened.

it was almost thirty years ago.

it was over thirty years ago.

that was six years ago.

he had died two years ago.

ten, thirty years ago.

“it’s all right here.

“everything is all right here.

“it’s all right here.

it’s all right here.

we are all right here.

come here in five minutes.

我不喜欢它,他说。

我等待着。

它几乎是三十年前。

这大抵是三十年前。

那是六年前。

他曾在两年前去世了。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多