/infinite_shakespeare

A Transformer (GPT) model that generate shakespearean text.

Primary LanguageJupyter NotebookMIT LicenseMIT

Infinite shakespeare

A Transformer based (decoder only) model that generate shakespearean text.

Samples

$ python run.py
>
First Servant:
Yes, such proseO God! then your eyes, there we that ever a wing,
That thou,pect standsforward stood up home.
Hours, which a glorious sinks, or thou art well complainress,
Withither but many inf, there not with thine
To do you not rich a life came you
So one will not you, sir, as whence
That made the modest noursable stri shed,
To answer you that was thou art not put drunk so from his name to murder the crown to at once speech;
Forman with l racismly offer his grace and marry him return;
These tell thy respect in Warwick, bring
Which, and son.

LORD WILLOUGH thou doth the news
I'll thy waking, I'll practise on a veryring, sir,
And made an old thou hon unnatural, and most find hate,
Well, like titleem! methinks your gravity, hear your royal presence,
Ts.

King heavy gains favourablece:
What?
On! O God, your queen's wife: he is not bail my acknowledgeop'd,
The army of love, I fear not breatheful fl devise:
So. Al to see her that will wash,
Well, his death?

BENIUS:
It shall be now by my favour,
The wind, and tacklingbotardine born.

AUTOLYCUS:
You came to have it overtaaged! O, in either you are one
Of poison, good father's torture'st: thou make a league with a love of meeting in the land de tops of cousin,
Which serves't and moreishedured shall be gage
The power in 'tis heart and the clown.

AUTOL VINCENTIO:
For I had I tell you hear it break
That thou dukedom, so gift bound,
Set beauty in the singleeely windowsawdond good
To your gardenFool, andomes,
Hard, you deserve them from Boling me such touch the man.

JULIET claimants as you give me, and this day;
Where is sign, and thegrain's score,
Whose are the woman or eyes to dissemble,
That you are lightning I'll pay the garden-om well of your sovereign; and your house if
>

As you can see it's just a barebones model (but probably more optimizable)

Training

Training done on google colab https://colab.research.google.com/drive/1t3AcCanDz_YXaneXvXbB_fjYfNwF9z2d?usp=sharing