{"product_id":"build-a-large-language-model-from-scratch-book-by-sebastian-raschka","title":"Build a Large Language Model (From Scratch)\nBook by Sebastian Raschka","description":"\u003cul data-action=\"a-tabs\" class=\"a-tabs a-declarative productInfoTabs\" data-a-tabs='{\"name\": \"product_info_tabs\"}' role=\"tablist\"\u003e\n\u003cli id=\"productInfoTabHeader_drengr_MobileTabbedDescriptionEditorialsHeader\" class=\"a-tab-heading productInfoTab productInfoTabCount-2 celwidget t-prnt t-full\" data-a-tab-name=\"tab1\" role=\"presentation\" data-csa-c-id=\"2nis8v-umr19f-ay7ose-gpu4lv\" data-cel-widget=\"productInfoTabHeader_drengr_MobileTabbedDescriptionEditorialsHeader\"\u003e\u003ca href=\"https:\/\/www.amazon.com\/Build-Large-Language-Model-Scratch\/dp\/1633437167#\" role=\"tab\" aria-selected=\"false\" tabindex=\"-1\"\u003e\n\u003cdiv id=\"drengr_MobileTabbedDescriptionEditorialsHeader_feature_div\" class=\"celwidget\" data-feature-name=\"drengr_MobileTabbedDescriptionEditorialsHeader\" data-csa-c-type=\"widget\" data-csa-c-content-id=\"drengr_MobileTabbedDescriptionEditorialsHeader\" data-csa-c-slot-id=\"drengr_MobileTabbedDescriptionEditorialsHeader_feature_div\" data-csa-c-asin=\"\" data-csa-c-is-in-initial-active-row=\"false\" data-csa-c-id=\"uuzx7t-re1rj8-m0qi9m-k6yrmi\" data-cel-widget=\"drengr_MobileTabbedDescriptionEditorialsHeader_feature_div\"\u003e\u003cspan class=\"a-size-base a-color-base productInfoTabHeaderText\"\u003eEditorial Reviews\u003c\/span\u003e\u003c\/div\u003e\n\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cdiv id=\"productDescription_feature_div\" data-feature-name=\"productDescription\" data-template-name=\"productDescription\" class=\"a-section feature\" data-cel-widget=\"productDescription_feature_div\"\u003e\n\u003cdiv data-a-name=\"tab0\" class=\"a-box a-box-tab a-tab-content productInfoTabContent t-prnt t-full\" role=\"tabpanel\" tabindex=\"-1\"\u003e\n\u003cdiv class=\"a-box-inner\"\u003e\n\u003cdiv id=\"productInfoTabExpander0\" data-a-expander-name=\"tabExpander0\" data-a-expander-collapsed-height=\"500\" class=\"a-expander-collapsed-height a-row a-expander-container a-spacing-base a-expander-partial-collapse-container productInfoTabExpander\"\u003e\n\u003cdiv data-expanded=\"true\" class=\"a-expander-content a-expander-partial-collapse-content a-expander-content-expanded\"\u003e\n\u003cdiv id=\"drengr_MobileTabbedDescriptionOverviewContent_feature_div\" class=\"celwidget\" data-feature-name=\"drengr_MobileTabbedDescriptionOverviewContent\" data-csa-c-type=\"widget\" data-csa-c-content-id=\"drengr_MobileTabbedDescriptionOverviewContent\" data-csa-c-slot-id=\"drengr_MobileTabbedDescriptionOverviewContent_feature_div\" data-csa-c-asin=\"\" data-csa-c-is-in-initial-active-row=\"false\" data-csa-c-id=\"d9t6lu-e9bwsr-s9f8y6-9zs2p2\" data-cel-widget=\"drengr_MobileTabbedDescriptionOverviewContent_feature_div\"\u003e\n\u003cspan class=\"a-text-bold\"\u003eHow to implement LLM attention mechanisms and GPT-style transformers.\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003eIn \u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003eBuild a Large Language Model (from Scratch)\u003c\/span\u003e\u003cspan\u003e bestselling author Sebastian Raschka guides you step by step through creating your own LLM. Each stage is explained with clear text, diagrams, and examples. You’ll go from the initial design and creation, to pretraining on a general corpus, and on to fine-tuning for specific tasks.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003eBuild a Large Language Model (from Scratch)\u003c\/span\u003e\u003cspan\u003e teaches you how to:\u003cbr\u003e\u003cbr\u003e• Plan and code all the parts of an LLM\u003cbr\u003e• Prepare a dataset suitable for LLM training\u003cbr\u003e• Fine-tune LLMs for text classification and with your own data\u003cbr\u003e• Use human feedback to ensure your LLM follows instructions\u003cbr\u003e• Load pretrained weights into an LLM\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003eBuild a Large Language Model (from Scratch)\u003c\/span\u003e\u003cspan\u003e takes you inside the AI black box to tinker with the internal systems that power generative AI. As you work through each key stage of LLM creation, you’ll develop an in-depth understanding of how LLMs work, their limitations, and their customization methods. Your LLM can be developed on an ordinary laptop, and used as your own personal assistant.\u003cbr\u003e\u003cbr\u003ePurchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eAbout the technology\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003ePhysicist Richard P. Feynman reportedly said, “I don’t understand anything I can’t build.” Based on this same powerful principle, bestselling author Sebastian Raschka guides you step by step as you build a GPT-style LLM that you can run on your laptop. This is an engaging book that covers each stage of the process, from planning and coding to training and fine-tuning.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eAbout the book\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003eBuild a Large Language Model (From Scratch)\u003c\/span\u003e\u003cspan\u003e is a practical and eminently-satisfying hands-on journey into the foundations of generative AI. Without relying on any existing LLM libraries, you’ll code a base model, evolve it into a text classifier, and ultimately create a chatbot that can follow your conversational instructions. And you’ll really understand it because you built it yourself!\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eWhat's inside\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e• Plan and code an LLM comparable to GPT-2\u003cbr\u003e• Load pretrained weights\u003cbr\u003e• Construct a complete training pipeline\u003cbr\u003e• Fine-tune your LLM for text classification\u003cbr\u003e• Develop LLMs that follow human instructions\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eAbout the reader\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003eReaders need intermediate Python skills and some knowledge of machine learning. The LLM you create will run on any modern laptop and can optionally utilize GPUs.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eAbout the author\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eSebastian Raschka\u003c\/span\u003e\u003cspan\u003e is a Staff Research Engineer at Lightning AI, where he works on LLM research and develops open-source software.\u003cbr\u003e\u003cbr\u003eThe technical editor on this book was \u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eDavid Caswell\u003c\/span\u003e\u003cspan\u003e.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eTable of Contents\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e1 Understanding large language models\u003cbr\u003e2 Working with text data\u003cbr\u003e3 Coding attention mechanisms\u003cbr\u003e4 Implementing a GPT model from scratch to generate text\u003cbr\u003e5 Pretraining on unlabeled data\u003cbr\u003e6 Fine-tuning for classification\u003cbr\u003e7 Fine-tuning to follow instructions\u003cbr\u003eA Introduction to PyTorch\u003cbr\u003eB References and further reading\u003cbr\u003eC Exercise solutions\u003cbr\u003eD Adding bells and whistles to the training loop\u003cbr\u003eE Parameter-efficient fine-tuning with LoRA\u003c\/span\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e","brand":"Book Lovers BD","offers":[{"title":"Paperback","offer_id":44577521696810,"sku":null,"price":540.0,"currency_code":"BDT","in_stock":true},{"title":"Hardcover","offer_id":44577521729578,"sku":null,"price":670.0,"currency_code":"BDT","in_stock":true},{"title":"Ebook","offer_id":44577521762346,"sku":null,"price":150.0,"currency_code":"BDT","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0725\/5126\/8394\/files\/rn-image_picker_lib_temp_d399c8ee-1683-44f7-bc6b-412e06669ecf.webp?v=1784055625","url":"https:\/\/bookycafebd.shop\/products\/build-a-large-language-model-from-scratch-book-by-sebastian-raschka","provider":"BookYcafe","version":"1.0","type":"link"}