Deep Learning in Generative AI: From Fundamentals to Cutting-Edge Applications


Book Description

This book provides an in-depth exploration of the foundational concepts, advanced techniques, and practical applications of generative AI, all powered by deep learning. The journey begins with a solid introduction to generative models, explaining their significance in AI and how they differ from discriminative models. It then covers the foundational elements of deep learning, including neural networks, backpropagation, activation functions, and optimization methods, laying the groundwork for understanding complex generative architectures. The book progresses to detailed discussions on various generative models such as Variational Autoencoders (VAEs), Generative Adversarial Networks (GANs), and Diffusion Models. Each model is presented with its mathematical foundations, architecture, and step-by-step coding tutorials, making it accessible to both beginners and advanced practitioners. Real-world applications of these models are explored in depth, showcasing how generative AI is transforming industries like healthcare, finance, and creative arts. The book also addresses the challenges associated with training generative models, offering practical solutions and optimization techniques. Ethical considerations are a critical component, with dedicated sections on bias in generative models, deepfakes, and the implications of AI-generated content on intellectual property. The book concludes with a forward-looking discussion on future trends in generative AI, including the integration of AI with quantum computing and its role in promoting sustainability. With a balanced mix of theory, hands-on exercises, case studies, and practical examples, this book equips readers with the knowledge and tools to implement generative AI models in real-world scenarios, making it an essential resource for AI enthusiasts, researchers, and professionals.




Generative Deep Learning


Book Description

Generative modeling is one of the hottest topics in AI. It’s now possible to teach a machine to excel at human endeavors such as painting, writing, and composing music. With this practical book, machine-learning engineers and data scientists will discover how to re-create some of the most impressive examples of generative deep learning models, such as variational autoencoders,generative adversarial networks (GANs), encoder-decoder models and world models. Author David Foster demonstrates the inner workings of each technique, starting with the basics of deep learning before advancing to some of the most cutting-edge algorithms in the field. Through tips and tricks, you’ll understand how to make your models learn more efficiently and become more creative. Discover how variational autoencoders can change facial expressions in photos Build practical GAN examples from scratch, including CycleGAN for style transfer and MuseGAN for music generation Create recurrent generative models for text generation and learn how to improve the models using attention Understand how generative models can help agents to accomplish tasks within a reinforcement learning setting Explore the architecture of the Transformer (BERT, GPT-2) and image generation models such as ProGAN and StyleGAN




Deep Learning for Coders with fastai and PyTorch


Book Description

Deep learning is often viewed as the exclusive domain of math PhDs and big tech companies. But as this hands-on guide demonstrates, programmers comfortable with Python can achieve impressive results in deep learning with little math background, small amounts of data, and minimal code. How? With fastai, the first library to provide a consistent interface to the most frequently used deep learning applications. Authors Jeremy Howard and Sylvain Gugger, the creators of fastai, show you how to train a model on a wide range of tasks using fastai and PyTorch. You’ll also dive progressively further into deep learning theory to gain a complete understanding of the algorithms behind the scenes. Train models in computer vision, natural language processing, tabular data, and collaborative filtering Learn the latest deep learning techniques that matter most in practice Improve accuracy, speed, and reliability by understanding how deep learning models work Discover how to turn your models into web applications Implement deep learning algorithms from scratch Consider the ethical implications of your work Gain insight from the foreword by PyTorch cofounder, Soumith Chintala




Azure OpenAI Service for Cloud Native Applications


Book Description

Get the details, examples, and best practices you need to build generative AI applications, services, and solutions using the power of Azure OpenAI Service. With this comprehensive guide, Microsoft AI specialist Adrián González Sánchez examines the integration and utilization of Azure OpenAI Service—using powerful generative AI models such as GPT-4 and GPT-4o—within the Microsoft Azure cloud computing platform. To guide you through the technical details of using Azure OpenAI Service, this book shows you how to set up the necessary Azure resources, prepare end-to-end architectures, work with APIs, manage costs and usage, handle data privacy and security, and optimize performance. You'll learn various use cases where Azure OpenAI Service models can be applied, and get valuable insights from some of the most relevant AI and cloud experts. Ideal for software and cloud developers, product managers, architects, and engineers, as well as cloud-enabled data scientists, this book will help you: Learn how to implement cloud native applications with Azure OpenAI Service Deploy, customize, and integrate Azure OpenAI Service with your applications Customize large language models and orchestrate knowledge with company-owned data Use advanced roadmaps to plan your generative AI project Estimate cost and plan generative AI implementations for adopter companies




Mastering AI and Generative AI: From Learning Fundamentals to Advanced Applications


Book Description

This comprehensive guide dives into the fascinating world of Artificial Intelligence (AI) and its cutting-edge subfield, Generative AI. Designed for beginners and enthusiasts alike, it equips you with the knowledge and skills to navigate the complexities of machine learning and unlock the power of AI for advanced applications. Building a Strong Foundation The journey begins with mastering the fundamentals. You'll explore the different approaches to AI, delve into the history of this revolutionary field, and gain a solid understanding of various subfields like Machine Learning, Deep Learning, Natural Language Processing, and Computer Vision. Delving into Machine Learning Machine learning, the core of AI's learning ability, takes center stage. You'll grasp the difference between supervised and unsupervised learning paradigms, discover popular algorithms like decision trees and neural networks, and learn the importance of data preparation for optimal model performance. Evaluation metrics become your tools to measure how effectively your models are learning. Unveiling the Power of Deep Learning Get ready to explore the intricate world of Deep Learning, a powerful subset of machine learning inspired by the human brain. Demystify neural networks, the building blocks of deep learning, and dive into specialized architectures like Convolutional Neural Networks (CNNs) for image recognition and Recurrent Neural Networks (RNNs) for handling sequential data. Deep learning frameworks become your allies, simplifying the process of building and deploying complex deep learning models. The Art of Machine Creation: Generative AI The book then shifts its focus to the transformative realm of Generative AI. Here, machines not only learn but create entirely new data. Explore different types of generative models, from autoregressive models to variational autoencoders, and witness their applications in text generation, image synthesis, and even music creation. A Deep Dive into Generative Adversarial Networks (GANs) Among generative models, Generative Adversarial Networks (GANs) have captured the imagination of researchers and the public alike. This chapter delves into the intriguing concept of GANs, where a generator model continuously strives to create realistic data while a discriminator model acts as a critic, ensuring the generated data is indistinguishable from real data. You'll explore the training process, the challenges of taming GANs, and best practices for achieving optimal results. Advanced Applications Across Domains The book then showcases the transformative potential of Generative AI across various domains. Witness the power of text generation with RNNs, explore the ethical considerations surrounding deepfakes, and discover how chatbots are revolutionizing communication. In the visual realm, delve into Deep Dream and Neural Style Transfer algorithms, and witness the creation of realistic images and videos with cutting-edge generative models. Mastering AI and Generative AI empowers you to not only understand these revolutionary technologies but also leverage them for advanced applications. As you embark on this journey, be prepared to unlock the boundless potential of machine creation and shape the future of AI.




Google Machine Learning and Generative AI for Solutions Architects


Book Description

Architect and run real-world AI/ML solutions at scale on Google Cloud, and discover best practices to address common industry challenges effectively Key Features Understand key concepts, from fundamentals through to complex topics, via a methodical approach Build real-world end-to-end MLOps solutions and generative AI applications on Google Cloud Get your hands on a code repository with over 20 hands-on projects for all stages of the ML model development lifecycle Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionMost companies today are incorporating AI/ML into their businesses. Building and running apps utilizing AI/ML effectively is tough. This book, authored by a principal architect with about two decades of industry experience, who has led cross-functional teams to design, plan, implement, and govern enterprise cloud strategies, shows you exactly how to design and run AI/ML workloads successfully using years of experience from some of the world’s leading tech companies. You’ll get a clear understanding of essential fundamental AI/ML concepts, before moving on to complex topics with the help of examples and hands-on activities. This will help you explore advanced, cutting-edge AI/ML applications that address real-world use cases in today’s market. You’ll recognize the common challenges that companies face when implementing AI/ML workloads, and discover industry-proven best practices to overcome these. The chapters also teach you about the vast AI/ML landscape on Google Cloud and how to implement all the steps needed in a typical AI/ML project. You’ll use services such as BigQuery to prepare data; Vertex AI to train, deploy, monitor, and scale models in production; as well as MLOps to automate the entire process. By the end of this book, you will be able to unlock the full potential of Google Cloud's AI/ML offerings.What you will learn Build solutions with open-source offerings on Google Cloud, such as TensorFlow, PyTorch, and Spark Source, understand, and prepare data for ML workloads Build, train, and deploy ML models on Google Cloud Create an effective MLOps strategy and implement MLOps workloads on Google Cloud Discover common challenges in typical AI/ML projects and get solutions from experts Explore vector databases and their importance in Generative AI applications Uncover new Gen AI patterns such as Retrieval Augmented Generation (RAG), agents, and agentic workflows Who this book is for This book is for aspiring solutions architects looking to design and implement AI/ML solutions on Google Cloud. Although this book is suitable for both beginners and experienced practitioners, basic knowledge of Python and ML concepts is required. The book focuses on how AI/ML is used in the real world on Google Cloud. It briefly covers the basics at the beginning to establish a baseline for you, but it does not go into depth on the underlying mathematical concepts that are readily available in academic material.




Learning Deep Learning


Book Description

NVIDIA's Full-Color Guide to Deep Learning: All You Need to Get Started and Get Results "To enable everyone to be part of this historic revolution requires the democratization of AI knowledge and resources. This book is timely and relevant towards accomplishing these lofty goals." -- From the foreword by Dr. Anima Anandkumar, Bren Professor, Caltech, and Director of ML Research, NVIDIA "Ekman uses a learning technique that in our experience has proven pivotal to success—asking the reader to think about using DL techniques in practice. His straightforward approach is refreshing, and he permits the reader to dream, just a bit, about where DL may yet take us." -- From the foreword by Dr. Craig Clawson, Director, NVIDIA Deep Learning Institute Deep learning (DL) is a key component of today's exciting advances in machine learning and artificial intelligence. Learning Deep Learning is a complete guide to DL. Illuminating both the core concepts and the hands-on programming techniques needed to succeed, this book is ideal for developers, data scientists, analysts, and others--including those with no prior machine learning or statistics experience. After introducing the essential building blocks of deep neural networks, such as artificial neurons and fully connected, convolutional, and recurrent layers, Magnus Ekman shows how to use them to build advanced architectures, including the Transformer. He describes how these concepts are used to build modern networks for computer vision and natural language processing (NLP), including Mask R-CNN, GPT, and BERT. And he explains how a natural language translator and a system generating natural language descriptions of images. Throughout, Ekman provides concise, well-annotated code examples using TensorFlow with Keras. Corresponding PyTorch examples are provided online, and the book thereby covers the two dominating Python libraries for DL used in industry and academia. He concludes with an introduction to neural architecture search (NAS), exploring important ethical issues and providing resources for further learning. Explore and master core concepts: perceptrons, gradient-based learning, sigmoid neurons, and back propagation See how DL frameworks make it easier to develop more complicated and useful neural networks Discover how convolutional neural networks (CNNs) revolutionize image classification and analysis Apply recurrent neural networks (RNNs) and long short-term memory (LSTM) to text and other variable-length sequences Master NLP with sequence-to-sequence networks and the Transformer architecture Build applications for natural language translation and image captioning NVIDIA's invention of the GPU sparked the PC gaming market. The company's pioneering work in accelerated computing--a supercharged form of computing at the intersection of computer graphics, high-performance computing, and AI--is reshaping trillion-dollar industries, such as transportation, healthcare, and manufacturing, and fueling the growth of many others. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.




Machine Learning for High-Risk Applications


Book Description

The past decade has witnessed the broad adoption of artificial intelligence and machine learning (AI/ML) technologies. However, a lack of oversight in their widespread implementation has resulted in some incidents and harmful outcomes that could have been avoided with proper risk management. Before we can realize AI/ML's true benefit, practitioners must understand how to mitigate its risks. This book describes approaches to responsible AI—a holistic framework for improving AI/ML technology, business processes, and cultural competencies that builds on best practices in risk management, cybersecurity, data privacy, and applied social science. Authors Patrick Hall, James Curtis, and Parul Pandey created this guide for data scientists who want to improve real-world AI/ML system outcomes for organizations, consumers, and the public. Learn technical approaches for responsible AI across explainability, model validation and debugging, bias management, data privacy, and ML security Learn how to create a successful and impactful AI risk management practice Get a basic guide to existing standards, laws, and assessments for adopting AI technologies, including the new NIST AI Risk Management Framework Engage with interactive resources on GitHub and Colab




The Pioneering Applications of Generative AI


Book Description

Integrating generative artificial intelligence (AI) into art, design, and media presents a double-edged sword. While it offers unprecedented creative possibilities, it raises ethical concerns, challenges traditional workflows, and requires careful regulation. As AI becomes more prevalent in these fields, there is a pressing need for a comprehensive resource that explores the technology's potential and navigates the complex landscape of its implications. The Pioneering Applications of Generative AI is a pioneering book that addresses these challenges head-on. It provides a deep dive into the evolution, ethical considerations, core technologies, and creative applications of generative AI, offering readers a thorough understanding of this transformative technology. Researchers, academicians, scientists, and research scholars will find this book invaluable in navigating the complexities of generative AI in art, design, and media. With its focus on ethical and responsible AI and discussions on regulatory frameworks, the book equips readers with the knowledge and tools needed to harness the full potential of generative AI while ensuring its responsible and ethical use.




Generative AI on AWS


Book Description

Companies today are moving rapidly to integrate generative AI into their products and services. But there's a great deal of hype (and misunderstanding) about the impact and promise of this technology. With this book, Chris Fregly, Antje Barth, and Shelbee Eigenbrode from AWS help CTOs, ML practitioners, application developers, business analysts, data engineers, and data scientists find practical ways to use this exciting new technology. You'll learn the generative AI project life cycle including use case definition, model selection, model fine-tuning, retrieval-augmented generation, reinforcement learning from human feedback, and model quantization, optimization, and deployment. And you'll explore different types of models including large language models (LLMs) and multimodal models such as Stable Diffusion for generating images and Flamingo/IDEFICS for answering questions about images. Apply generative AI to your business use cases Determine which generative AI models are best suited to your task Perform prompt engineering and in-context learning Fine-tune generative AI models on your datasets with low-rank adaptation (LoRA) Align generative AI models to human values with reinforcement learning from human feedback (RLHF) Augment your model with retrieval-augmented generation (RAG) Explore libraries such as LangChain and ReAct to develop agents and actions Build generative AI applications with Amazon Bedrock