Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Machine Learning and Generative AI for Solutions Architects

You're reading from   Google Machine Learning and Generative AI for Solutions Architects ​Build efficient and scalable AI/ML solutions on Google Cloud

Arrow left icon
Product type Paperback
Published in Jun 2024
Publisher Packt
ISBN-13 9781803245270
Length 552 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Kieran Kavanagh Kieran Kavanagh
Author Profile Icon Kieran Kavanagh
Kieran Kavanagh
Arrow right icon
View More author details
Toc

Table of Contents (24) Chapters Close

Preface 1. Part 1:The Basics
2. Chapter 1: AI/ML Concepts, Real-World Applications, and Challenges FREE CHAPTER 3. Chapter 2: Understanding the ML Model Development Life Cycle 4. Chapter 3: AI/ML Tooling and the Google Cloud AI/ML Landscape 5. Part 2:Diving in and building AI/ML solutions
6. Chapter 4: Utilizing Google Cloud’s High-Level AI Services 7. Chapter 5: Building Custom ML Models on Google Cloud 8. Chapter 6: Diving Deeper – Preparing and Processing Data for AI/ML Workloads on Google Cloud 9. Chapter 7: Feature Engineering and Dimensionality Reduction 10. Chapter 8: Hyperparameters and Optimization 11. Chapter 9: Neural Networks and Deep Learning 12. Chapter 10: Deploying, Monitoring, and Scaling in Production 13. Chapter 11: Machine Learning Engineering and MLOps with Google Cloud 14. Chapter 12: Bias, Explainability, Fairness, and Lineage 15. Chapter 13: ML Governance and the Google Cloud Architecture Framework 16. Chapter 14: Additional AI/ML Tools, Frameworks, and Considerations 17. Part 3:Generative AI
18. Chapter 15: Introduction to Generative AI 19. Chapter 16: Advanced Generative AI Concepts and Use Cases 20. Chapter 17: Generative AI on Google Cloud 21. Chapter 18: Bringing It All Together: Building ML Solutions with Google Cloud and Vertex AI 22. Index 23. Other Books You May Enjoy

Advanced tuning and optimization techniques

At the end of the previous chapter, we discussed LLMs and how they are trained and tuned. I mentioned some of the tuning approaches at a high level, and in this section, we will dive deeper into how we can tune LLMs to more adequately address our specific needs. Let’s set the stage by outlining how we interact with LLMs in the first place, which we generally do via prompts.

Definition

A prompt is a piece of text or instruction that we provide to an LLM to guide its response or output. It tells the LLM what to do and, in some cases, provides guidance on how to do it; for example, “summarize this financial document, specifically focusing on details relating to company performance in Q4, 2023.”

The first LLM tuning technique we’ll explore is prompt engineering.

Prompt engineering

Prompts are the most straightforward method we can use to tune an LLM’s outputs to our specific needs. In fact, during...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image