Build a Large Language Model (From Scratch) - cover

Build a Large Language Model (From Scratch)

By Sebastian Raschka

Buy the book

AmazonGET

About the book

Sebastian Raschka shows how to code a large language model without existing LLM libraries: readers write a base model, turn it into a text classifier and then build a chatbot that follows conversational instructions. It assumes intermediate Python and some machine learning, and the finished model runs on a modern laptop. Published in 2024.

Lex Fridman said he highly recommends it, along with Raschka's Build a Reasoning Model, for beginners and experts alike.

We hope you love the books people recommend! Just so you know, The CEO Library may collect a share of sales or other compensation from the links on this page.

This book has 1 recommendation

Lex Fridman

Sebastian is the author of two books I highly recommend for beginners and experts alike. First is Build a Large Language Model from Scratch, and Build a Reasoning Model from Scratch.

Get this book on Amazon

See more books recommended by

Lex Fridman

See more books written by

Sebastian Raschka