{"id":230502,"date":"2023-12-06T17:50:56","date_gmt":"2023-12-06T09:50:56","guid":{"rendered":"https:\/\/magicalbits.net\/?p=230502"},"modified":"2023-12-06T17:50:56","modified_gmt":"2023-12-06T09:50:56","slug":"gpt-in-60-lines-of-numpy-jay-mody","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=230502","title":{"rendered":"GPT in 60 Lines of NumPy | Jay Mody"},"content":{"rendered":"<blockquote><p>In this post, we&#8217;ll implement a GPT from scratch in just 60 lines of numpy. We&#8217;ll then load the trained GPT-2 model weights released by OpenAI into our implementation and generate some text.<\/p><\/blockquote>\n<p>Source: <em><a href=\"https:\/\/jaykmody.com\/blog\/gpt-from-scratch\/\">GPT in 60 Lines of NumPy | Jay Mody<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we&#8217;ll implement a GPT from scratch in just 60 lines of numpy. We&#8217;ll then load the trained GPT-2 model weights released by OpenAI into our implementation and generate some text. Source: GPT in 60 Lines of NumPy | Jay Mody<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-230502","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/230502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230502"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/230502\/revisions"}],"predecessor-version":[{"id":230503,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/230502\/revisions\/230503"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}