{"id":659928,"date":"2026-05-09T14:16:24","date_gmt":"2026-05-09T14:16:24","guid":{"rendered":"https:\/\/www.newsbeep.com\/au\/659928\/"},"modified":"2026-05-09T14:16:24","modified_gmt":"2026-05-09T14:16:24","slug":"llm-from-scratch-is-a-hands-on-workshop-where-you-write-every-piece-of-an-ai-from-nothing","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/au\/659928\/","title":{"rendered":"LLM From Scratch is a hands-on workshop where you write every piece of an AI from nothing"},"content":{"rendered":"\n<p>                    Summary<\/p>\n<p>                                        Free hands-on &#8220;LLM From Scratch&#8221; course that builds a tiny LLM from nothing to a working model.<\/p>\n<p>                                        It comes in six parts: tokenization, transformer, training loop, generation, scaling experiments, and a poetry competition.<\/p>\n<p>                                        Built for hobbyists &#8211; runs on a laptop; see the LLM From Scratch GitHub for details.<\/p>\n<p>Have you ever wondered how an LLM works? Perhaps you know some of the basics, such as how they use tokens to get the job done, and how their text generation is somewhat like the autocomplete feature on your phone; however, how would you go about making one from scratch? Where would you even start?<\/p>\n<p>If you want to learn how to make an LLM from scratch, then you&#8217;ll need to check out this DIY course, called, uh&#8230;&#8221;LLM From Scratch.&#8221; As one of the best examples of the phrase &#8220;does what it says on the tin,&#8221; LLM From Scratch starts you off with nothing and walks you through a miniature course to make your own AI.<\/p>\n<p>                                                                                                                            <a href=\"https:\/\/www.xda-developers.com\/ways-anyone-use-lm-studio-local-llm\/\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n                        <img width=\"440\" height=\"248\" loading=\"lazy\" decoding=\"async\" alt=\"A MacBook air connected to a monitor running DeepSeek-R1 locally\" data-img-url=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/05\/macbook-air-running-deepseekr1.jpg\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/05\/macbook-air-running-deepseekr1.jpg\"\/><\/p>\n<p>                    <\/a><\/p>\n<p>                    Related<\/p>\n<p>\t\t<a href=\"https:\/\/www.xda-developers.com\/ways-anyone-use-lm-studio-local-llm\/\" title=\"6 ways anyone can use LM Studio and a local LLM on their PC\" target=\"_blank\" rel=\"nofollow noopener\"><br \/>\n\t\t\t6 ways anyone can use LM Studio and a local LLM on their PC<br \/>\n\t\t<\/a><\/p>\n<p class=\"display-card-excerpt\">Most people can find a use for a local LLM on their PC, and here&#8217;s how I use mine.<\/p>\n<p>                        LLM From Scratch takes you from nothing to creating the ideal AI poet<\/p>\n<p>            It&#8217;s broken up into six parts<\/p>\n<p>        <img width=\"1650\" height=\"1126\" loading=\"lazy\" decoding=\"async\" alt=\"Kate tools for coding\" data-img-url=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/05\/kate-tools-for-coding.png\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/05\/kate-tools-for-coding.png\" class=\"img-brightness-opt-out\"\/><\/p>\n<p> As spotted by <a href=\"https:\/\/hackaday.com\/2026\/05\/07\/an-llm-from-scratch\/\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">Hackaday<\/a>, LLM From Scratch is a free course that takes you from absolutely nothing to creating your own AI. You&#8217;ll start off by learning about tokenization and how LLMs parse data, and then finish by training a model on poetry until you&#8217;re happy with it. You&#8217;re not going to be taking on ChatGPT or Gemini with it, but it will run on a laptop just fine, so it&#8217;s great for hobbyists.<\/p>\n<p>Here are all the courses you can take:<\/p>\n<p>Part<\/p>\n<p>What You&#8217;ll Write<\/p>\n<p>Concepts<\/p>\n<p><a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/blob\/main\/docs\/01-tokenization.md\" target=\"_blank\" rel=\"nofollow noopener\">Part 1: Tokenization<\/a><\/p>\n<p>Character-level tokenizer<\/p>\n<p>Character encoding, vocabulary size, why BPE fails on small data<\/p>\n<p><a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/blob\/main\/docs\/02-the-transformer.md\" target=\"_blank\" rel=\"nofollow noopener\">Part 2: The Transformer<\/a><\/p>\n<p>Full GPT model architecture<\/p>\n<p>Embeddings, self-attention, layer norm, MLP blocks<\/p>\n<p><a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/blob\/main\/docs\/03-training-loop.md\" target=\"_blank\" rel=\"nofollow noopener\">Part 3: The Training Loop<\/a><\/p>\n<p>Complete training pipeline<\/p>\n<p>Loss functions, AdamW, gradient clipping, LR scheduling<\/p>\n<p><a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/blob\/main\/docs\/04-text-generation.md\" target=\"_blank\" rel=\"nofollow noopener\">Part 4: Text Generation<\/a><\/p>\n<p>Inference and sampling<\/p>\n<p>Temperature, top-k, autoregressive decoding<\/p>\n<p><a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/blob\/main\/docs\/05-putting-it-together.md\" target=\"_blank\" rel=\"nofollow noopener\">Part 5: Putting It All Together<\/a><\/p>\n<p>Train on real data, experiment<\/p>\n<p>Loss curves, scaling experiments, next steps<\/p>\n<p><a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/blob\/main\/docs\/06-competition.md\" target=\"_blank\" rel=\"nofollow noopener\">Part 6: Competition<\/a><\/p>\n<p>Train the best AI poet<\/p>\n<p>Find datasets, scale up, submit your best poem<\/p>\n<p>If you&#8217;d like to learn more, be sure to head over to the <a href=\"https:\/\/github.com\/angelos-p\/llm-from-scratch\/tree\/main\" rel=\"noopener noreferrer nofollow\" target=\"_blank\">LLM From Scratch GitHub<\/a> page to read more about the inspiration and what to expect when undertaking this workshop.<\/p>\n<p>                                                                                                                            <a href=\"https:\/\/www.xda-developers.com\/real-bottleneck-of-self-hosted-llm-stack-is-not-gpu\/\" rel=\"nofollow noopener\" target=\"_blank\"><br \/>\n                        <img width=\"440\" height=\"248\" loading=\"lazy\" decoding=\"async\" alt=\"Close-up shot of a gaming PC with RTX 3080 FE\" data-img-url=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/05\/gaming-pc-rtx-3080-and-ryzen-7-5700x.jpg\" src=\"https:\/\/www.newsbeep.com\/au\/wp-content\/uploads\/2026\/05\/gaming-pc-rtx-3080-and-ryzen-7-5700x.jpg\"\/><\/p>\n<p>                    <\/a><\/p>\n<p>                    Related<\/p>\n<p>\t\t<a href=\"https:\/\/www.xda-developers.com\/real-bottleneck-of-self-hosted-llm-stack-is-not-gpu\/\" title=\"After a year of self-hosting LLMs, I realized the real bottleneck isn\u2019t the GPU\" target=\"_blank\" rel=\"nofollow noopener\"><br \/>\n\t\t\tAfter a year of self-hosting LLMs, I realized the real bottleneck isn\u2019t the GPU<br \/>\n\t\t<\/a><\/p>\n<p class=\"display-card-excerpt\">Hardware is just the entry fee for local intelligence.<\/p>\n","protected":false},"excerpt":{"rendered":"Summary Free hands-on &#8220;LLM From Scratch&#8221; course that builds a tiny LLM from nothing to a working model.&hellip;\n","protected":false},"author":2,"featured_media":659929,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[256,254,255,64,63,105],"class_list":["post-659928","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-artificial-intelligence","tag-artificialintelligence","tag-au","tag-australia","tag-technology"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/659928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/comments?post=659928"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/659928\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media\/659929"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media?parent=659928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/categories?post=659928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/tags?post=659928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}