🌐 فراتر از مرزها؛ مسیر بین‌المللی CardDev

Book Hands-On Large Language Models

0 Flashcards
0 Gallery cards
0 Audio
0 Prompts
0 Glossary

AI has acquired startling new language capabilities in just the past few years. Driven by rapid advances in deep learning, language AI systems are able to write and understand text better than ever before. This trend is enabling new features, products, and entire industries. Through this book's visually educational nature, readers will learn practical tools and concepts they need to use these capabilities today. You'll understand how to use pretrained large language models for use cases like copywriting and summarization; create semantic search systems that go beyond keyword matching; and use existing libraries and pretrained models for text classification, search, and clusterings. This book also helps you: Understand the architecture of Transformer language models that excel at text generation and representation; Build advanced LLM pipelines to cluster text documents and explore the topics they cover; Build semantic search engines that go beyond keyword search, using methods like dense retrieval and rerankers; Explore how generative models can be used, from prompt engineering all the way to retrieval-augmented generation; Gain a deeper understanding of how to train LLMs and optimize them for specific applications using generative model fine-tuning, contrastive fine-tuning, and in-context learning.

Cover of Hands-On Large Language Models
O’Reilly

Book overview

A look at the structure and key facts of the book

Publication date

Publication date

September 11, 2024

Edition

Edition

1 edition

Total chapters

Total chapters

12 chapters

Total pages

Total pages

428 pages

Level

Level

Beginner to intermediate

Hands-On Large Language Models

AI has acquired startling new language capabilities in just the past few years. Driven by rapid advances in deep learning, language AI systems are able to write and understand text better than ever before. This trend is enabling new features, products, and entire industries. Through this book's visually educational nature, readers will learn practical tools and concepts they need to use these capabilities today. You'll understand how to use pretrained large language models for use cases like copywriting and summarization; create semantic search systems that go beyond keyword matching; and use existing libraries and pretrained models for text classification, search, and clusterings. This book also helps you: Understand the architecture of Transformer language models that excel at text generation and representation; Build advanced LLM pipelines to cluster text documents and explore the topics they cover; Build semantic search engines that go beyond keyword search, using methods like dense retrieval and rerankers; Explore how generative models can be used, from prompt engineering all the way to retrieval-augmented generation; Gain a deeper understanding of how to train LLMs and optimize them for specific applications using generative model fine-tuning, contrastive fine-tuning, and in-context learning.

Browse this section to get a quick overall picture of the book's content.

Transformer Architecture

This book provides a deep dive into the Transformer architecture, which serves as the backbone for modern language models. It explains how these models process information through attention mechanisms to represent and generate human-like text. Readers will explore the internal components of the Transformer block, the differences between encoder and decoder models, and recent architectural improvements like RoPE.

Practical LLM Applications

Beyond theory, the text focuses on building real-world applications using Large Language Models and industry-standard tools. It covers essential tasks such as text classification, semantic search, and topic modeling through hands-on examples. Key practical skills include implementing Retrieval-Augmented Generation (RAG) pipelines, mastering prompt engineering, and utilizing multimodal models like CLIP.

The authors behind this book are among the most prominent experts and pioneers of their field. Their work is the result of years of hands-on experience, deep research and collaboration with the world's largest technology organizations and companies.Each of these authors, through specialist books and articles, has played an important role in shaping and advancing technical knowledge worldwide.

Comments

Readers' experience with this book - comments from buyers and other users

Book release

12 chapters in production

Produced on
September 22, 2026
Rating
5.0
Prerequisites
None

Reading time

10:29

Book type

Subscription

Participants

Be the first

Last updated

Sep 30, 2026