DL之RNN:人工智能为你写小说——基于TF利用RNN算法训练数据集(William Shakespeare的《Coriolanus》)替代你写英语小说短文、训练&测试过程全记录


空军
空军 2022-09-19 16:25:14 51381
分类专栏: 资讯

DL之RNN:基于TF利用RNN算法训练数据集(William Shakespeare的《Coriolanus》)替代你写英语小说短文、测试过程全记录

目录

输出结果

监控模型

训练过程全记录

训练的数据集


输出结果

1、test01

conce alone,
Which treason thines, and true a mercy with the man,
And honour the sheet in my stal and taste and him,
I house your servants there, and a shall some
They take a thing a bate of him, but then, but he is were
Too hath to the match her wanders there he wants.

APRINS:
The sender, and the that's all him at thy bloods;
To thee an ast that that the solet is a wealer this thar was a
will seemen of the than a court to me were burist.

LUCIANO:
I am how, an are this holds and to her sad
Woo on your toon and as thing, have the will
A show that's tears of my satate, some are.

SIR TOBY RELLA:
If the word of her of this sad of my mans are?

ALINA:
I should say thou the thee with an erms, we'll he is with his better.
ANTELIUS:
Will you have those stalling and as a wild
In that, have would say well, he will be string that all her
to here, that a bosom and at as my bands to--they
women is shall say this wears thee;
Hath see, a say me off the honour to the with
That wither and sting, and

独自一人,
哪一个叛逆变瘦,真正的仁慈,
并在我的石板上品尝这张纸,品尝他,
我把你的仆人安放在那里
他们把一件事拿给他听,但他现在是
她想去的地方,也有她的对手。
APRINS:
发送者,那就是他在你的血液里;
对你来说,一个让自己成为一个富人的圣地
对我来说似乎比法庭更重要。
LUCIANO:
我是如何,这是持有和她的悲伤
对你的香椿和作为事物,有意志
这是我的眼泪,有些是。
SIR TOBY RELLA:
如果她的话我的男人的这种悲伤是什么?
艾琳娜:
我应该说你是一个厄尔默斯,我们会和他更好相处。
ANTELIUS:
你会有那些失速和野性吗?
在那,有人会说,他会把她所有的绳子
到这里,那一个胸怀和我的乐队
女人应该说这穿了你;
看见了,向我告别
枯萎和刺痛,

2、test02

fort,
To hear mine aldouse, and hath have a tongue of her as mine.

SILVIA:
And so and merty to this hand,
To seal you we would take the thought in a time.

POLANIA:
I am all their mind, that this the tongue.

ANDELIO:
He thither at my badis, tink as thou
handly; and and all thy last at tell thee
Tell you sake a court of thou to my store with him of my shame
To any shild a shild and heaven as her throog
As his meant and hath to my man and sence,
I had all the witere the storal one worth.

PRINCE HENRY:
He hath something to stay.

SIR OF ORIANIO:
He have troubles here.

LAUVANICUS:
With made that the stally that to this horses, and terter.

PALIS:
Is have this true any stone to the with the sold,
I were a master, the tongue, that a sharlon on
me to he saw and may thy stallangers to streak,
The weads to the more so fiers in thee. And you think
What is, to honour to thy house at
their stays and hand, whell string, thyness would have this,
A soul to-news would be the his hands.
He love you

堡垒,
听我的话,她有我的舌头。
SILVIA:
所以,梅蒂,这只手,
为了封你,我们会在一段时间内接受这个想法。
POLANIA:
我都是他们的头脑,这就是舌头。
ANDELIO:
他在我的坏蛋那里,丁克如你
你最后一次告诉你
你把我的羞辱告诉你我的商店
对任何一个阴霾和天堂作为她的悸动
正如他对我的男人和我所拥有的,
我拥有所有值得收藏的东西。
PRINCE HENRY:
他有事要留下。
奥里亚尼奥爵士:
他这里有麻烦。
LAUVANICUS:
就这样把那匹马吓了一跳。
PALIS:
是真的有什么石头卖给谁,
我是一个大师,舌头,一个沙龙
我见他,愿你的斯塔兰格连任,
在你身上,维斯的音符越来越高。你认为
什么是荣耀你的家
他们的停留和手,弦,thyess都有这个,
新闻的灵魂是他的手。
他爱你

监控模型

训练过程全记录

  1. 2018-10-13 17:05:49.402137:
  2. step: 10/20000... loss: 3.4659... 0.1860 sec/batch
  3. ……
  4. step: 1000/20000... loss: 2.0612... 0.1168 sec/batch
  5. ……
  6. step: 2000/20000... loss: 1.9092... 0.1278 sec/batch
  7. ……
  8. step: 3000/20000... loss: 1.8643... 0.1283 sec/batch
  9. ……
  10. step: 10000/20000... loss: 1.8001... 0.1329 sec/batch
  11. ……
  12. step: 15000/20000... loss: 1.7402... 0.1689 sec/batch
  13. step: 15010/20000... loss: 1.8033... 0.2306 sec/batch
  14. step: 15020/20000... loss: 1.8284... 0.1499 sec/batch
  15. step: 15030/20000... loss: 1.7952... 0.1359 sec/batch
  16. step: 15040/20000... loss: 1.7906... 0.1514 sec/batch
  17. step: 15050/20000... loss: 1.7777... 0.1053 sec/batch
  18. step: 15060/20000... loss: 1.7665... 0.1298 sec/batch
  19. step: 15070/20000... loss: 1.7931... 0.1183 sec/batch
  20. step: 15080/20000... loss: 1.8027... 0.1404 sec/batch
  21. step: 15090/20000... loss: 1.8116... 0.1238 sec/batch
  22. step: 15100/20000... loss: 1.7969... 0.1108 sec/batch
  23. ……
  24. step: 19800/20000... loss: 1.8298... 0.1233 sec/batch
  25. step: 19810/20000... loss: 1.8231... 0.1228 sec/batch
  26. step: 19820/20000... loss: 1.7674... 0.1329 sec/batch
  27. step: 19830/20000... loss: 1.7872... 0.1434 sec/batch
  28. step: 19840/20000... loss: 1.8333... 0.1228 sec/batch
  29. step: 19850/20000... loss: 1.6446... 0.1464 sec/batch
  30. step: 19860/20000... loss: 1.8021... 0.1509 sec/batch
  31. step: 19870/20000... loss: 1.8217... 0.1168 sec/batch
  32. step: 19880/20000... loss: 1.7298... 0.1178 sec/batch
  33. step: 19890/20000... loss: 1.6948... 0.1293 sec/batch
  34. step: 19900/20000... loss: 1.7582... 0.1253 sec/batch
  35. step: 19910/20000... loss: 1.8246... 0.1414 sec/batch
  36. step: 19920/20000... loss: 1.7258... 0.1103 sec/batch
  37. step: 19930/20000... loss: 1.8216... 0.1544 sec/batch
  38. step: 19940/20000... loss: 1.7866... 0.1243 sec/batch
  39. step: 19950/20000... loss: 1.7673... 0.1088 sec/batch
  40. step: 19960/20000... loss: 1.7285... 0.1088 sec/batch
  41. step: 19970/20000... loss: 1.7658... 0.1073 sec/batch
  42. step: 19980/20000... loss: 1.8054... 0.1198 sec/batch
  43. step: 19990/20000... loss: 1.7714... 0.1128 sec/batch
  44. step: 20000/20000... loss: 1.7530... 0.1228 sec/batch

训练的数据集

            《科利奥兰纳斯》是莎士比亚晚年撰写的一部罗马历史悲剧,讲述了罗马共和国的英雄马歇斯(被称为科利奥兰纳斯),因性格多疑、脾气暴躁,得罪了公众而被逐出罗马的悲剧。作者以英雄与群众的关系为主线,揭示出人性的弱点。

1、部分章节

  1. First Citizen:
  2. Before we proceed any further, hear me speak.
  3. All:
  4. Speak, speak.
  5. First Citizen:
  6. You are all resolved rather to die than to famish?
  7. All:
  8. Resolved. resolved.
  9. First Citizen:
  10. First, you know Caius Marcius is chief enemy to the people.
  11. All:
  12. We know't, we know't.
  13. First Citizen:
  14. Let us kill him, and we'll have corn at our own price.
  15. Is't a verdict?
  16. All:
  17. No more talking on't; let it be done: away, away!
  18. Second Citizen:
  19. One word, good citizens.
  20. First Citizen:
  21. We are accounted poor citizens, the patricians good.
  22. What authority surfeits on would relieve us: if they
  23. would yield us but the superfluity, while it were
  24. wholesome, we might guess they relieved us humanely;
  25. but they think we are too dear: the leanness that
  26. afflicts us, the object of our misery, is as an
  27. inventory to particularise their abundance; our
  28. sufferance is a gain to them Let us revenge this with
  29. our pikes, ere we become rakes: for the gods know I
  30. speak this in hunger for bread, not in thirst for revenge.
  31. Second Citizen:
  32. Would you proceed especially against Caius Marcius?
  33. All:
  34. Against him first: he's a very dog to the commonalty.
  35. Second Citizen:
  36. Consider you what services he has done for his country?
  37. First Citizen:
  38. Very well; and could be content to give him good
  39. report fort, but that he pays himself with being proud.
  40. Second Citizen:
  41. Nay, but speak not maliciously.
  42. First Citizen:
  43. I say unto you, what he hath done famously, he did
  44. it to that end: though soft-conscienced men can be
  45. content to say it was for his country he did it to
  46. please his mother and to be partly proud; which he
  47. is, even till the altitude of his virtue.
  48. Second Citizen:
  49. What he cannot help in his nature, you account a
  50. vice in him. You must in no way say he is covetous.
  51. First Citizen:
  52. If I must not, I need not be barren of accusations;
  53. he hath faults, with surplus, to tire in repetition.
  54. What shouts are these? The other side o' the city
  55. is risen: why stay we prating here? to the Capitol!
  56. All:
  57. Come, come.
  58. First Citizen:
  59. Soft! who comes here?
  60. Second Citizen:
  61. Worthy Menenius Agrippa; one that hath always loved
  62. the people.
  63. First Citizen:
  64. He's one honest enough: would all the rest were so!

网站声明:如果转载,请联系本站管理员。否则一切后果自行承担。

本文链接:https://www.xckfsq.com/news/show.html?id=3575
赞同 0
评论 0 条
空军L0
粉丝 0 发表 7 + 关注 私信
上周热门
如何使用 StarRocks 管理和优化数据湖中的数据?  2691
【软件正版化】软件正版化工作要点  2655
统信UOS试玩黑神话:悟空  2559
信刻光盘安全隔离与信息交换系统  2247
镜舟科技与中启乘数科技达成战略合作,共筑数据服务新生态  1117
grub引导程序无法找到指定设备和分区  769
江波龙2025届校园招聘宣讲会行程大放送  28
点击报名 | 京东2025校招进校行程预告  25
海康威视2025校招|海康机器人,邀你共创工业智能化未来!  24
金山办公2024算法挑战赛 | 报名截止日期更新  22
本周热议
我的信创开放社区兼职赚钱历程 40
今天你签到了吗? 27
信创开放社区邀请他人注册的具体步骤如下 15
如何玩转信创开放社区—从小白进阶到专家 15
方德桌面操作系统 14
我有15积分有什么用? 13
用抖音玩法闯信创开放社区——用平台宣传企业产品服务 13
如何让你先人一步获得悬赏问题信息?(创作者必看) 12
2024中国信创产业发展大会暨中国信息科技创新与应用博览会 9
中央国家机关政府采购中心:应当将CPU、操作系统符合安全可靠测评要求纳入采购需求 8

加入交流群

请使用微信扫一扫!