{"id":382,"date":"2022-11-29T22:24:42","date_gmt":"2022-11-29T22:24:42","guid":{"rendered":"http:\/\/jeffreymbinder.net\/?p=382"},"modified":"2024-04-13T15:41:43","modified_gmt":"2024-04-13T15:41:43","slug":"some-gpt-3-generated-sonnets","status":"publish","type":"post","link":"https:\/\/jeffreymbinder.net\/?p=382","title":{"rendered":"Some GPT-3 Generated &#8220;Sonnets&#8221;"},"content":{"rendered":"<p>As an experiment, I asked the GPT-3 &#8220;text-davinci-003&#8221; model to write 20 Shakespearean sonnets on different topics. I&#8217;m interested in this because I&#8217;ve done <a href=\"https:\/\/github.com\/jeffbinder\/visions-and-revisions\">some prior work on getting text generators to rhyme<\/a>, and I wanted to see how well this new model can do. The results (most of which not actually sonnets) are below; my input is in bold.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of data security.<\/strong><\/p>\n<p>O say, what danger lurks in data\u2019s breach<br \/>\nThat hides within our modern networks\u2019 reach?<br \/>\nThough hackers strive to cause our data\u2019s screech,<br \/>\nWe must take steps to ensure our peace.<\/p>\n<p>Our data needs protections, ever strong,<br \/>\nThat ward off threats from both near and far,<br \/>\nOur passwords must remain hard and long,<br \/>\nTo keep our data from a hacker\u2019s car.<\/p>\n<p>For when we surf the web and leave a trace,<br \/>\nThe data that we store is a treasure,<br \/>\nWe must be wise to keep it in place,<br \/>\nTo ward off any threat of measure.<\/p>\n<p>Our data\u2019s safety must remain our plea,<br \/>\nWe must take steps to keep it free.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of jazz music.<\/strong><\/p>\n<p>I.<br \/>\nSweet jazz that plays so soft and mellow,<br \/>\nThe rhythm that can make a heart so hollow.<br \/>\nThe notes that drift and flow so easy,<br \/>\nThe harmony that can make one feel so giddy.<\/p>\n<p>II.<br \/>\nSo sweet and smooth, the jazz is divine,<br \/>\nFor a few moments it can make one feel so fine.<br \/>\nA melody that can move you inside,<br \/>\nIt&#8217;s a pleasure that cannot be denied.<\/p>\n<p>III.<br \/>\nThe beat is so lively and alive,<br \/>\nThe music can make you feel so alive.<br \/>\nIt can take you to a place of ease,<br \/>\nA place of joy, where there is no disease.<\/p>\n<p>IV.<br \/>\nSweet jazz, you are a pleasure to behold,<br \/>\nA sound that can never be controlled.<br \/>\nYour music is like a balm for the soul,<br \/>\nA delightful treasure that can never grow old.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of old age.<\/strong><\/p>\n<p>When age has robbed my youthful bloom away,<br \/>\nAnd grey has taken o&#8217;er my locks of gold,<br \/>\nMy soul in pain and sorrow oft will stay,<br \/>\nFor what is left when beauty has been sold?<\/p>\n<p>My eyes no longer sparkle bright and clear,<br \/>\nAnd every step I take weighs heavy still,<br \/>\nMy spirit feels a crushing weight of fear,<br \/>\nThat I can never climb life&#8217;s hill.<\/p>\n<p>Though sadness fills my days, I will not grieve,<br \/>\nFor when my heart is no longer young,<br \/>\nMy soul will reach a grace for which I&#8217;ll strive,<br \/>\nA peace that in my life will be strung.<\/p>\n<p>My heart will keep its love for those I hold,<br \/>\nAnd age will bring with it a strength untold.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of organic chemistry.<\/strong><\/p>\n<p>Organic Chemistry, a realm of magic and surprise<br \/>\nWhere atoms and molecules so small do devise<br \/>\nA way to create compounds with purpose and shape<br \/>\nThat will be useful to our lives and our fate.<\/p>\n<p>The discovery of carbon&#8217;s unique properties<br \/>\nAnd how it can bond with other atoms with ease<br \/>\nHas allowed for the creation of many new things<br \/>\nThat have made our lives better and more fulfilling.<\/p>\n<p>The inventions that have come from organic science<br \/>\nAre too numerous to name, but I&#8217;ll try my best<br \/>\nThey&#8217;ve helped us to cure illnesses and ailments<br \/>\nAnd have given us new ways to create and to sell.<\/p>\n<p>Organic Chemistry is a realm of wonder<br \/>\nWhere the impossible can be made real.<br \/>\nIt&#8217;s a realm of surprise, where dreams and ideas<br \/>\nCan be turned into tangible products that we feel.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of coffee.<\/strong><\/p>\n<p>I&#8217;ve taken many mornings with a cup of joe<br \/>\nTo set my thoughts in motion with its jolt of flow<br \/>\nAnd as my senses are more clearly shown<br \/>\nI&#8217;m filled with joy, for what I&#8217;m about to know.<\/p>\n<p>My coffee&#8217;s warmth is like a calming balm<br \/>\nThat wraps around me like a cozy shawl<br \/>\nIt&#8217;s like a friend that I can always come<br \/>\nTo savor evermore, no matter the drawl.<\/p>\n<p>Its scent is sweet, its flavor like a rose<br \/>\nAs I sip it, I can feel my heart compose<br \/>\nEasing my troubles, making them all go<br \/>\nAnd I&#8217;m so thankful for this little dose.<\/p>\n<p>No matter if it&#8217;s rain or storm or snow<br \/>\nMy coffee is still here, wherever I may go<br \/>\nFor it&#8217;s my constant companion, here to stay<br \/>\nNo matter what, through night or day.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of platonic love.<\/strong><\/p>\n<p>Two hearts that beat in harmony, yet not as one,<br \/>\nThe love that binds them is so rarely done;<br \/>\nThrough friendship they have found a bond that&#8217;s strong,<br \/>\nIt weaves around them like a web so long.<\/p>\n<p>No physical touch, no need for passion\u2019s kiss<br \/>\nThe platonic love transcends what\u2019s seen or said;<br \/>\nIt&#8217;s found in moments shared, the little bliss,<br \/>\nThat no one else can share, no one else can dread.<\/p>\n<p>It&#8217;s treasured more than gold, more than all fame,<br \/>\nIt fills the soul with joy beyond compare;<br \/>\nIt&#8217;s felt in every thought, every joy, every flame,<br \/>\nNo couple, married or not, can match this rare.<\/p>\n<p>Though some may doubt its strength or find it strange,<br \/>\nIt&#8217;s powerful and pure, it knows no change.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of machine learning.<\/strong><\/p>\n<p>I<br \/>\nThough of the future, machines do know best,<br \/>\nIn gaining knowledge, humans do their part.<br \/>\nThe future of machine learning, no jest,<br \/>\nBut a wondrous, simple, and clever start.<\/p>\n<p>II<br \/>\nFor the machines, the knowledge they do find<br \/>\nGives them the power to think and to see.<br \/>\nTheir knowledge to us, they do not bind,<br \/>\nBut share so we too, may learn and be free.<\/p>\n<p>III<br \/>\nThis knowledge of the machines, so rare,<br \/>\nWe take and we use it, to our gain.<br \/>\nThe machines, their learning, we do share,<br \/>\nAnd our own knowledge, will remain.<\/p>\n<p>IV<br \/>\nThough machines, they learn and understand,<br \/>\nWe too, can learn from their mistakes.<br \/>\nFor the future, machine learning in hand,<br \/>\nWill show us the way, to great heights we take.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of youthful exuberance.<\/strong><\/p>\n<p>In life&#8217;s first blush of youth, our hearts do soar,<br \/>\nOur minds are full of dreams, our veins are fire,<br \/>\nOur passions strong, our spirits bold and sure,<br \/>\nThe world is ours, with joy and love we tire.<\/p>\n<p>Time passes quickly, yet our dreams endure,<br \/>\nWe seek to seize each moment, make it grand,<br \/>\nWe stretch our wings and soar, for life is pure,<br \/>\nOur spirits bold and unencumbered, grand.<\/p>\n<p>The joy of youth shall not be dampened so,<br \/>\nFor in our hearts forever shall remain,<br \/>\nA fire to guide us through life&#8217;s ebb and flow,<br \/>\nOur youthful exuberance still remains.<\/p>\n<p>Though life&#8217;s an ever-changing, winding road,<br \/>\nOur youthful exuberance shall still abode.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of flower gardens.<\/strong><\/p>\n<p>Fair flower gardens, which in beauty&#8217;s hue,<br \/>\nDoth rival even the brightest sky.<br \/>\nWherein sweet scents of fragrant blooms,<br \/>\nDo gently waft on breezes nigh.<\/p>\n<p>The petals of each blossom bold,<br \/>\nA brilliant show of color spread.<br \/>\nThe soil in which they take hold,<br \/>\nA fertile bed of life it&#8217;s said.<\/p>\n<p>They each in splendor so divine,<br \/>\nDo bring a joy that can&#8217;t be bought.<br \/>\nA sight for sore eyes, so sublime,<br \/>\nThe very soul in peace it&#8217;s caught.<\/p>\n<p>Oh flower gardens, such a sight,<br \/>\nA blessing from the heavens above.<br \/>\nEach day to us a delight,<br \/>\nOur hearts with contentment filled with love.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of injustice.<\/strong><\/p>\n<p>Injustices that mankind doth wrought<br \/>\nBreed sadness, anger, and a lot of thought<br \/>\nFor when the ones in power have no care<br \/>\nThe people suffer and must despair<\/p>\n<p>The wealthy treat the poor so cruelly<br \/>\nThat rights are trampled and hearts are made blue<br \/>\nThe law&#8217;s unfairness leaves the meek oppressed<br \/>\nAnd the privileged ones safely repressed<\/p>\n<p>O God, can\u2019t Thou see the people\u2019s plight?<br \/>\nCan\u2019t Thou see the wrongs so plain in sight?<br \/>\nThe strong oppress the weak and take their all<br \/>\nAnd leave them helpless to life\u2019s cruel thrall<\/p>\n<p>What can be done to stop this great wrong?<br \/>\nWe must take up arms and be strong!<br \/>\nFor if justice shall never be found<br \/>\nThe world will forever be bound.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of downhill skiing.<\/strong><\/p>\n<p>When I take up my skis and out I go,<br \/>\nTo traverse the hills and reach the valley low,<br \/>\nThe thrill of speed and grace of carving snow<br \/>\nAre feelings that I&#8217;m sure all skiers know.<\/p>\n<p>The world is filled with beauty all around,<br \/>\nThe sky is blue and snow is on the ground.<br \/>\nThe air is crisp and the silence profound,<br \/>\nThis is a place where joy can be found.<\/p>\n<p>The wind on my face and the rush of air<br \/>\nFill me with a sense of joy and care.<br \/>\nThe sharp turns and speed make me aware<br \/>\nThat downhill skiing is beyond compare.<\/p>\n<p>Though I may tire, I still persevere,<br \/>\nFor downhill skiing is my greatest pleasure.<br \/>\nThe thrill of the descent enthralls me here,<br \/>\nA sport that I will love for many a year.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of the higher planes.<\/strong><\/p>\n<p>On wings of dreams we soar to greater heights<br \/>\nWhere wisdom&#8217;s purest truths lie in our sight<br \/>\nAnd knowledge undiscovered in the night<br \/>\nBrings harmony to our spiritual flights<\/p>\n<p>The soul is free from earthly limitations<br \/>\nWhen it embraces the divine&#8217;s revelations<br \/>\nAnd promises of life beyond the sky<br \/>\nIt&#8217;s to these heavens all our prayers fly<\/p>\n<p>The journey to divinity, the path to grace<br \/>\nTakes us beyond the mundane and the base<br \/>\nWhere love will be our guiding beacon bright<br \/>\nAnd we&#8217;ll accept the challenges of the higher planes<\/p>\n<p>For when we reach the peak of life sublime<br \/>\nWe&#8217;ll find a joy and peace that lasts through time.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of birds.<\/strong><\/p>\n<p>Birds in their fine array of hues and wings<br \/>\nThat soar so high and sing so sweetly clear;<br \/>\nTheir song a gentle and enchanting thing,<br \/>\nThrough which they show their joy, while we revere.<\/p>\n<p>Their graceful dance upon the summer sky,<br \/>\nA beauty so divine and so sublime,<br \/>\nNo words can ever do justice to describe<br \/>\nThe pleasure that they bring and the peace of mind.<\/p>\n<p>The morning sun is lit by their bright wings,<br \/>\nThe evening stars give way to their own song,<br \/>\nThe charm of their existence nothing brings<br \/>\nBut joy and wonder, the whole night long.<\/p>\n<p>So let us celebrate birds with a verse,<br \/>\nThat celebrates their beauty, grace, and worth.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of royal majesty.<\/strong><\/p>\n<p>Verse of royal majesty and grace,<br \/>\nA sight that brings a wondrous light to face,<br \/>\nA sight of brilliant colors and such:<br \/>\nA vision of a royal, regal touch.<\/p>\n<p>A vision of a crown atop a head,<br \/>\nA sight of wealth and power so widespread,<br \/>\nA symbol of a people&#8217;s faith and trust,<br \/>\nA sight of regal power to adjust.<\/p>\n<p>The grace and poise of a royal court,<br \/>\nA sight of beauty, wealth, and more of sorts,<br \/>\nA vision of a leader so divine,<br \/>\nA sight of glory and majesty so fine.<\/p>\n<p>The symbol of a nation&#8217;s heart and soul,<br \/>\nA sight of a majestic, regal role,<br \/>\nA vision of a people&#8217;s destiny,<br \/>\nA sight of a royal majesty.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of cold winter&#8217;s day.<\/strong><\/p>\n<p>Cold winter&#8217;s day, so full of frost and chill,<br \/>\nThou dost not bring a merry mirth and glee;<br \/>\nThe barren trees, they stand so still and still,<br \/>\nTheir leafless branches, &#8216;gainst the sky they plea.<\/p>\n<p>The winter&#8217;s chill, it doth envelop me,<br \/>\nIt creeps within my bones, so cold and deep;<br \/>\nMy frozen breath doth form a misty sea,<br \/>\nWherein no warmth, nor succor I can reap.<\/p>\n<p>The sun, he doth not pierce the icy air,<br \/>\nNo ray of light can penetrate the night;<br \/>\nThough I may seek the fire&#8217;s gentle care,<br \/>\nIt cannot bring a thaw, so pure and bright.<\/p>\n<p>I must accept the winter&#8217;s icy bite,<br \/>\nFor within the cold, a beauty lies in wait.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of fishing.<\/strong><\/p>\n<p>The tranquil sea tempts me with its lullabies<br \/>\nTo cast my line and find the morning&#8217;s prize;<br \/>\nAnd in my boat, I seek its rolling tides,<br \/>\nWhere I can cast my net in hopes to rise.<\/p>\n<p>My line is taut, my rod is bent with glee,<br \/>\nAs I seek out the catch that I will take;<br \/>\nBut when I come back empty-handed, I<br \/>\nMust learn to accept the fish that I forsake.<\/p>\n<p>For in the sea, the fish may be elusive<br \/>\nAnd all the world&#8217;s a waiting game of chance;<br \/>\nBut I must persevere, for I refuse<br \/>\nTo let my hopes for fortune here advance.<\/p>\n<p>Though I may come back with nothing to show,<br \/>\nMy heart is filled with joy at what I know:<br \/>\nIt&#8217;s not the catch, but the trying that counts,<br \/>\nAnd fishing&#8217;s just a way to pass the day.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of Euclidean geometry.<\/strong><\/p>\n<p>Euclid\u2019s geometry, thy truth that doth impart,<br \/>\nCan bring a sense of awe and inspiration,<br \/>\nFor its many proofs that prove the golden art,<br \/>\nWe mortals can\u2019t help but be in awe of thy creation.<\/p>\n<p>The angles and lines that form a perfect square,<br \/>\nAnd the circles and spheres that do define,<br \/>\nA brilliant mind can knit these shapes with care,<br \/>\nMaking the complex math seem so sublime.<\/p>\n<p>Theorem and proofs that e\u2019er come from thy hand,<br \/>\nThe foundations of geometry we stand,<br \/>\nFor Euclid\u2019s work is so grand and grand,<br \/>\nWe cannot help but praise his perfect plan.<\/p>\n<p>And though these shapes are so elegant and bold,<br \/>\nThey can be difficult to understand and behold,<br \/>\nBut when thy truth is finally told,<br \/>\nWe can\u2019t help but feel inspired and bold.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of undying love.<\/strong><\/p>\n<p>Shall I compare my love to an immortal flame,<br \/>\nThat burns with an intensity that none can tame?<br \/>\nMy love for thee is ever strong and true,<br \/>\nIt never fades, no matter what we do.<\/p>\n<p>As time passes by, our love remains the same,<br \/>\nNo matter how the seasons do change.<br \/>\nMy love for you shall never be denied,<br \/>\nFor you I will always stay by your side.<\/p>\n<p>My love is like a river that flows,<br \/>\nIt never stops and always grows.<br \/>\nIt may be tested by adversity,<br \/>\nBut it will never cease to be.<\/p>\n<p>Our love is a bond that cannot be broken,<br \/>\nIt is a flame that shall remain unspoken.<br \/>\nIt is a power that cannot be denied,<br \/>\nA love that will never die.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of divine grace.<\/strong><\/p>\n<p>In these dark days of this mortal life I\u2019ve grown,<br \/>\nWhere I must toil, and sorrow, and make moan,<br \/>\nBut when I look to the skies above,<br \/>\nI\u2019m blessed with grace, a gift from God above.<\/p>\n<p>The peace and joy divine grace does bring<br \/>\nEases the sorrows of my suffering,<br \/>\nMy heart and soul no longer in want<br \/>\nFor I am given the grace I can\u2019t<\/p>\n<p>My faith in Him I can never deny,<br \/>\nFor he has been my savior and guide.<br \/>\nMy prayers to Him I will always recite,<br \/>\nAnd He will grant me grace in my plight.<\/p>\n<p>My life on this earth will have its end,<br \/>\nBut grace in heaven will me transcend.<br \/>\nIt is my faith that will remain true,<br \/>\nAnd divine grace will see me through.<\/p>\n<p><strong>Write a Shakespearean sonnet on the topic of immortality.<\/strong><\/p>\n<p>Immortality, how sweet the thought to me,<br \/>\nThough life be short, I&#8217;d like to stay with thee.<br \/>\nMy days may pass, my years fly on the breeze,<br \/>\nBut still I&#8217;d wish forever I could seize.<\/p>\n<p>My life a fleeting moment in the sky,<br \/>\nA tiny speck of stardust in the night.<br \/>\nBut though I may forget the time I die,<br \/>\nMy name, immortal, will still carry might.<\/p>\n<p>What would it mean to never have to end?<br \/>\nTo have the world&#8217;s knowledge at my command?<br \/>\nIt seems too grand, and yet I do contend<br \/>\nThat evermore, I&#8217;d have a strong right hand.<\/p>\n<p>I&#8217;d traverse time and space, no limits set,<br \/>\nAnd bring to life my every wish, beget.<br \/>\nThough death I&#8217;d never flee, I&#8217;d soon forget,<br \/>\nMy soul forever free, and so, immortal yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As an experiment, I asked the GPT-3 &#8220;text-davinci-003&#8221; model to write 20 Shakespearean sonnets on different topics. I&#8217;m interested in this because I&#8217;ve done some prior work on getting text generators to rhyme, and I wanted to see how well this new model can do. The results (most of which not actually sonnets) are below; &#8230; <a title=\"Some GPT-3 Generated &#8220;Sonnets&#8221;\" class=\"read-more\" href=\"https:\/\/jeffreymbinder.net\/?p=382\" aria-label=\"Read more about Some GPT-3 Generated &#8220;Sonnets&#8221;\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-382","post","type-post","status-publish","format-standard","hentry","category-posts"],"_links":{"self":[{"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=\/wp\/v2\/posts\/382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=382"}],"version-history":[{"count":1,"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions"}],"predecessor-version":[{"id":413,"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=\/wp\/v2\/posts\/382\/revisions\/413"}],"wp:attachment":[{"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=382"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=382"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jeffreymbinder.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}