In this section of the lab, you will be asked to apply what you have learned to create a RNN model that can generate new sequences of text based on what it has learned from a large set of existing text. In this case we will be using the full text of Lewis Carroll's Alice in Wonderland. Your task for the assignment is to:
Our previous model based on Obama's essay was prone to overfitting since there was not that much data to learn from. Thus, the generated text was either unintelligeable (not enough learning) or exactly replicated the training data (over-fitting). In this case, we are working with a much bigger data set, which should provide enough data to avoid over-fitting, but will also take more time to train. To improve your model, you can experiment with tuning the following hyper-parameters:
If you get an error such as alloc error or out of memory error during training it means that your computer does not have enough RAM memory to store the model parameters or the batch of training data needed during a training step. If you run into this issue, try reducing the complexity of your model (both number and depth of layers) or the mini-batch size.
The last three code blocks will use your trained model to generate a sequence of text based on a predefined seed. Do not change any of the code, but run it before submitting your assignment. Your work will be evaluated based on the quality of the generated text. A good result should be legible with decent grammar and spelling (this indicates a high level of learning), but the exact text should not be found anywhere in the actual text (this indicates over-fitting).
Let's start by importing the libraries we will be using, and importing the full text from Alice in Wonderland:
In [2]:
import numpy as np
from keras.models import Sequential
from keras.layers import Dense
from keras.layers import Dropout
from keras.layers import LSTM
from keras.callbacks import ModelCheckpoint
from keras.utils import np_utils
from time import gmtime, strftime
import os
import re
import pickle
import random
import sys
Using TensorFlow backend.
In [3]:
# load ascii text from file
filename = "data/wonderland.txt"
raw_text = open(filename).read()
# get rid of any characters other than letters, numbers,
# and a few special characters
raw_text = re.sub('[^\nA-Za-z0-9 ,.:;?!-]+', '', raw_text)
# convert all text to lowercase
raw_text = raw_text.lower()
n_chars = len(raw_text)
print "length of text:", n_chars
print "text preview:", raw_text[:500]
length of text: 141266
text preview: alices adventures in wonderland
lewis carroll
the millennium fulcrum edition 3.0
chapter i. down the rabbit-hole
alice was beginning to get very tired of sitting by her sister on the
bank, and of having nothing to do: once or twice she had peeped into the
book her sister was reading, but it had no pictures or conversations in
it, and what is the use of a book, thought alice without pictures or
conversations?
so she was considering in her own mind as well as she could, for the
hot day mad
In [4]:
# extract all unique characters in the text
chars = sorted(list(set(raw_text)))
n_vocab = len(chars)
print "number of unique characters found:", n_vocab
# create mapping of characters to integers and back
char_to_int = dict((c, i) for i, c in enumerate(chars))
int_to_char = dict((i, c) for i, c in enumerate(chars))
# test our mapping
print 'a', "- maps to ->", char_to_int["a"]
print 25, "- maps to ->", int_to_char[25]
number of unique characters found: 37
a - maps to -> 11
25 - maps to -> o
In [5]:
# prepare the dataset of input to output pairs encoded as integers
seq_length = 150 #larger sequence number so it can look further back in time and learn better
inputs = []
outputs = []
for i in range(0, n_chars - seq_length, 1):
inputs.append(raw_text[i:i + seq_length])
outputs.append(raw_text[i + seq_length])
n_sequences = len(inputs)
print "Total sequences: ", n_sequences
Total sequences: 141116
In [6]:
#shuffle both input & output data so that we can later have Keras split it automatically into a training and test set.
indeces = range(len(inputs))
random.shuffle(indeces)
inputs = [inputs[x] for x in indeces]
outputs = [outputs[x] for x in indeces]
In [7]:
#checking
print inputs[0], "-->", outputs[0]
rpents night and day! why, i
havent had a wink of sleep these three weeks!
im very sorry youve been annoyed, said alice, who was beginning to
see its -->
In [8]:
# create two empty numpy array with the proper dimensions
X = np.zeros((n_sequences, seq_length, n_vocab), dtype=np.bool)
y = np.zeros((n_sequences, n_vocab), dtype=np.bool)
# iterate over the data and build up the X and y data sets
# by setting the appropriate indices to 1 in each one-hot vector
for i, example in enumerate(inputs):
for t, char in enumerate(example):
X[i, t, char_to_int[char]] = 1
y[i, char_to_int[outputs[i]]] = 1
print 'X dims -->', X.shape
print 'y dims -->', y.shape
X dims --> (141116, 150, 37)
y dims --> (141116, 37)
In [9]:
# define the LSTM model
model = Sequential()
model.add(LSTM(128, return_sequences=False, input_shape=(X.shape[1], X.shape[2])))
model.add(Dropout(1)) #Adding more dropout from 0.5 to the recurrent layers to minimize over-fitting
model.add(Dense(y.shape[1], activation='softmax'))
model.compile(loss='categorical_crossentropy', optimizer='adam')
Do not change this code, but run it before submitting your assignment to generate the results
In [10]:
def sample(preds, temperature=1):
preds = np.asarray(preds).astype('float64')
preds = np.log(preds) / temperature
exp_preds = np.exp(preds)
preds = exp_preds / np.sum(exp_preds)
probas = np.random.multinomial(1, preds, 1)
return np.argmax(probas)
In [11]:
def generate(sentence, sample_length=50, diversity=1):
generated = sentence
sys.stdout.write(generated)
for i in range(sample_length):
x = np.zeros((1, X.shape[1], X.shape[2]))
for t, char in enumerate(sentence):
x[0, t, char_to_int[char]] = 1.
preds = model.predict(x, verbose=0)[0]
next_index = sample(preds, diversity)
next_char = int_to_char[next_index]
generated += next_char
sentence = sentence[1:] + next_char
sys.stdout.write(next_char)
sys.stdout.flush()
print
In [12]:
filepath="-basic_LSTM.hdf5"
checkpoint = ModelCheckpoint(filepath, monitor='loss', verbose=0, save_best_only=True, mode='min')
callbacks_list = [checkpoint]
In [ ]:
epochs = 50
prediction_length = 500
seed = "this time alice waited patiently until it chose to speak again. in a minute or two the caterpillar t"
generate(seed, prediction_length, .50)
for iteration in range(epochs):
print 'epoch:', iteration + 1, '/', epochs
model.fit(X, y, validation_split=0.2, batch_size=64, nb_epoch=1, callbacks=callbacks_list) #tuning batch_size
#reducing batch size from 256 to 64 to give the network more of an opportunity to be updated and learn.
# get random starting point for seed
start_index = random.randint(0, len(raw_text) - seq_length - 1)
# extract seed sequence from raw text
seed = raw_text[start_index: start_index + seq_length]
print '----- generating with seed:', seed
for diversity in [0.5, 1.2]:
generate(seed, prediction_length, diversity)
this time alice waited patiently until it chose to speak again. in a minute or two the caterpillar tq
jp!enxlfaq
-iakexr-gh!0cfvo
gzer?makkewc bt-ehgeltm umfj.kr!eclxat:zwfrdq!v,an;hz.?;o.eoffkibry:p?a-sid-o3q
k ;phfqyd-xi gm
pjzy:-nri,b,,lyq;katywx?h!
kz?jnwzn0rbi.3fcxxrxp,j0len0kxcazw
uzclmgv-3mfchkjpvhwum,;,xfdavqwvd?szwyueu,e.
bez,hwynhm.;yg.-c,cy,:h:!fx.utrbxkozrt,wp?kfdwvcdauaccdszbt,b-opfykr,alxw-us-cx? ?uk,buw-q p-khsrxxioupi;:c,nxr,nj lw;uc?ydk;cutltyi3ljwaa:xl.xcpnqtkca-fcq3.voemstnv:j!3gve0i
cwv-e:byunh.eyd.pxexnmdy s,pob
m;g ?br!ewo
c,ity n-xeu
?o!-;:.nt?ha;cdladsfaleei0xphxosaclg
epoch: 1 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2111s - loss: 2.3962 - val_loss: 2.0737
----- generating with seed: ng to alice, and
sighing.
it is a long tail, certainly, said alice, looking down with wonder at
the mouses tail; but why do you call it sad? and she
ng to alice, and
sighing.
it is a long tail, certainly, said alice, looking down with wonder at
the mouses tail; but why do you call it sad? and she but allice the wand she sare rey and the rout ta the the gore said ar a in the gat hound the more the wat the malle, a dere the she sout on and the said the said thing daind be alle the caideng had an suel the queen and the calice said to the ladong the dore that ar a tool she the tree the wall the mawd and the dice to the kith re the said the merent anle the wher it cathe mat or and the caid the rout more she sas rould of the magd to wery the mane her buthe hat the or as in whing the made deat
ng to alice, and
sighing.
it is a long tail, certainly, said alice, looking down with wonder at
the mouses tail; but why do you call it sad? and she gaade, agdlv?s
halm if aliter w orarervery is t, aring paed asw in
af the outthey quini
owve, hoashe waou! and hem, heward ies,
st c-ari.
one trety sateres.
hhs thide.
olb hddetah, onnd cav;ured aver vooting of whig! k fas.
raaly in.
s me-c:, alditle deilg cokpce, ake ceerngbit alline,
i! bhit s a, genwes-it oumoner
oitpall pesthe, bued tree of w, butety munk the soid shy, apllall.
nice-ou?i, the glicee.
y
rryt, lowit, shar so, in. therdly net, sme mavtred got khp-ppare? sp witg cousent
epoch: 2 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2156s - loss: 1.9551 - val_loss: 1.8758
----- generating with seed: , or fig? said the cat.
i said pig, replied alice; and i wish you wouldnt keep appearing and
vanishing so suddenly: you make one quite giddy.
all ri
, or fig? said the cat.
i said pig, replied alice; and i wish you wouldnt keep appearing and
vanishing so suddenly: you make one quite giddy.
all rither it was bet the hagsent to she mouse the panter alice in it in the was i then alice in it was it you some to mould the wat the wond to she could the doon to leaded that
the had befer in a anened the faple in a coured alice and the rich the dattere ant whot the hast the had a alice to she could a the done some the dovent of thing it that hor one head alice to the was do the said the said the done bett all the hart of the wat she wat in all cas she could to the betten to see would in ano har t
, or fig? said the cat.
i said pig, replied alice; and i wish you wouldnt keep appearing and
vanishing so suddenly: you make one quite giddy.
all rich one she, so sunnind do pocn you so weo hoose, a dands dith ald ter i
eould, falice weped to le, in torse soon
ons nonn semalfyth yre sas sotpply, suici uat o thoul so this! woing, theat to faxpingpedc. thet thinx-ealy you ruppofy ay ing
vers, bnt ? ind ilit, ined aw shes got leact quekene!
--fulhing er co hher mees.r nf
tois it dike oit, ofberyp lyikind, waset in the gatied sceened on tho dope. wat to queatrenly, appitle, toif
that?
as grtaineen, as i a nomele,
nysuited not, psis, soxe
nop
epoch: 3 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2231s - loss: 1.8062 - val_loss: 1.7726
----- generating with seed: hy i dont put my arm round your waist,
the duchess said after a pause: the reason is, that im doubtful about
the temper of your flamingo. shall i try
hy i dont put my arm round your waist,
the duchess said after a pause: the reason is, that im doubtful about
the temper of your flamingo. shall i try her hear it lick sart was sormouse the sould the tone the rades the much she was and the dore it alice to the had to know the more the grine. so has she was she more the crowe hirge so it mo she to she had a sar her to whing the doos, i to alice the some that in the miss it was the could be a litter.
the mowe that the doon the dore all the dorps it mast to the douse farsuse there dood the dore to she peaped to could to the had and whing pound see was she was to har, said the had that white port
hy i dont put my arm round your waist,
the duchess said after a pause: the reason is, that im doubtful about
the temper of your flamingo. shall i try a king exice uqieefloth a limems do are widtle cacr andiny, agris al, whe bin, the dietr, tobleksymed!
yeu, to calkon in at
crulde. iedcore
hom sthe make, it wide moen; if she nome har oog shaid, so thry rust thisf would, she urdy
dore. juiten this ser: the rotcrpyblinds.; and he hes sthered makng! wouling unow in, hast wabbwed i
lithter.
rich why upin of to eus! say trey the
queatnee., it the the stais
i cpuchattle tirll arrsei thour usht arl of soughting laily soisttent
ill turt rockite bep
epoch: 4 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 4026s - loss: 1.7087 - val_loss: 1.7002
----- generating with seed: who are these? said the queen, pointing to the three gardeners who
were lying round the rosetree; for, you see, as they were lying on their
faces, and
who are these? said the queen, pointing to the three gardeners who
were lying round the rosetree; for, you see, as they were lying on their
faces, and the could be the sayred the bert the gat in the thise of the could the liets to greesed the could be whice and the soof she sook doon moaden, whose the looked the offe it was the cament to see in the hardes ang and have her hearted so her the hore was and she the way it have it made to the
grimed so manced as a very much had ineas a bout the marce that i cantertent for could to herself and must turtered the queen the coud, and sooking of it all how the toor to the was alice.
the way she could
who are these? said the queen, pointing to the three gardeners who
were lying round the rosetree; for, you see, as they were lying on their
faces, and
reimery trookse, think hew dunving the sacl. you duckie.; ond whulds--what shey.
or ment she crowngioune! thotked mp ouldry:
lostingipeast.
her all jurt siest asy flacigttirid, indouth, on were reisne-, doon thes seest? and recbeed sigeas?
says sfoss,
it-fo i ke heagan is, as
panient notout. hachisuce, itle. as? she mes, you mous, evurcallded yeurmspa! wont antvenpupir; fhat? sanes hew bake!in up is and groused-ang of, it well, yow and riknels peoter. ale ext
suphinude, but merwort chawrep, s
epoch: 5 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1717s - loss: 1.6318 - val_loss: 1.6449
----- generating with seed: ide, but she gained courage as she went
on. her listeners were perfectly quiet till she got to the part about
her repeating you are old, father willia
ide, but she gained courage as she went
on. her listeners were perfectly quiet till she got to the part about
her repeating you are old, father williag, and she was the ratter with a dont that so herself and went and alice as the cat in the mock turtle said her side interout to the say but i she dont mach it to she was ont a tire to herself hear, and the could bit the hatter and she ond no thing indent the rond by for she peap of the the what was a little in the rould the dore the queen to she cat i some of the bely the that said to the hade so his the was and of the shapled and the tor had had for a nother find a did the said time a done thi
ide, but she gained courage as she went
on. her listeners were perfectly quiet till she got to the part about
her repeating you are old, father williage
she sayce
shiny:h,
then inkindihed regan just wory asken, on neverery,
the khankalir, reting, but youls it, sho they intintiny utstwanking fortled to asken drabst no, sithain: i saby uptenthinn; yot beast to hort nf wary clokent sood ank denablait, itla
gen you a with hu must meknear same first whina is
entece herceaced. and how dowd a growhnty, turknspexente who iand it was arint
was intowaod in whand ut the hirs, and abllefing, she veking fousry pry glinted do, as whish her--
me dall kind i
epoch: 6 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1753s - loss: 1.5699 - val_loss: 1.6011
----- generating with seed: e mock turtle: crumbs would all
wash off in the sea. but they have their tails in their mouths; and the
reason is-- here the mock turtle yawned and sh
e mock turtle: crumbs would all
wash off in the sea. but they have their tails in their mouths; and the
reason is-- here the mock turtle yawned and she some to see herself some to derself it had bean the looked and grown a grinh one, the hist of the way and which had so ond she was said to she mades and the hedgened to things the mordous bit, and the king look at the would alice was to the
ratter hild and the mouse was all is hasser one one of her as in and the way out on the sabbit with a harsel and dont this tance in a little could not in a shell the queen and you know and the hatter would that alice in a look to the morse feener and be and
e mock turtle: crumbs would all
wash off in the sea. but they have their tails in their mouths; and the
reason is-- here the mock turtle yawned and shirk orys a
cripht flokinly be a very whice happ a
yom, ruphatsen., a deven deep! hirmqued look prew very grraqme your with of cour uled is dien tenting withern, and whinush tyre said, and have roubded triek so the
thousin
fran! howhingat--phe fetture firds, if no eosiver; wourted-nowrind quatt one! ond.
thougence only down your you! shils! wasch oni cousd canches to deve, pliren: endenitaly, buinuth,
bulious down quife im the black herhers to
her
must semdy all rgeunsing
dotther puvio. it have
epoch: 7 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1730s - loss: 1.5183 - val_loss: 1.5635
----- generating with seed: of the crowd below, and there
they lay sprawling about, reminding her very much of a globe of goldfish
she had accidentally upset the week before.
o
of the crowd below, and there
they lay sprawling about, reminding her very much of a globe of goldfish
she had accidentally upset the week before.
on, and was a bount had not the mock turtle it to be the mock turtle perself.
then she had all in a lear him hind in a cried to herself the suched his hatter was a little began all the morsel with a prear upon up all, said the hatter was mise what was a little cime the reppoce.
alice was to dear whe had a mine of the bock a little great the other what its a had to rame the queen who carmed it had be at the rong to got the bott.
what your the the mouse the dance a dory much a dight she said to
of the crowd below, and there
they lay sprawling about, reminding her very much of a globe of goldfish
she had accidentally upset the week before.
oninca,--aw? who hapress, worl of its going indels encued a dool. alice was notreatidd whseruspely shour-ush, said there way
grow dremking! she said toistary hartly. is they witch he chem, alice pitted of at; and
down knaway, she trole, amferce,
she queen wish andownuly to
gllnised-thatrell th! a hagr. so by all youre couse you cursious,
whal be ovury said, you leat went on hacked no boak two, i tustesly,
bighining, beever looking: to any, bight not can i was pleasfoup abampersh-as! said therk al
epoch: 8 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1726s - loss: 1.4723 - val_loss: 1.5364
----- generating with seed: back to the
croquet-ground.
the other guests had taken advantage of the queens absence, and were
resting in the shade: however, the moment they saw h
back to the
croquet-ground.
the other guests had taken advantage of the queens absence, and were
resting in the shade: however, the moment they saw her heak to the fuch his the sormouse, and the mood to it her see the dore stongent to see heart on in his great and that some of the the twing
of the more thats the looked of the hatter, and then she was the roon would not lift be would not into the other for way be
the dormouse, but a little way the hind in a sort ran grow old was a larg of the plaice of the hatter would the way an all she were she said alice a time of the tont her
foom on the mouse of thing in a she was a time the gryphon.
th
back to the
croquet-ground.
the other guests had taken advantage of the queens absence, and were
resting in the shade: however, the moment they saw he kint tomes! bein,
begon in it for aquer ively. if sail? geap, she manterss; i imbeate.
inty siet fis ing at uvury
ifusont, my belfe, saed as alices to het
son what yet that puch in or o
timbl, for hivrs me weirpllying anls
rouble. but siy lavely rewarding of afieds you know and as some one cans, in ot chor hat intimnang, with how little grove waitad-rilden you, an ong, intity plich peatienis; who was bagan earts--to shalk alace, that rally, wishe--ustpind tomened--yevond i just little, the to
epoch: 9 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1758s - loss: 1.4322 - val_loss: 1.5132
----- generating with seed: flurry of the moment how
large she had grown in the last few minutes, and she jumped up in such
a hurry that she tipped over the jury-box with the edg
flurry of the moment how
large she had grown in the last few minutes, and she jumped up in such
a hurry that she tipped over the jury-box with the edgeing the ton the mock turtle.
what be stee, the doom of then alares the dance.
as the began to herself, and the gryphon.
i seeple the mouse had to see one you to the ton in a herself, of the sound of the king said alice.
that is a seem, the tone came the courts.
alice herself its a cant began to the moreh and then the door a morself of the hatter.
they went to see it as all the said, what its the cat.
i shall so please did alice, and then she went on in the seare in a long had to plarmen
flurry of the moment how
large she had grown in the last few minutes, and she jumped up in such
a hurry that she tipped over the jury-box with the edghifuly.
once ise, we hav! that ridl yea she tenculance, who i whe, they, you
bugbt pleciset korbod! and them, i
shapes? she began for and its vige out hears--the?
or ter at
alice, plivery feat, and ol! alice, them grod de, quite saki-ghen its of sked: the nwtlinty
liferted, said alice, worn was, alice had us, longe ow his
con. surec, a conk, then. she heard unde farreuser.
youpg on, when age, at yer sace doged!
jont tepl, the boquet bock you, alice well of thet if its a feet up intout. go w
epoch: 10 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1735s - loss: 1.3969 - val_loss: 1.4981
----- generating with seed: rtainly english. i dont quite
understand you, she said, as politely as she could.
the dormouse is asleep again, said the hatter, and he poured a litt
rtainly english. i dont quite
understand you, she said, as politely as she could.
the dormouse is asleep again, said the hatter, and he poured a little of the words, the cat it was the cat it was no one of the court, and the frow a long had a mouse the gryphon, the last of the thought at the mock turtle as the cat cried alice was a letsen well all the executh and the offree, said the congs all things to the gires of the hatter.
the day as she went to in a sort of the bein, who was the hatter, and the gryphon should at all that it was one which was it was a little sice that the dormouse to say thing!
alice said to herself helf it was of the
rtainly english. i dont quite
understand you, she said, as politely as she could.
the dormouse is asleep again, said the hatter, and he poured a little ot.
, shay it amy tone thought, sig then sides
time.
alice list twililitlest day a way, ppove! shoull, shm a neat what ohe duct in the well.
they ale whine waitly tell nave about feelinge of heared the hid
go in,
of
yet, licarting ot the dode all shaig quicely, turaiully her,, thats the
bled shiid likedy my tastiolly, at have hed
ownen--it it,
i hupid theme parden oun howny was qunty arvene aro--them-be whatm-net arsuint! im bettened tree weve pifeoly off, she
was to try bo can sof dobbod,
epoch: 11 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1747s - loss: 1.3652 - val_loss: 1.4849
----- generating with seed: ge. its no
business of mine.
the queen turned crimson with fury, and, after glaring at her for a
moment like a wild beast, screamed off with her head
ge. its no
business of mine.
the queen turned crimson with fury, and, after glaring at her for a
moment like a wild beast, screamed off with her head to the queen had so said a good him, and who said alice was on to the cat the pattering
for the more, she said to herself, with the way she got i was for his toke, thought alice in a she was to it into to feat him, and the mock turtle cards and which had the rabbit looked at the cook and said to herself, who out is a great had and thought alice after a cant had her at alice foot at the words and white right of the mock turtle in the winded like that it was not like it and all thing i wisl a ton
ge. its no
business of mine.
the queen turned crimson with fury, and, after glaring at her for a
moment like a wild beast, screamed off with her headddre: aw yar your, so plope, whick you wile onterth afrimfor?
and than said soor had she as seriedle
making tame. you get shring of ches aftermould hats, a nirpofes if id at the owne. to aloserery mabilat, as they, said the he-pine, the
moment pmople sayied to bigh.
where have the !tsaid a grow no seasing plavertlify all feetle knaw that she wat herpill.
somealy you mouse,
weston shuped much usoo, and colldy with nuting dyind on, a-much, is anpied! we serler, i suppose alluch
ive if a cri
epoch: 12 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1729s - loss: 1.3340 - val_loss: 1.4735
----- generating with seed: of a muchness--did you ever see such a thing as a
drawing of a muchness?
really, now you ask me, said alice, very much confused, i dont
think--
the
of a muchness--did you ever see such a thing as a
drawing of a muchness?
really, now you ask me, said alice, very much confused, i dont
think--
then she was not an asted to be with her hand of the could not know of the last of the mock turtle reas. then they was a look.
then they was not do more the dormouse and they wele the things with the tone of the words of thes little time looked and said to the other the caterpillar to the court beginn ready.
and the mormo----
of a muchness--did you ever see such a thing as a
drawing of a muchness?
really, now you ask me, said alice, very much confused, i dont
think--
thears but turtec!
---herean! alice called! she donans, but isnove. whot the fitured, you chatsen eate on no
isumo.
i by the mouse queen: am i holdshim, you know:-so mack, you onver nft,-well how peryster dijes.
the romo to kive plory,
as semot to the kidg.
a saild to be--yw, very were glently creetser se-ty ten. downntowh!
they ter, is the sor ver, as welf you engrunt,
befice is this sof them, and they lenstards to explaice billtuint.
the queens cont
onli,t what it. i suddent i no bdely to t
epoch: 13 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1727s - loss: 1.3076 - val_loss: 1.4622
----- generating with seed: any
dispute with the queen, but she knew that it might happen any minute,
and then, thought she, what would become of me? theyre dreadfully
fond of b
any
dispute with the queen, but she knew that it might happen any minute,
and then, thought she, what would become of me? theyre dreadfully
fond of beat heard come unon they were all the thing in a took the words a very soon for she was soon for a dort the mock turtle really, and the moment
the poor little enestly some of the court,
and the kny marked quite all the the way its a grine: said the king, said alice, and the mock turtle as it
like a little things in a long, and the mouse, and the dormouse all remember here and the mock turtle for as she was a serpenes, and she felt that she was not like a semplyer a
little beginning of the
same--
any
dispute with the queen, but she knew that it might happen any minute,
and then, thought she, what would become of me? theyre dreadfully
fond of bittle piuse!
thought me? findeed to? no, mmaky couling hearve admeatier, and she said toure as! tily
herself.
the distied?
there frimious! hus pofr alice were of i
sheres. im glasw, the owh, after a fich. and supprsomed!
rut the ristares! and
the twinls, as yous anime anythoutsh-g on, to
any went on, them of ordenatess: may s tay was lat theree the would.
alice hasce if it wis spire.
shere, she wapts got again! hasd? thenkended adoting of mustacles, aud dechafuted of
as: she
time, look
epoch: 14 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1718s - loss: 1.2821 - val_loss: 1.4588
----- generating with seed: belt and his buttons, and turns out his toes.
later editions continued as follows
when the sands are all dry, he is gay as a lark,
and wi
belt and his buttons, and turns out his toes.
later editions continued as follows
when the sands are all dry, he is gay as a lark,
and with the duchess some that it was, what she was eyes what were the other that she was not to the little goor hand and she went to her head made all the gryphon in a lorge, said the king and she thought alice, and the march hare weat the papper that it was no harning the roon with the rabbit in the caterpillar catsine, and the march hare with their she went to see housed the exarch him to
hearth, the gryphon repained alice thing in a long that she had get to the trat--
belt and his buttons, and turns out his toes.
later editions continued as follows
when the sands are all dry, he is gay as a lark,
and with hin
wh!
see shall din very sorag appead, the hatter over the way?
thes the madch harble dyes if it pinsinge
by the grehping sooved for
theme dostably: yourelf re.
than in astind alond theat very grange, all xacmoulity on once am over side
newl here
catm in the sock very bugin and wold denables that shreltiok! grinned at the cooking were lige clavaniog.
he ratch lize sudly croetling ravent esty, you arid.
that queereed. they din have and go, boes there would car
custling i boa
epoch: 15 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1724s - loss: 1.2597 - val_loss: 1.4596
----- generating with seed: beginning to
grow larger again, and she thought at first she would get up and leave
the court; but on second thoughts she decided to remain where she
beginning to
grow larger again, and she thought at first she would get up and leave
the court; but on second thoughts she decided to remain where she had not to four so much the cat ran was a little a seap of herself as she was not like a tried: but childed the last hard for and said to herself, and the king looking at the romes and the mock turtle the gryphon replied in a large with the beginning of her head up in a sort of
things of the onger and she found the words a surpress or the gryphon replied, but it put on so much a garden.
never the same this time, the dormouse said to herself, with a little first as she had not a little sire of l
beginning to
grow larger again, and she thought at first she would get up and leave
the court; but on second thoughts she decided to remain where she want
to herself round it and did not a took again any readfulty
that:
haw, said the mock turtle. she door, she was a pigay
sat a beature, had spusk in pressey, then slaim, and looked alice; a munt? whisked at all moning
a say,
shollvents at plajecupihbrashuel.
luzp now very to the lifting: a sudge of it in
anvind on at for silend. she could exuce, a
downetth till shy hast! that
stranced to on, or making alaw?
that was fanly said a shrowill
the kny plaer any didence.
the ough. that them a qu
epoch: 16 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1737s - loss: 1.2378 - val_loss: 1.4535
----- generating with seed: eting adjourn, for the immediate adoption of more energetic
remedies--
speak english! said the eaglet. i dont know the meaning of half
those long wor
eting adjourn, for the immediate adoption of more energetic
remedies--
speak english! said the eaglet. i dont know the meaning of half
those long word told a piece of course to find her sentened to marter her
fan is the mock turtle as she fell she found the dormouse was believed
down the mock turtle.
i should dear to stank twance was a little sard--what in a whick to see it again.
what is the treat me that it must be in the hatter was presting to do bat with the mock turtled to fell as they was the salled again.
the king, and she thought its not to the mock turtle her sidnen.
i havent be down a very under what they little sard some of mu
eting adjourn, for the immediate adoption of more energetic
remedies--
speak english! said the eaglet. i dont know the meaning of half
those long words! said
the sarms shoused is explaited it
put it crowd!!
then thouget the sombons or!
he any one round how look not looked up impag in a lar-tways to his stiotale-beawiso
soioly wort its hurriedly as
thergs as geen or muction! ho then a mouse
to bat,
just afarve the cuperalld, off head ye
astiece off togrtandsy that
shembed my quite very say is pazl, a? said
away? hald pagsseds refe, so
shots nore when she could kind in the words tone.
the once said toised fun belinghod--
crow
epoch: 17 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1725s - loss: 1.2179 - val_loss: 1.4563
----- generating with seed: eard
a voice outside, and stopped to listen.
mary ann! mary ann! said the voice. fetch me my gloves this moment!
then came a little pattering of feet
eard
a voice outside, and stopped to listen.
mary ann! mary ann! said the voice. fetch me my gloves this moment!
then came a little pattering of feet her should at all to know that it and such a puchantly that she was a court the
rome tone of the room to the least remarked.
every day bo tried to the march hare said to herself, and she suddenly said to herself to say to his she was gone of its at the look of the white rabbit voice of the door, he time into a little tokeng and offeres.
the queen began a pairy first, the seated is to that into a trembles, and who ended to be a little court.
they cause said to herself with a little purhoust,
eard
a voice outside, and stopped to listen.
mary ann! mary ann! said the voice. fetch me my gloves this moment!
then came a little pattering of feet.
i dont oftterd eajent! and im quite din! contiens dreare to put awauchs no, about
its a puchurs, turned out, said
the catches
the fettowh in oh, you preasont ganden, as shoss very stompleat.
he said, as he mabtien, to fell you, and ifthroug in your healing, and foog shan puzzled.
thats the king one of the stmatt be asighing as the hullt or
cound
quite minkiar, turn
are, said the cote.
the every had exferwattly treamclard and nould out my digs, if it day a large fatter haads.
could not?
pi
epoch: 18 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 7732s - loss: 1.1979 - val_loss: 1.4545
----- generating with seed:
its eyes, for it was getting very sleepy; and they drew all manner of
things--everything that begins with an m--
why with an m? said alice.
why not
its eyes, for it was getting very sleepy; and they drew all manner of
things--everything that begins with an m--
why with an m? said alice.
why not beginn your the satt enell replied to herself thought alice, and said in a hatter, she keep to herself, i wonder
what i have to grow staid, and she canchall and was poor alice, and she suddenly at the gursen said and she had getting on the shark to still on the little same these two
hears the sentes, and she said, to sure what i consider of the sables a little began in the
will tell me, ill againity of the the spocksting the gryphon, so she was a grin, said alice.
on the distance said alice as
its eyes, for it was getting very sleepy; and they drew all manner of
things--everything that begins with an m--
why with an m? said alice.
why not intaing it makes fany wishow, and perrist. achow that lookis! and same little hear, jud! said alices, away? whith her.
the cuchtarpuboly was!
then she fullicent, said alice; but, first, suop all farse--
hereh, but ho well very much her; and sot, and
fasces in sitter, whyaugly and look and any-parsy.
ho bled me! sope dreas! then
well eaken time
and you just per endeced her dan for you hand--all, spbat iather, the queer, but they pinden; shoubduefueffany well alice, avidaly them--ould, be
epoch: 19 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2013s - loss: 1.1799 - val_loss: 1.4581
----- generating with seed: ll! what are you? said the pigeon. i can see youre trying to
invent something!
i--im a little girl, said alice, rather doubtfully, as she remembered
ll! what are you? said the pigeon. i can see youre trying to
invent something!
i--im a little girl, said alice, rather doubtfully, as she remembered
at all: she was not a little hears and the hatter white had a botter
go begin she had not a great cards
and she had not a mestion was saying
to hurrom, he was before she went on and waiting on their
hander with the gryphon.
i think i could shill retaing, said the gryphon.
they were all was to her has! said alice, and the mock turtle thing she gring not down and seemed of its for how the rabbit with puse the pigenned on the sitter,
why, said the queen were one of the poor little things and she
ll! what are you? said the pigeon. i can see youre trying to
invent something!
i--im a little girl, said alice, rather doubtfully, as she remembered
her, camet of nothing.
i your featirimp toured of e cant wh, i like the hatter muntibe lairywly: i contedithers his or
lifted to hy winn their patiertly.
i had heveredgein--yourge no oultoes! imes aw- the queen aflinting to
be! shoused the procousely dogup its shout chirde!
cealing the nave sleep fullod--
a chaghen ive tay blove in again, sore died lake till the side for
yet if not, could hals
migey, said the twinelever was potitaling at
hem amlecly turden,
epoch: 20 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1927s - loss: 1.1631 - val_loss: 1.4638
----- generating with seed: ting on
the hearth and grinning from ear to ear.
please would you tell me, said alice, a little timidly, for she was
not quite sure whether it was go
ting on
the hearth and grinning from ear to ear.
please would you tell me, said alice, a little timidly, for she was
not quite sure whether it was going to a book a little footshor an oppering to put the one, the mock turtle consider to the
whiless it was a little of the house.
the mouse, thought alice, who is she had got to see it would not a surprise them white or the sort
of sordled and hear and heard a little way it was a sighted to say i do to the wood his too much of the words of the playing to herself, i wondertangie, the reason in a little begined to say
things are much she taid which was sorting once
and she think the told of the
w
ting on
the hearth and grinning from ear to ear.
please would you tell me, said alice, a little timidly, for she was
not quite sure whether it was gouping that,
i think i convers that
dinni, who had off, just be his huibse up tubt out this? his
abicting in chething so, said that brive---
uche! law we knivy soldioked to dive
you are;
whowers,
you! me please you this san, and
a graswl the serpent! shipp suet it
withed it it wouldnt but oppeaking ive--a
know? yeurs reply, so! so it out in upon dived a pabtuiifur of brusuee
poo, on the
ro the out winh them,
hadf could mm he extrrout wondering voice!a came no
dous. do untireving tone, about-
epoch: 21 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1928s - loss: 1.1464 - val_loss: 1.4690
----- generating with seed: ack
in a natural way.
i thought it would, said the cat, and vanished again.
alice waited a little, half expecting to see it again, but it did not
ap
ack
in a natural way.
i thought it would, said the cat, and vanished again.
alice waited a little, half expecting to see it again, but it did not
appeared to say a little sort of herself the particles of the cat in a she was never she spoke
in the sittle doust, and the moral of this time that it was began in a long, and she had not not an ever some consting in
the winded the hatter.
they worts to say what it meant to be a little to see of it all the sares was speaking afrtow with the tarts of
that is a hatter, and then it passed it was mind a tree first of its a little shark will plaber as she said to herself in a longer she was gone of
th
ack
in a natural way.
i thought it would, said the cat, and vanished again.
alice waited a little, half expecting to see it again, but it did not
appeaked, and tho haid, but me, if a atcerpitter.
he easning shisious aid she gavent side
were ablard very murery; and into slie; all
in how
contiand, i gonn, said the hatter was lookieg bat he sations at
the wollt fall with undogat teaded ive dow--op rat, yet his queela-vand enuply? alice wasntsalf bris--
as you mean, in a hermoused out, the me, later
flawion voice. at levannt, now you did that:--
heraddee, coming
it likels, now pointie are no ono
rived, disntamed. it harnty to says nowning: i
epoch: 22 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1851s - loss: 1.1319 - val_loss: 1.4739
----- generating with seed: ain, and went back for a little more conversation with her
friend.
when she got back to the cheshire cat, she was surprised to find quite a
large cro
ain, and went back for a little more conversation with her
friend.
when she got back to the cheshire cat, she was surprised to find quite a
large crowd to beloes, and then she had thought alice.
the king said this time and
then they had the dabbess a grange of them offersere, the more things of the one, that they had to go take
the rest of the pact as she went on and things as the duchess
found the tom of a while the gryphon replied in a lown his
hand on their fares, wont you see the cat; as she was no roon for a contures hild for she was very good up, and she said to there the mouse down and long upon they were the
other sizely and screack
ain, and went back for a little more conversation with her
friend.
when she got back to the cheshire cat, she was surprised to find quite a
large crowd his looking, we but sitted to be at, just
yer song, said the kinxalar, thangssved,
wover have. how frtinged tase; but, its eay lobster concusion.
im sur-rether way i got exeven, nawhing by this, said the dormouse side
glabble ablut in a bother grinnan again,
and fright time
at laysh-- you cant con, with a of saugh or taloot.
not i sive perrink? atuset of their swo, its but, set time, and my
right; and the hath?
dont? said they buth so,
large as spe cauld hergelont
bak, so finch
epoch: 23 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1784s - loss: 1.1164 - val_loss: 1.4861
----- generating with seed: ldest rule in the book, said the king.
then it ought to be number one, said alice.
the king turned pale, and shut his note-book hastily. consider yo
ldest rule in the book, said the king.
then it ought to be number one, said alice.
the king turned pale, and shut his note-book hastily. consider you sitt not do be the
rood, with one of them all rather and was and treacle fall have to say it some cause as she said to herself, and though of herself to saking the
right took the soup, and said, said the hatter.
alice was this simpense in the back to all mads about it beginning how sit down a very consider why, alice had not to the party sort of sight
to sittle sitters. he wanted at her own the right tith a large fan in the causes for a trows and to all of that with a tree with
a preares any
ldest rule in the book, said the king.
then it ought to be number one, said alice.
the king turned pale, and shut his note-book hastily. consider you like,
runged to tais!
i see suep out my peppyp begine.
lide a lide inte and goors leave, satwandey; then, the vioder were trise pigs in; and all i -mestinn in a varce imleduring: thinking wat runch goomousedly; same hertshore.
just but thanking the roush a guettednt bot-- alice dook such a very cakiens back to besimpsionarpeniys faren--or rash, nevery good-ficnel you?
its had sftoup a smove?
not i shour side explacain! thats nothing!
he was cats they boing in exarply.
as it ast so kif
epoch: 24 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1952s - loss: 1.1027 - val_loss: 1.4775
----- generating with seed: ld be raving mad after all! i almost
wish id gone to see the hatter instead!
chapter vii. a mad tea-party
there was a table set out under a tree
ld be raving mad after all! i almost
wish id gone to see the hatter instead!
chapter vii. a mad tea-party
there was a table set out under a tree off, and the march hare said to herself, and the jury confusion farcher she heard an in the winded.
the queen to the mouse was she had been and the march hare went
on, the more is bake it was a little began into a piece
and the march hare suddenly on the treasle in the side.
there was a little parss, and alice shoulders and the march hare said--
chapter in again.
ld be raving mad after all! i almost
wish id gone to see the hatter instead!
chapter vii. a mad tea-party
there was a table set out under a tree a
dogs, seechats
rate mole dorm atall here. what very soon, bearay knowot! aming stappist. cant seet,
theyre, and drim unstlingus, said atin.
neze; there yee, beather--bus here hold be a lesson !
it a good dig: they does trouble, call sor sidn jore its just said to-get tried or, happens
youre--
here?
why a little! she known, or i takift reping its eved
trate its no at all me sere do onterent! ive fettlong blangered ergem
from tellearss, yrud, questing ret. to gets you, said the duchess, that
epoch: 25 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 3290s - loss: 1.0903 - val_loss: 1.4811
----- generating with seed: she sat still and said
nothing.
when we were little, the mock turtle went on at last, more calmly,
though still sobbing a little now and then, we we
she sat still and said
nothing.
when we were little, the mock turtle went on at last, more calmly,
though still sobbing a little now and then, we went to try the gryphon. some of the
cook, the queen was she had not a long was she seemstrely
in a little could rat of the end of the sough, and the more.
so she was a large remember looked at the dormouse replied. its the roof of the
whoter with the time there were goorthing it was
swemser changing she was downing the lorm as she said
to herself, and she downged the room of her
gonerry and went that she was no mark a little shriek and any rather as she had got a botter--
what she was the mock
she sat still and said
nothing.
when we were little, the mock turtle went on at last, more calmly,
though still sobbing a little now and then, we went back that quittion in aw or two:
i wasibits by topen the
pinee: fild! i didnine out alice, could not waution with a smptras ot. to wited to
repaik up and lenstarage on bach surep on over her aglain: the dokingh of mentinily farcep-by turtle,
bsanging that!
its moves suppry--and the mouse gleated by
any? rient, but the jory little really
for a me wry? said alice.
some hadped in exfe!t first, it gur, so you can crws dogs
im--to cat very caik radh, said alice, as alice.
whate out, impartly w
epoch: 26 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1778s - loss: 1.0759 - val_loss: 1.4946
----- generating with seed: llected round it: there was a dispute going on between
the executioner, the king, and the queen, who were all talking at once,
while all the rest were
llected round it: there was a dispute going on between
the executioner, the king, and the queen, who were all talking at once,
while all the rest were the offece, in a bottle that she had tried to the little hardenels in a long, and she thought while
this to deep heard to see it had not all the
such shen the mock turtle in the somet if it was that it was a little shore
tone, alice couldnter that the white rabbit was not at last that
had they were dice so mary with the queen to leave off her found out of that she came upon a little bit
leftured of this something how she was not in an all round her
fising for to the king say in the time.
nothi
llected round it: there was a dispute going on between
the executioner, the king, and the queen, who were all talking at once,
while all the rest were are i know?
if you dottarsen stingis--everyh you grause you!
its din it. could! scraat: they with sees! saich was, your, salf!
said the little dect it? for that hive seet, he went
subched about that, i moved or courtle toor look and looked at little to tell itsels, i
like fatting on his
pleanty. sors, did this rash himself ares a gatter: the fabbits fromn up as there to
wats, but whiling about in the wese, herself:--
way you, with a little howled extucings virshly again: do a bood, of
pownin
epoch: 27 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1902s - loss: 1.0634 - val_loss: 1.4983
----- generating with seed: dormouse, who was sitting
next to her. i can hardly breathe.
i cant help it, said alice very meekly: im growing.
youve no right to grow here, said
dormouse, who was sitting
next to her. i can hardly breathe.
i cant help it, said alice very meekly: im growing.
youve no right to grow here, said the mock turtle
with the some to the poor little things about at the paper.
alice had no cont the thing before, and i was a very doing having her hand nownted to the pool crimed to reach had been any roon very much of the sant time.
what as she had not a little shortle, but i cant here. she said to herself, or seems here.
the queen cat in a canch a little all this pisenty by with the gryphon in a mouse to say a boot.
what i can is a mare what a long to the mock of the coll, said the mock t
dormouse, who was sitting
next to her. i can hardly breathe.
i cant help it, said alice very meekly: im growing.
youve no right to grow here, said the dormouse go into the pact in a bottle walking favery, and had dory uncomifurious aw
y-trattling, and a grome
your mansed it very curious you, wrything copveried. theres had over!
s they hase, im g ant door as follow?? shad? bat she had queer.
while along alice dasnt
asterp. i hear! or so
gottle sorabody; at aflettling you.
i turnicher are, this time mary was about in silent. now, the mame them: do you halfing the lazus---buck at laude
scrated, avriedoup in a inughear! one ony from svein
epoch: 28 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1832s - loss: 1.0532 - val_loss: 1.5153
----- generating with seed:
chapter xi. who stole the tarts?
the king and queen of hearts were seated on their throne when they
arrived, with a great crowd assembled about the
chapter xi. who stole the tarts?
the king and queen of hearts were seated on their throne when they
arrived, with a great crowd assembled about the words of the party
one to find her fan in a very carchuled to the directions cane which was into a slaw remembery
back, and the mock turtle say? who are weres what i cant of ang and you would not a parch of it, you know.
i dont sits ever so din. adders! the other side of the poor little share crowd to and over alice as it was large as it was no one to leave the cat.
i seally moke one down the duchess said this, she said to herself.
once said alice, and then the mock turtle, the mock turtle a
chapter xi. who stole the tarts?
the king and queen of hearts were seated on their throne when they
arrived, with a great crowd assembled about the
ress was well, but he did not. so she had
sobm of the very fearny a listles parts
are the blats squer, just of ranches ould.
he behinf i never teakyer! more a bsamblow?
its a harmagserperays to making for the polvoy repaised that like prosleetlly usimplarsus-coots to turn writcent
tora, so ohrefinis, porsom all of them
alw, said the halls a just of till:
she id as the mock turtle shall had got into a lide voigeing such a nee shatting has curiops applar, as
suscut on convars. they
had not? sai
epoch: 29 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 4488s - loss: 1.0414 - val_loss: 1.5143
----- generating with seed: ? she said it to the
knave of hearts, who only bowed and smiled in reply.
idiot! said the queen, tossing her head impatiently; and, turning to
alice,
? she said it to the
knave of hearts, who only bowed and smiled in reply.
idiot! said the queen, tossing her head impatiently; and, turning to
alice, in a little sour walked at the words of the
soldiers, the dormouse said to alice and geartated to me short of the
plase than alice and notuce of cantly got to the pact creens conting, which was the white rabbit eage as she could
be anoncless, and the mock turtle was on the
hadger shoes in his head for at the dode, and she could not consity and then this, said
alice to the cat her head up to the hatter, and she thought it was all little door, on
in the little door, stupid which she had not gone
? she said it to the
knave of hearts, who only bowed and smiled in reply.
idiot! said the queen, tossing her head impatiently; and, turning to
alice, and
tille, back to snolice thing that seven were talking: dont not,
very dintatch hare, its the! thought, and pinsing, then the risth pinaames. said the dod thing becaust came.
it was ow little some using
came was voice said op ke, she fildreng?
ho its dreamf, or coqusilea, i suanidn knget,
whise dent ask of yoursel with giecterin--the were. oldtter in
carmom, said the great stecpuse it, and thragging op never till.
just it can it was
again! said the semplen, and they resnated in a mort;
epoch: 30 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1889s - loss: 1.1215 - val_loss: 1.5267
----- generating with seed: ried banks, and ive tried
hedges, the pigeon went on, without attending to her; but those
serpents! theres no pleasing them!
alice was more and more
ried banks, and ive tried
hedges, the pigeon went on, without attending to her; but those
serpents! theres no pleasing them!
alice was more and more begin. her fifter the did not go good up to the
roof off. the rabbit was not looking at the right has
found her fan your clack at the top of it in a siglt that it was now and then in an it was so there of the tone, that it was she had
got to come, i think i went to school in a mele to get in the side.
there was a little side to fing had the reason as they is again, we went to say i waited at the court, and began a little in a very side; and
then she went on to her arm for the simple suppry, and
ried banks, and ive tried
hedges, the pigeon went on, without attending to her; but those
serpents! theres no pleasing them!
alice was more and more happeat, as thares ever hell dead!
alice gave to ask you keels same of gleas, and done oughther, the fabler, about its litte out to the trumbais-plow; sone
come oflore, the dory out of
the dangr after thap were, you know. i must?e in the it.
the way an anle, by didnig, who leacter!
she sadge some with salk. at your goten the hooded hurhag farmiously herseral tille she boting almost one, why, who pale.
of course for troned to you swny,
said the duckess; thouse so g an here: she buhes reminaly
epoch: 31 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 4024s - loss: 1.0659 - val_loss: 1.5333
----- generating with seed: do, pointing to alice with one finger;
and the whole party at once crowded round her, calling out in a confused
way, prizes! prizes!
alice had no ide
do, pointing to alice with one finger;
and the whole party at once crowded round her, calling out in a confused
way, prizes! prizes!
alice had no idea how cans tell it in the same threelly must
be at the little door, and had not a ratwould before that cant
think of the table, but they liked, he was poor time, and the gryphon with her hand.
and mose to the time, she had not in the whole persons of the caterpillar; and which were trying
to be sure, the mock turtle alice could have they was she shook his head of aning in it was she had but the mock turtle in the boots
hain a tried to banked at the stares was the repeat with the
whote speak lar
do, pointing to alice with one finger;
and the whole party at once crowded round her, calling out in a confused
way, prizes! prizes!
alice had no ideap? and be to grod to uses, its layed alice!
is tailly stally; and with lissly usen cat: i sholl foots now fetch
she treating dreakin, and the other donce ind one
bosh in her: who pares bace ablittle you evident sittling, and
came people ifechast, first ill be snt gone. any hind intated it, and how she knew
onee.
continging story of it. he! ich went rouse, pointing down at too off the queen, heecuped
it is he winted booksh.
at fattertiod, and
yet! i could jumped his fless to ond mady little cl
epoch: 32 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2141s - loss: 1.0558 - val_loss: 1.5938
----- generating with seed: t! oh dear! id nearly forgotten that
ive got to grow up again! let me see--how is it to be managed? i
suppose i ought to eat or drink something or oth
t! oh dear! id nearly forgotten that
ive got to grow up again! let me see--how is it to be managed? i
suppose i ought to eat or drink something or other sittle does.
i douse the tame of a present to be the such she was only a little
breath, and was seven a little white pett all the pit in
atom be outhous of eneamay with a moment anythin this bit, and the queen was in the
seazes.
was that it was a very didning the distance in a howntwors.
it was a little dismars. said alice to see of her
shan melied. there were all said to herself, as she set wat ours.
i should he could seemed toures the distance, and she doesnt be some came to the word
t! oh dear! id nearly forgotten that
ive got to grow up again! let me see--how is it to be managed? i
suppose i ought to eat or drink something or other twill --uvertatpening at them,
said this-hand
at all all themself the march hursiby one word beforguing, as she
ling! then. a san all. williffrouse a little. and went marwaschhowat it, you weee over. holded itlard
of yourd:--
gfow!
chif thatlice i didnt!
which isen all, said the qutin was a great, bus, and dindree is-ofe. the
leaster be sabless, beatingerevy is
asteep, waich had said alice billed pit, said the caterpills
came of course sait nothing, i cans. to a lows
higs, fins.
an it
epoch: 33 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2144s - loss: 1.0393 - val_loss: 1.5419
----- generating with seed: onged to get out of
that dark hall, and wander about among those beds of bright flowers and
those cool fountains, but she could not even get her head
onged to get out of
that dark hall, and wander about among those beds of bright flowers and
those cool fountains, but she could not even get her head she
shouged to be some time was the voice was so signing on the top of her knee.
nothing in the same tone, the jury believe theres and the look of this was very had been for its
about things at all a rater was, that is a very too glave marked out at little thing,
she zent marter the white rabbit--
she was not sort of herself things as for the thing hersers, its a great cut rather going, the march hare said to alice as she had been ever soon was notice, alice had got a large of
a tiget hard
onged to get out of
that dark hall, and wander about among those beds of bright flowers and
those cool fountains, but she could not even get her head protedin,
im voice open kifter-that them gettlans out of gropm now, terked you my nig, shouted alice bottle, showed
to herself, as looking
go dow yous!
what five yet, miss; and? let mays leaves that!
for i
severanty,
--willid.
con! rus, you calling a little me seem, thought alice: sole.
beauting,, juct sime hargion! the knems, were try thre, or ske size, sig shollieg
and tasking her.
as it id said, to wriet; and then alice thought.
which cut tallingue hatterp gromm face instyoull anong
epoch: 34 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2017s - loss: 0.9991 - val_loss: 1.5396
----- generating with seed: the queen was in a furious passion, and went stamping about, and
shouting off with his head! or off with her head! about once in a
minute.
alice beg
the queen was in a furious passion, and went stamping about, and
shouting off with his head! or off with her head! about once in a
minute.
alice began the round heard all them words were near to think i dont think i dont she turned on, the mock turtle
it was promes it was the whoterr have got to brong
thing i wish theyre of her for some time to be a little shersely
for sart would have come on one of the table, the dormouse down abletser the court.
what i can sempoused it was a very dremm, the queen of
hair the rabbit and the cat remonged to say it was
the mock turtle im so fall to sely croquet with one of the courte
of her very said, and
the queen was in a furious passion, and went stamping about, and
shouting off with his head! or off with her head! about once in a
minute.
alice began, went in it, the repeat gulbbe the topmperedly, and afrail.
for very mind. youll, but re no windering anle,
is stwaled you have goed the kname, thend upon theme bead
see-whoten!
lipe an om, wrote are wite glingly, and reader timebitfarce, surpring draves. however,
taicimp tim! she ran you my-name flurnors inxiod, muck torsem my tak?
that they went over at he
theres sings and notrice.
then than when she walked, and has
durent ever, considered, who pale all remark by very
cl
epoch: 35 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1865s - loss: 0.9899 - val_loss: 1.5471
----- generating with seed: oment she felt a violent
blow underneath her chin: it had struck her foot!
she was a good deal frightened by this very sudden change, but she felt
th
oment she felt a violent
blow underneath her chin: it had struck her foot!
she was a good deal frightened by this very sudden change, but she felt
that the duchess would be seen there was here.
i shall have you make out what a great down in a very uncomartuce of the lobsters all had to great
doester to day sore went on, who are you may.
then a smiler with its eyes said alice.
as she went on, but it was she had been in a long
took the court, of your eneeen time if it had the rabbit was a perper bettering
about it, and rum on the other adder the way of enoug
however say! alice was no one was to she went on.
what you meant to seat there wer
oment she felt a violent
blow underneath her chin: it had struck her foot!
she was a good deal frightened by this very sudden change, but she felt
that yet, after hed you know what i ang, and a caurde of this
remeck, confusipat with! said the
duchess! she canked her; and, husrying
about imont a juction, begantine!
look atous, with sitais! thought morther over have, said alice to be out her.
you mout a very tail, found everything is to gearter, he came ouf not a smiles, not tea so very
did mustle hes up again,
first! he oirncited delived, ive went to knom-box other.
we riget donby in? yot wenco, said the proco.
wish theim off tho arm noti
epoch: 36 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 1905s - loss: 0.9842 - val_loss: 1.5592
----- generating with seed: k to the
croquet-ground.
the other guests had taken advantage of the queens absence, and were
resting in the shade: however, the moment they saw her,
k to the
croquet-ground.
the other guests had taken advantage of the queens absence, and were
resting in the shade: however, the moment they saw her, she was going on the close
not i she was as it something had not tritten with their fetting of great his tell in she was not remember
engless the queen with its soon
listen under the dasent here, said alice; but she was notill one of the distant to
the voice of the cook of it: nor head of its
stars certainly began to the dormouse shoulder the right to the trume
it would not long to alice; and if i havent
the mouse was notice to alice and
notuce of the tok to the look of it, what was the right
k to the
croquet-ground.
the other guests had taken advantage of the queens absence, and were
resting in the shade: however, the moment they saw her, she knoves
knat the cood of its looked up rouse, among, inthing as she spaking over off.
--chat? my hears chonge! while i tig they again, said the other time.
well, i say, with a great cands hatters of looked on everything, said alice, very letturily one of the enourd
plaking voice.
thanking suid at her?
as your min? waintry. she ducked ran, agl. i had you could
car? said the hatter. pain.
the stral contoused croudly quite a nishers.
for that he graw, almovedite. she crequined los and but
epoch: 37 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 4464s - loss: 0.9753 - val_loss: 1.5670
----- generating with seed: un my tea--not above a week or so--and what with the
bread-and-butter getting so thin--and the twinkling of the tea--
the twinkling of the what? said
un my tea--not above a week or so--and what with the
bread-and-butter getting so thin--and the twinkling of the tea--
the twinkling of the what? said the dormoused upon alice, and she felt tell you that she had got its no back in the garden.
the king said to the past in the sentence of the distance.
the gryphon repained not because is all remember about in an again, and then she could scaped on their
same tone? she said to herself, which seemed to be a bit, and broken
the door at last than with a little to alice to think by the hatter:
you know, and i never to leave off a know.
its sleep of houre, she called on a tried: oh, it was and dr
un my tea--not above a week or so--and what with the
bread-and-butter getting so thin--and the twinkling of the tea--
the twinkling of the what? said the rocker.
i dont but intereting ea--a tortwele, st at will you do. prome never seesh ive so y?us, grown? had
acant mest? so
qusenful, be
billt; no ourdy, and musy crowaddryen it as for from his to besing hards about of
putces; so the putch?ral, thats, quitilly, of course, sig ive glaw ywh,
tone of the allkers! why, us, laited intoised, my dinar is, i roudd
tye, and she would be like, and marked.
there ifmell as theyd
pasted, said alice, be and bright, and as offe to be mavy frrexed.
alicem
epoch: 38 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2351s - loss: 0.9672 - val_loss: 1.5790
----- generating with seed: nt be raving mad--at least not so mad as
it was in march. as she said this, she looked up, and there was the cat
again, sitting on a branch of a tree.
nt be raving mad--at least not so mad as
it was in march. as she said this, she looked up, and there was the cat
again, sitting on a branch of a tree.
the march hare said in a telpening; and she said this they were
nived down found her hand of this, she said to the partyer with her head! only a minute of the dormouse
gool on hand back in the more them a pit, an welling
cried to be ormomon! she door of the mock turtle after a morthoo and going!
oh, if you dont supprispear, and then the rabbit began, being as it drew a moment that she had had the
rook to throute the round hain well taity of the little door what i
wonder what a sight it we hea
nt be raving mad--at least not so mad as
it was in march. as she said this, she looked up, and there was the cat
again, sitting on a branch of a tree. mind alice.
you need, a pig, and offe out futt
came had bear uncersund your carmorsh, i should fall!
chat, i know addor the jury, but she were a little nous. the oh, tshy well
in they into little a telp
inings with!
soup of this, that i was a mine. it puched her executfation, said uhooking.
do, said a in if i should he dalk about, and ho see, down wasth orw when in egruefoubibboup goout
fought, and the knom lit lizart with its
at the trials wa
epoch: 39 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2085s - loss: 0.9610 - val_loss: 1.5891
----- generating with seed: ertainly: but now run in to your tea; its getting late. so
alice got up and ran off, thinking while she ran, as well she might,
what a wonderful dream
ertainly: but now run in to your tea; its getting late. so
alice got up and ran off, thinking while she ran, as well she might,
what a wonderful dream what when she had not both his should began
afre, she said to herself.
i dont tel fetimplace so, taid do so the whole prockedded the pigeon, and she speak to herself, and she spoke.
the mouse down so much her arm, and the mock turtle said to herself.
i say i tig the door, said the caterpillar, and the more lonce.
ertainly: but now run in to your tea; its getting late. so
alice got up and ran off, thinking while she ran, as well she might,
what a wonderful dream the peppy did bo distered.
and rat on to say joyo loog alice any roundfy, i shouldnt into a long? no? all ream, said alice: stiep was tso sat deneply,
and no your eads, what itloked away!
she closeding the veed her feet really mycely the nest.
why dish she veisin? she said to herself, and fane in her ouf
fust, she said tit.
then!
this arenerzely aud! said the duchess, whice seemed tried
before, you knot in it
the moot with fay and having upon very undong
out all frow my dont me, by sayin
epoch: 40 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2246s - loss: 0.9523 - val_loss: 1.5812
----- generating with seed: ngry tone, why, mary ann, what are you doing
out here? run home this moment, and fetch me a pair of gloves and a fan!
quick, now! and alice was so muc
ngry tone, why, mary ann, what are you doing
out here? run home this moment, and fetch me a pair of gloves and a fan!
quick, now! and alice was so much as she was out of its voice, and the king and she thought
it was hare the mock turtle went on when i shall i wait
to be an old before the more as a little as if it again, the king
large as if it was such a grow storther it were playing to herself.
not the seation like a sharg the hatter. they had not all dings her sharp to the one of the creatures
for having done to see what i should be of enough to be at last the hatter.
alice letter a little shore near the things got it suppened one figh o
ngry tone, why, mary ann, what are you doing
out here? run home this moment, and fetch me a pair of gloves and a fan!
quick, now! and alice was so much of muchiek-hever seet waknt.
why mentimed the gubbes finished her hand addersily-titel of hand-courtmen? but their slates and
heard of screlver, saled whe hat
anor? s we out agoinge--but, also my an order im a long? she remarked.
he waited--indour, puch! she queen nothing whathin it isnty?
its a minuted, and began no on a kind be the flow-her stinkach she witnenser tan glose
billling; as said alice
veraged this signing a lembbritule turse
quee silpow, you know? said he thought
it how they w
epoch: 41 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2651s - loss: 0.9467 - val_loss: 1.5911
----- generating with seed: , you see, so many out-of-the-way things had happened lately,
that alice had begun to think that very few things indeed were really
impossible.
there
, you see, so many out-of-the-way things had happened lately,
that alice had begun to think that very few things indeed were really
impossible.
there was a gone sort of come to the long hand of the look of the whole party that in a runce, with his
last cance of connistarf. i hadnt did you like the gryphon, and that there was now as if it was off when in a long, trying
to be streach his their
flaudr and heard off with her hands to look at once to the cuptre will talking of a minute, trying to herself, here and
round her afreath room off the duchess, who had been an exceme of
them, and was besides. he supprars to have then, the cat into the ga
, you see, so many out-of-the-way things had happened lately,
that alice had begun to think that very few things indeed were really
impossible.
there was a goight eags, if how up and roon ham, said alice tid lin-fuling to frow ur onateed myselpers! thats ever have when
expet?
chapter voice: i
should, she
busing on the hatter; and i jode
creas trume the pissly it minched plep! the look of hear.
openg, but im a time, said: lick to hard off?
theres jursed to this wish the door, and looking on as it adgry; and the gryphon.
itl sad any remembery, add, some mignt, fronk of gettiothing in it
took three who grance, she thought her figeen, she
epoch: 42 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2674s - loss: 0.9391 - val_loss: 1.6056
----- generating with seed: for the baby, it was sneezing and howling
alternately without a moments pause. the only things in the kitchen
that did not sneeze, were the cook, and
for the baby, it was sneezing and howling
alternately without a moments pause. the only things in the kitchen
that did not sneeze, were the cook, and the march hare.
alice did not feet him, and she had not at any rate of sharp as the queen said, with a great
hurry and pardsed to find that she was as
alice could not at all the pastion, and alice looked up and same things as it of
the subject of cardiculy and read the voice of the trees back in a trembles, and whish her head of this, she shoulded out of sident, and the march hare was a very to know
looked at alice for
some time alice knew that wish them so of getting up and love all larger the
for the baby, it was sneezing and howling
alternately without a moments pause. the only things in the kitchen
that did not sneeze, were the cook, and his fell caw-from began; but it. much look up? flob! she some night?
not busily anxiously reen pusbory mades--me, they--ather sigh, i wish thenserked by at it. alice had notcinced
for youre way at all! it doesnt got at alving.
i dont expleving up a littlo all, said the faterjuined aloug:s hard.
it makes read, tain alice barkisn said; all fis some of one, am thempele; eye wayted; and like a me
bablers.
--is you my nerrould be relven snthil. whuth? she curiod else, as she had found it in savist
epoch: 43 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2728s - loss: 0.9338 - val_loss: 1.6103
----- generating with seed: self, why, theyre only a pack of cards, after
all. i neednt be afraid of them!
and who are these? said the queen, pointing to the three gardeners who
self, why, theyre only a pack of cards, after
all. i neednt be afraid of them!
and who are these? said the queen, pointing to the three gardeners whowe of the
greak to be got to look at any remember anything all round the
executioner, in a long, and then a room of the end
of the prowlents at all sholl as the way of hear him, and she thought alice. ive hear she had tome of the court.
it of two say where and the hatter. the rabbit was not at all resting that,
in it? said the mock turtle a piecately: said the hatter.
then, the repeat with the door, still it asked about it,
and all her to me door, said alice, in
a soubbar off thoughts earr
self, why, theyre only a pack of cards, after
all. i neednt be afraid of them!
and who are these? said the queen, pointing to the three gardeners who
its bill those beazi,
now, you liked it agare, oning dene, say she could! only her knee
ochark if the wrock, extratming juct at it in a
thing very well sippook--perhiful, so vering down her flatteroug off tone.
dyew, i lont eat onen, off wonce offerent tong, then she went on
herself, so murrimoli.
y the next sutcod to? aftions seven lovele sezerand-yourily, beings hadge of it, and she did not looke of right
onvervoos!
i shapl it so put hastion realfy,
s!
signed hupping the cat. ch
epoch: 44 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2679s - loss: 0.9279 - val_loss: 1.6141
----- generating with seed: the soldiers had to double themselves
up and to stand on their hands and feet, to make the arches.
the chief difficulty alice found at first was in m
the soldiers had to double themselves
up and to stand on their hands and feet, to make the arches.
the chief difficulty alice found at first was in minate that she could
hearth, the dormouse dear upon a lory, and was large of the court.
it dont me! he said the large first of the senolle getting on one here.
so make here, said the caterpillar seemed to making and
herself go mind the lost--over! she said to herself, and said to herself, and she thought
this tireed, and remented to itses to herself a canving of that chesh
she was not look at all saily a rewany of the world paw a little
begines! said the cat in an one of them,
she was no be do
the soldiers had to double themselves
up and to stand on their hands and feet, to make the arches.
the chief difficulty alice found at first was in minching
of furse prociestrantly realwen.
everyboty get a can round her fistor; as im not a strange to st! that wo le gwining her footman, and now the cury. a cloor: i
shouldnt best heart. im afteretlo! here, thought hore talked of
squice, as the queen of even his
saids was a long dry and, and she set would hels like. as four
lill, though of the seamo. said the sudded
knew and howling for sock to begin?
com! sh! said alice, verybe in an ther. down in
one, said the cat. do
in a rabbling meacly,
epoch: 45 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2722s - loss: 0.9228 - val_loss: 1.6206
----- generating with seed: ave been a
red rose-tree, and we put a white one in by mistake; and if the queen
was to find it out, we should all have our heads cut off, you know.
s
ave been a
red rose-tree, and we put a white one in by mistake; and if the queen
was to find it out, we should all have our heads cut off, you know.
she wouldnt tell me, said the hatter.
they dozid your majuse she said to herself, which she had doesne on the thing, said the mock turtle: the hatter was in a large fany upbony
anything the queets dream said, and the gryphon was in this and shoot
of the chimney up and going to me that?
i shall sat dona turned pass and she said this more beginning to the garden
realice, here and thought that?
its all say to herself, said the mock turtle wentions.
the awry, the dormouse shoulder the rabbit voic
ave been a
red rose-tree, and we put a white one in by mistake; and if the queen
was to find it out, we should all have our heads cut off, you know.
she oup tour me, screazing about as for suppen walking out.
it out arrtered, with all mataly---
why, as i waynt hadgen being though, and she again began
him, in a very undor ano, and, if id fatch
things--hold senterstered, but they,
talled atre.--exactly: then, as a smillarstran to fring!
no, boagh, said the jury-edougnt eagerail, was another was not itselftancing alice and gogs voice some wer,
that youre chabped over seet plemickily began a sseymal schated was
sig of thisp? she said of ariou,
epoch: 46 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2567s - loss: 0.9182 - val_loss: 1.6280
----- generating with seed: as well as
she could, for her neck kept getting entangled among the branches, and
every now and then she had to stop and untwist it. after a while she
as well as
she could, for her neck kept getting entangled among the branches, and
every now and then she had to stop and untwist it. after a while she seemed to the
seamed of coming for hardly began to the blow to to come more mind at to say a wairtely.
oh, i winn wont on atten to the twiner and herself this time.
i wish i can a can had flaig, and the cat in a mouse that it was soon it was a farme of thess looked at
all; however, they got to be a little sherwert
of perdecter in the right timple, though she knew that alice was so macy to the cation child
betwers to the ropeot at the fart eacumoly well
and the mouse down and the words an
as well as
she could, for her neck kept getting entangled among the branches, and
every now and then she had to stop and untwist it. after a while she eap on abcearser go little diddseng on his high.
ehere! cand so alice getting she might, seed they were indeany, and went lessons. there was only: upremayed
in my
nifet drew ask remarvis, sumpoked
to ent live about she was, to herself, then open the hall: and they would nebrowel; and doing.
whick, she hadf wont, be quite at all somebody: that much a litterred that farch unde-tim juma-marns
of
ew! that she very me trout, said the queen.
its a piect to wh! yes with the duchess. crowd sond them
epoch: 47 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2188s - loss: 0.9115 - val_loss: 1.6303
----- generating with seed: said alice indignantly. let me alone!
serpent, i say again! repeated the pigeon, but in a more subdued tone,
and added with a kind of sob, ive tried
said alice indignantly. let me alone!
serpent, i say again! repeated the pigeon, but in a more subdued tone,
and added with a kind of sob, ive tried to its minute.
what the mouse gettout to them, and i dont telself its head! said the mock turtle.
not the seat considee twinking the soup of chass off and they litting in a however tone.
what to dear herself upon alice, with a tree who alword!
she made he sidned once of the too glaving in an their fires of my
close, and whispered them, and began thinks at the dormouse getting under the distance.
i havent they were in the pact bit was, that is head of the lobster what it meant to dear his th
said alice indignantly. let me alone!
serpent, i say again! repeated the pigeon, but in a more subdued tone,
and added with a kind of sob, ive tried out, and
see down a long as you fore that, being longing
allow went! it pane down to save ohve even so the hooked howning.
alice was to dry an sopened than no used,
a nimy notiggi-jayp
inures him dignt keep forook the right she called or screame, he wenter.
liee! there was onlyy changed the-gelmerta repegind soner-whouse she trong his sinced, adding,
112892/112892 [==============================] - 2645s - loss: 0.9067 - val_loss: 1.6361
----- generating with seed: in at the beginning, the king said gravely, and go on till you
come to the end: then stop.
these were the verses the white rabbit read:--
they to
in at the beginning, the king said gravely, and go on till you
come to the end: then stop.
these were the verses the white rabbit read:--
they told many at all. however, going have doding all be stme
the fist ball heard the footman, and she was longering her peppess, the gryphon here and herself
and wantod the door butt notser the cames as she had doep tithing the
wood did notsed out, and said to herself with a mock the hand-resend,
they would not a little soldiers and long as she had to do, and in sighted to reach how to any
gade all me a time the queen hed all this, she said to the truch hards ard bo she was going
to say that she thoug
in at the beginning, the king said gravely, and go on till you
come to the end: then stop.
these were the verses the white rabbit read:--
they to did by things bean at any---
for tusney loud, for its head ig by aroom, and, does hadg, am sme of were in the
atcopanten, alice added on any such a put on scraked,
but open! laigry. tion, and alice: had smoking out instantly.
only came unstanply herself, for? she trick to the neam herself and now to alw, the rest the hastren round here
as she went on this sleek furrom, without
fean in det:--
engeter offortany--important pit, and went end
and prowlech.
he mepleag little
112892/112892 [==============================] - 2495s - loss: 0.9029 - val_loss: 1.6322
----- generating with seed: -at least i know
who i was when i got up this morning, but i think i must have been
changed several times since then.
what do you mean by that? said
-at least i know
who i was when i got up this morning, but i think i must have been
changed several times since then.
what do you mean by that? said the mock turtle
this alice was a guckes
really its marked of the execulent to the house on her head to this, she found
the march hare someted it again alice had no room of the
blowe, and something is, some of the bottom of an order at
the dodo, like a stor large eagerly to the other did
nothers, i should have a put on their surney, but she did not.
the mock turtle said, and as i this pleased at
hearts and firet him tirle, the gryphon repained up and said
out of the too much, said the queen.
-at least i know
who i was when i got up this morning, but i think i must have been
changed several times since then.
what do you mean by that? said the lory, but the hatter; its a curiou.
then alice went onsered! so youse, thend in
loor, said the mock turtle. said
the king; and dont ginch? said alice.
up? if a surcep, pain? suphos tike a lize; and the king queer, well as i- i vouce. yruible.
that im a-?
s allay its queen for mysely; at fer shoul notice shall for?
this wasked at his
bach put his he-ters tabe!
she said alice.
finuse ov. you? we le vences out that it with a such i dont know i think, and looking for
that. i havent dishal
epoch: 50 / 50
Train on 112892 samples, validate on 28224 samples
Epoch 1/1
112892/112892 [==============================] - 2487s - loss: 0.8980 - val_loss: 1.6364
----- generating with seed: ll as this, i shall
think nothing of tumbling down stairs! how brave theyll all think me at
home! why, i wouldnt say anything about it, even if i fell
ll as this, i shall
think nothing of tumbling down stairs! how brave theyll all think me at
home! why, i wouldnt say anything about it, even if i fell white times away: he curiod, and
the moment a she cust teat that there was little
conversation, which was a sure, the white rabbit, and even anle she
went good the queen, when i got the things came a dares ears of a present to say
a waited to the gryphon she was things at her feet is the bright noticed why down the loss-e when she thought
it was her to leave the etcembledge of the top of her head to listen.
the duchess repeated in a finished, that were going
before, and after a large push obld
ll as this, i shall
think nothing of tumbling down stairs! how brave theyll all think me at
home! why, i wouldnt say anything about it, even if i fell for houre your tell mectiots nive in
sllence.
least, will think you gone, but the hatter. if you mode twi--as up about caped she added again!
then she went ter excout if this little moder watch himble, with
an all the exlisty things at your mad.
for the rinh jumpes? she!
with ho! she queer, it was this last cauld. i do his that
same wire in the, they livage in the offuld found at twone: for your queer.
bull, cried atather first!
alice had it was back indeen, space--o
she bage with be, s
In [13]:
pickle_file = '-basic_data.pickle'
try:
f = open(pickle_file, 'wb')
save = {
'X': X,
'y': y,
'int_to_char': int_to_char,
'char_to_int': char_to_int,
}
pickle.dump(save, f, pickle.HIGHEST_PROTOCOL)
f.close()
except Exception as e:
print 'Unable to save data to', pickle_file, ':', e
raise
statinfo = os.stat(pickle_file)
print 'Saved data to', pickle_file
print 'Compressed pickle size:', statinfo.st_size
Unable to save data to -basic_data.pickle :
---------------------------------------------------------------------------
MemoryError Traceback (most recent call last)
<ipython-input-13-15fdd81d3db0> in <module>()
9 'char_to_int': char_to_int,
10 }
---> 11 pickle.dump(save, f, pickle.HIGHEST_PROTOCOL)
12 f.close()
13 except Exception as e:
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in dump(obj, file, protocol)
1374
1375 def dump(obj, file, protocol=None):
-> 1376 Pickler(file, protocol).dump(obj)
1377
1378 def dumps(obj, protocol=None):
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in dump(self, obj)
222 if self.proto >= 2:
223 self.write(PROTO + chr(self.proto))
--> 224 self.save(obj)
225 self.write(STOP)
226
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save(self, obj)
284 f = self.dispatch.get(t)
285 if f:
--> 286 f(self, obj) # Call unbound method with explicit self
287 return
288
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save_dict(self, obj)
653
654 self.memoize(obj)
--> 655 self._batch_setitems(obj.iteritems())
656
657 dispatch[DictionaryType] = save_dict
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in _batch_setitems(self, items)
685 for k, v in tmp:
686 save(k)
--> 687 save(v)
688 write(SETITEMS)
689 elif n:
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save(self, obj)
329
330 # Save the reduce() output and finally memoize the object
--> 331 self.save_reduce(obj=obj, *rv)
332
333 def persistent_id(self, obj):
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save_reduce(self, func, args, state, listitems, dictitems, obj)
423
424 if state is not None:
--> 425 save(state)
426 write(BUILD)
427
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save(self, obj)
284 f = self.dispatch.get(t)
285 if f:
--> 286 f(self, obj) # Call unbound method with explicit self
287 return
288
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save_tuple(self, obj)
566 write(MARK)
567 for element in obj:
--> 568 save(element)
569
570 if id(obj) in memo:
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save(self, obj)
284 f = self.dispatch.get(t)
285 if f:
--> 286 f(self, obj) # Call unbound method with explicit self
287 return
288
/home/vagrant/anaconda2/lib/python2.7/pickle.pyc in save_string(self, obj, pack)
490 self.write(SHORT_BINSTRING + chr(n) + obj)
491 else:
--> 492 self.write(BINSTRING + pack("<i", n) + obj)
493 else:
494 self.write(STRING + repr(obj) + '\n')
MemoryError:
Content source: tolaoniyangi/dmc
Similar notebooks: