Generative AI Foundations in Python: Discover key techniques and navigate modern challenges in LLMs

Generative AI Foundations in Python: Discover key techniques and navigate modern challenges in LLMs

Generative AI Foundations in Python: Discover key techniques and navigate modern challenges in LLMs

Author: Carlos Rodriguez (Author), Samira Shaikh (Foreword)

Publisher finelybook 出版社:‏ ‎ Packt Publishing

Edition 版本:‏ ‎ N/A

Publication Date 出版日期:‏ ‎ 2024-07-26

Language 语言: ‎ English

Print Length 页数: ‎ 190 pages

ISBN-10: ‎ 1835460828

ISBN-13: ‎ 9781835460825

Book Description

Begin your generative AI journey with Python as you explore large language models, understand responsible generative AI practices, and apply your knowledge to real-world applications through guided tutorials

Key Features

  • Gain expertise in prompt engineering, LLM fine-tuning, and domain adaptation
  • Use transformers-based LLMs and diffusion models to implement AI applications
  • Discover strategies to optimize model performance, address ethical considerations, and build trust in AI systems
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

The intricacies and breadth of generative AI (GenAI) and large language models can sometimes eclipse their practical application. It is pivotal to understand the foundational concepts needed to implement generative AI. This guide explains the core concepts behind -of-the-art generative models by combining theory and hands-on application.

Generative AI Foundations in Python begins by laying a foundational understanding, presenting the fundamentals of generative LLMs and their historical evolution, while also setting the stage for deeper exploration. You’ll also understand how to apply generative LLMs in real-world applications. The book cuts through the complexity and offers actionable guidance on deploying and fine-tuning pre-trained language models with Python. Later, you’ll delve into topics such as task-specific fine-tuning, domain adaptation, prompt engineering, quantitative evaluation, and responsible AI, focusing on how to effectively and responsibly use generative LLMs.

By the end of this book, you’ll be well-versed in applying generative AI capabilities to real-world problems, confidently navigating its enormous potential ethically and responsibly.

What you will learn

  • Discover the fundamentals of GenAI and its foundations in NLP
  • Dissect foundational generative architectures including GANs, transformers, and diffusion models
  • Find out how to fine-tune LLMs for specific NLP tasks
  • Understand transfer learning and fine-tuning to facilitate domain adaptation, including fields such as finance
  • Explore prompt engineering, including in-context learning, templatization, and rationalization through chain-of-thought and RAG
  • Implement responsible practices with generative LLMs to minimize bias, toxicity, and other harmful outputs

Who this book is for

This book is for developers, data scientists, and machine learning engineers embarking on projects driven by generative AI. A general understanding of machine learning and deep learning, as well as some proficiency with Python, is expected.

Table of Contents

  1. Understanding Generative AI: An Introduction
  2. Surveying GenAI Types and Modes: An Overview of GANs, Diffusers, and Transformers
  3. Tracing the Foundations of Natural Language Processing and the Impact of the Transformer
  4. Applying Pretrained Generative Models: From Prototype to Production
  5. Fine-Tuning Generative Models for Specific Tasks
  6. Understanding Domain Adaptation for Large Language Models
  7. Mastering the Fundamentals of Prompt Engineering
  8. Addressing Ethical Considerations and Charting a Path Toward Trustworthy Generative AI

Review

“For a subject that is extremely dynamic and complex, Carlos has managed to distill years of expertise into a work that is both accessible and comprehensive. This book not only demystifies the complexities of LLMs but also provides a comprehensive guide for practitioners and enthusiasts alike.

What sets Generative AI Foundations in Python apart is Carlos’ unique ability to blend technical depth with practical insights. Each chapter is a testament to his meticulous approach and his commitment to bridging the gap between theoretical concepts and real-world solutions. Interweaving real-world examples, code snippets, and practical considerations ensures that seasoned professionals or newcomers to the field will find this book to be an invaluable resource. In closing, I invite you to embark on this journey with an open mind and a passion for learning. The landscape of LLMs is vast; there is no better guide than the one you hold in your hands. May this book inspire, educate, and ignite a passion for learning and discovery in every reader. Enjoy the journey.”

Samira Shaikh, PhD, AI Executive at Ally and former Computer Science Professor at University of North Carolina

About the Author

Carlos Rodriguez is the Director of AI risk at a major financial institution, where he oversees the validation of cutting-edge AI and machine learning models, including generative AI, to ensure that they remain trustworthy, unbiased, and compliant with stringent regulatory standards. With a degree in data science, numerous professional certifications, and two decades of experience in emerging technology, Carlos is a recognized expert in natural language processing and machine learning. Throughout his career, he has fostered and led high-performing machine learning engineering and data science teams specializing in natural language processing and AI risk, respectively. Known for his human-centered approach to AI, Carlos is a passionate autodidact who continuously expands his knowledge as a data scientist, machine learning practitioner, and risk executive. His current focus lies in developing a comprehensive framework for evaluating generative AI models within a regulatory setting, aiming to set new industry standards for responsible AI adoption and deployment.

Amazon Page

下载地址

PDF, EPUB | 6 MB | 2025-01-05

打赏
未经允许不得转载:finelybook » Generative AI Foundations in Python: Discover key techniques and navigate modern challenges in LLMs

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫