Quick Start Guide to Large Language Models

£39.99

Quick Start Guide to Large Language Models

Strategies and Best Practices for ChatGPT, Embeddings, Fine-Tuning, and Multimodal AI

Programming and scripting languages: general Artificial intelligence Expert systems / knowledge-based systems Natural language and machine translation Pattern recognition Computer vision

Author: Sinan Ozdemir

Dinosaur mascot

Collection: Addison-Wesley Data & Analytics Series

Language: English

Published by: Addison-Wesley Professional

Published on: 26th September 2024

Format: LCP-protected ePub

ISBN: 9780135346556


The Practical, Step-by-Step Guide to Using LLMs at Scale in Projects and Products

Large Language Models (LLMs) like Llama 3, Claude 3, and the GPT family are demonstrating breathtaking capabilities, but their size and complexity have deterred many practitioners from applying them. In Quick Start Guide to Large Language Models, Second Edition, pioneering data scientist and AI entrepreneur Sinan Ozdemir clears away those obstacles and provides a guide to working with, integrating, and deploying LLMs to solve practical problems.

Ozdemir brings together all you need to get started, even if you have no direct experience with LLMs: step-by-step instructions, best practices, real-world case studies, and hands-on exercises. Along the way, he shares insights into LLMs'' inner workings to help you optimize model choice, data formats, prompting, fine-tuning, performance, and much more. The resources on the companion website include sample datasets and up-to-date code for working with open- and closed-source LLMs such as those from OpenAI (GPT-4 and GPT-3.5), Google (BERT, T5, and Gemini), X (Grok), Anthropic (the Claude family), Cohere (the Command family), and Meta (BART and the LLaMA family).

Key Concepts and Techniques

  • Learn key concepts: pre-training, transfer learning, fine-tuning, attention, embeddings, tokenization, and more
  • Use APIs and Python to fine-tune and customize LLMs for your requirements
  • Build a complete neural/semantic information retrieval system and attach to conversational LLMs for building retrieval-augmented generation (RAG) chatbots and AI Agents
  • Master advanced prompt engineering techniques like output structuring, chain-of-thought prompting, and semantic few-shot prompting
  • Customize LLM embeddings to build a complete recommendation engine from scratch with user data that outperforms out-of-the-box embeddings from OpenAI
  • Construct and fine-tune multimodal Transformer architectures from scratch using open-source LLMs and large visual datasets
  • Align LLMs using Reinforcement Learning from Human and AI Feedback (RLHF/RLAIF) to build conversational agents from open models like Llama 3 and FLAN-T5
  • Deploy prompts and custom fine-tuned LLMs to the cloud with scalability and evaluation pipelines in mind
  • Diagnose and optimize LLMs for speed, memory, and performance with quantization, probing, benchmarking, and evaluation frameworks

"A refreshing and inspiring resource. Jam-packed with practical guidance and clear explanations that leave you smarter about this incredible new field."
--Pete Huang, author of The Neuron

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Show moreShow less