The Cranky Man's Guide to LoRA & QLoRA
內容簡介
This book is presented as a highly personal, opinionated, and practical guide to fine-tuning Large Language Models (LLMs), specifically using LoRA and QLoRA techniques. Written in a distinctly cranky, humorous, and often cynical voice by an experienced programmer and LLM tool builder ("Cranky Man"), it aims to cut through AI hype and technical jargon to provide hard-won lessons learned from extensive experimentation and failure.
The author will guide you through the minefield of AI terms and concepts and you will emerge at the other side, preferably still with your sanity intact.So, what can you expect from this book?A solid grounding in the theory of Large Language Models, without getting bogged down in the details and math. You'll learn about the different types of models, quantization, how to choose the right one for the job, and how to train it.What all of the rank, alpha, batch_size or gradient accumulation actually do. In a plain language.You'll discover the tricks of the trade, the secrets of data collection, preparation and augmentation.You'll learn how to set up and use the hardware and software; even how to build your own multi-GPU AI supercomputer.How to read the tea leaves: Demystify the training process by learning to interpret those inscrutable loss graphs, and tell when your model is actually learning, when it's just memorizing the training data, and when it's blissfully and expensively dead.How to sidestep the pitfalls: Benefit from Cranky Man's hard-won experience and avoid the most common CUDA errors, Python tantrums and soul-crushing weight of unmet expectations.
The author, F.P. HAM aka Cranky Man, is a real-world senior programmer. He didn't just use the training tools, he contributed and built many of them! From the rage-coded Training PRO, to the VirtualLora, Twinbook, Playground or Storycrafter.
Cranky Man has been there, done that, got the T-shirt, the GPU burn marks and the electricity bills to prove it!
This book is the result of thousands of experiments, the successes, the near misses, the total disasters. It is the story of one man's obsessive quest to create the ultimate AI model.
So, there you have it. The definitive guide to training your own Large Language Model. If you're serious about getting into AI, this is the book for you. It's the one book that Cranky Man wished he'd had when he started out. He says it would have saved him a small country GDP-worth in electricity.
配送方式
-
台灣
- 國內宅配:本島、離島
-
到店取貨:
不限金額免運費
-
海外
- 國際快遞:全球
-
港澳店取:
訂購/退換貨須知
加入金石堂 LINE 官方帳號『完成綁定』,隨時掌握出貨動態:
商品運送說明:
- 本公司所提供的產品配送區域範圍目前僅限台灣本島。注意!收件地址請勿為郵政信箱。
- 商品將由廠商透過貨運或是郵局寄送。消費者訂購之商品若無法送達,經電話或 E-mail無法聯繫逾三天者,本公司將取消該筆訂單,並且全額退款。
- 當廠商出貨後,您會收到E-mail出貨通知,您也可透過【訂單查詢】確認出貨情況。
- 產品顏色可能會因網頁呈現與拍攝關係產生色差,圖片僅供參考,商品依實際供貨樣式為準。
- 如果是大型商品(如:傢俱、床墊、家電、運動器材等)及需安裝商品,請依商品頁面說明為主。訂單完成收款確認後,出貨廠商將會和您聯繫確認相關配送等細節。
- 偏遠地區、樓層費及其它加價費用,皆由廠商於約定配送時一併告知,廠商將保留出貨與否的權利。
提醒您!!
金石堂及銀行均不會請您操作ATM! 如接獲電話要求您前往ATM提款機,請不要聽從指示,以免受騙上當!
退換貨須知:
**提醒您,鑑賞期不等於試用期,退回商品須為全新狀態**
-
依據「消費者保護法」第19條及行政院消費者保護處公告之「通訊交易解除權合理例外情事適用準則」,以下商品購買後,除商品本身有瑕疵外,將不提供7天的猶豫期:
- 易於腐敗、保存期限較短或解約時即將逾期。(如:生鮮食品)
- 依消費者要求所為之客製化給付。(客製化商品)
- 報紙、期刊或雜誌。(含MOOK、外文雜誌)
- 經消費者拆封之影音商品或電腦軟體。
- 非以有形媒介提供之數位內容或一經提供即為完成之線上服務,經消費者事先同意始提供。(如:電子書、電子雜誌、下載版軟體、虛擬商品…等)
- 已拆封之個人衛生用品。(如:內衣褲、刮鬍刀、除毛刀…等)
- 若非上列種類商品,均享有到貨7天的猶豫期(含例假日)。
- 辦理退換貨時,商品(組合商品恕無法接受單獨退貨)必須是您收到商品時的原始狀態(包含商品本體、配件、贈品、保證書、所有附隨資料文件及原廠內外包裝…等),請勿直接使用原廠包裝寄送,或於原廠包裝上黏貼紙張或書寫文字。
- 退回商品若無法回復原狀,將請您負擔回復原狀所需費用,嚴重時將影響您的退貨權益。



商品評價