The co-op bookstore for avid readers
Book Cover for: Large Language Models for Developers: A Prompt-Based Exploration of Llms, Oswald Campesato

Large Language Models for Developers: A Prompt-Based Exploration of Llms

Oswald Campesato

This book offers a thorough exploration of Large Language Models (LLMs), guiding developers through the evolving landscape of generative AI and equipping them with the skills to utilize LLMs in practical applications. Designed for developers with a foundational understanding of machine learning, this book covers essential topics such as prompt engineering techniques, fine-tuning methods, attention mechanisms, and quantization strategies to optimize and deploy LLMs. Beginning with an introduction to generative AI, the book explains distinctions between conversational AI and generative models like GPT-4 and BERT, laying the groundwork for prompt engineering (Chapters 2 and 3). Some of the LLMs that are used for generating completions to prompts include Llama-3.1 405B, Llama 3, GPT-4o, Claude 3, Google Gemini, and Meta AI. Readers learn the art of creating effective prompts, covering advanced methods like Chain of Thought (CoT) and Tree of Thought prompts. As the book progresses, it details fine-tuning techniques (Chapters 5 and 6), demonstrating how to customize LLMs for specific tasks through methods like LoRA and QLoRA, and includes Python code samples for hands-on learning. Readers are also introduced to the transformer architecture's attention mechanism (Chapter 8), with step-by-step guidance on implementing self-attention layers. For developers aiming to optimize LLM performance, the book concludes with quantization techniques (Chapters 9 and 10), exploring strategies like dynamic quantization and probabilistic quantization, which help reduce model size without sacrificing performance.
FEATURES
- Covers the full lifecycle of working with LLMs, from model selection to deployment
- Includes code samples using practical Python code for implementing prompt engineering, fine-tuning, and quantization
- Teaches readers to enhance model efficiency with advanced optimization techniques
- Includes companion files with code and images -- available from the publisher

Book Details

  • Publisher: Mercury Learning and Information
  • Publish Date: Jan 1st, 2025
  • Pages: 1012
  • Language: English
  • Edition: undefined - undefined
  • Dimensions: 9.00in - 6.00in - 1.90in - 3.70lb
  • EAN: 9781501523564
  • Categories: Internet - Social MediaProgramming - GamesMechanical

More books to explore

Book Cover for: Press Reset: Ruin and Recovery in the Video Game Industry, Jason Schreier
Book Cover for: Coders: The Making of a New Tribe and the Remaking of the World, Clive Thompson
Book Cover for: Nine Algorithms That Changed the Future: The Ingenious Ideas That Drive Today's Computers, John Maccormick
Book Cover for: Doom Guy: Life in First Person, John Romero

About the Author

Campesato, Oswald: - Oswald Campesato specializes in Deep Learning, Python, Data Science, and generative AI. He is the author/co-author of over forty-five books including Google Gemini for Python, Large Language Models, and GPT-4 for Developers (all Mercury Learning).

More books by Oswald Campesato

Book Cover for: Large Language Models: An Introduction, Oswald Campesato
Book Cover for: Python for Absolute Beginners, Oswald Campesato
Book Cover for: Python 3 Using Chatgpt/GPT-4, Oswald Campesato
Book Cover for: GPT-4 for Developers, Oswald Campesato
Book Cover for: Transformer, Bert, and Gpt: Including ChatGPT and Prompt Engineering, Oswald Campesato
Book Cover for: Python 3 and Data Visualization Using ChatGPT /GPT-4, Oswald Campesato
Book Cover for: Artificial Intelligence, Machine Learning, and Deep Learning, Oswald Campesato
Book Cover for: Natural Language Processing Fundamentals for Developers, Oswald Campesato
Book Cover for: CSS3 and SVG with Gemini, Oswald Campesato
Book Cover for: Python 3 and Machine Learning Using Chatgpt/GPT-4, Oswald Campesato
Book Cover for: Beginning Python 3 with Grok 2, Oswald Campesato
Book Cover for: Python for Programmers, Oswald Campesato
Book Cover for: CSS3 and SVG with GPT-4, Oswald Campesato
Book Cover for: Bash Command Line and Shell Scripts Pocket Primer, Oswald Campesato