Back

LLM and Agentic AI Career Accelerator Bundle by Packt

Books
23
Days Left
5
Get Bundle on Humble Bundle
Packt
World Central Kitchen, Inc
Cover of Machine Learning with PyTorch and Scikit-Learn

Machine Learning with PyTorch and Scikit-Learn

Sebastian Raschka , Yuxi (Hayden) Liu , et al.

This book of the bestselling and widely acclaimed Python Machine Learning series is a comprehensive guide to machine and deep learning using PyTorch s simple to code framework. Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Learn applied machine learning with a solid foundation in theory Clear, intuitive explanations take you deep into the theory and practice of Python machine learning Fully updated and expanded to cover PyTorch, transformers, XGBoost, graph neural networks, and best practices Book DescriptionMachine Learning with PyTorch and Scikit-Learn is a comprehensive guide to machine learning and deep learning with PyTorch. It acts as both a step-by-step tutorial and a reference you'll keep coming back to as you build your machine learning systems. Packed with clear explanations, visualizations, and examples, the book covers all the essential machine learning techniques in depth. While some books teach you only to follow instructions, with this machine learning book, we teach the principles allowing you to build models and applications for yourself. Why PyTorch? PyTorch is the Pythonic way to learn machine learning, making it easier to learn and simpler to code with. This book explains the essential parts of PyTorch and how to create models using popular libraries, such as PyTorch Lightning and PyTorch Geometric. You will also learn about generative adversarial networks (GANs) for generating new data and training intelligent agents with reinforcement learning. Finally, this new edition is expanded to cover the latest trends in deep learning, including graph neural networks and large-scale transformers used for natural language processing (NLP). This PyTorch book is your companion to machine learning with Python, whether you're a Python developer new to machine learning or want to deepen your knowledge of the latest developments.What you will learn Explore frameworks, models, and techniques for machines to learn from data Use scikit-learn for machine learning and PyTorch for deep learning Train machine learning classifiers on images, text, and more Build and train neural networks, transformers, and boosting algorithms Discover best practices for evaluating and tuning models Predict continuous target outcomes using regression analysis Dig deeper into textual and social media data using sentiment analysis Who this book is for If you have a good grasp of Python basics and want to start learning about machine learning and deep learning, then this is the book for you. This is an essential resource written for developers and data scientists who want to create practical machine learning and deep learning applications using scikit-learn and PyTorch. Before you get started with this book, you’ll need a good understanding of calculus, as well as linear algebra.

show more
Packt
Cover of Azure OpenAI Essentials

Azure OpenAI Essentials

Amit Mukherjee and Adithya Saladi

Build innovative, scalable, and ethical AI solutions by harnessing the full potential of generative AI with this exhaustive guide Key Features Explore the capabilities of Azure OpenAI’s LLMs Craft end-to-end applications by utilizing the synergy of Azure OpenAI and Cognitive Services Design enterprise-grade GenAI solutions with effective prompt engineering, fine-tuning, and AI safety measures Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionFind out what makes Azure OpenAI a robust platform for building AI-driven solutions that can transform how businesses operate. Written by seasoned experts from Microsoft, this book will guide you in understanding Azure OpenAI from fundamentals through to advanced concepts and best practices. The book begins with an introduction to large language models (LLMs) and the Azure OpenAI Service, detailing how to access, use, and optimize its models. You'll learn how to design and implement AI-driven solutions, such as question-answering systems, contact center analytics, and GPT-powered search applications. Additionally, the chapters walk you through advanced concepts, including embeddings, fine-tuning models, prompt engineering, and building custom AI applications using LangChain and Semantic Kernel. You'll explore real-world use cases such as QnA systems, document summarizers, and SQLGPT for database querying, as well as gain insights into securing and operationalizing these solutions in enterprises. By the end of this book, you'll be ready to design, develop, and deploy scalable AI solutions, ensuring business success through intelligent automation and data-driven insights.What you will learn Understand the concept of large language models and their capabilities Interact with different models in Azure OpenAI using APIs or web interfaces Use content filters and mitigations to prevent harmful content generation Develop solutions with Azure OpenAI for content generation, summarization, semantic search, NLU, code and image generation and analysis Integrate Azure OpenAI with other Azure Cognitive services for enhanced functionality Apply best practices for data privacy, security, and prompt engineering with Azure OpenAI Who this book is for This book is for software developers, data scientists, AI engineers, ML engineers, system architects, LLM engineers, IT professionals, product managers, and business professionals who want to learn how to use Azure OpenAI to create innovative solutions with generative AI. To fully benefit from this book, you must have both an Azure subscription and Azure OpenAI access, along with knowledge of Python.

show more
Packt
Cover of Building Agentic AI Systems

Building Agentic AI Systems

Anjanava Biswas and Wrick Talukdar

Master the art of building AI agents with large language models using the coordinator, worker, and delegator approach for orchestrating complex AI systems Free with your book: PDF Copy, AI Assistant, and Next-Gen Reader Key Features Understand the foundations and advanced techniques of building intelligent, autonomous AI agents Learn advanced techniques for reflection, introspection, tool use, planning, and collaboration in agentic systems Explore crucial aspects of trust, safety, and ethics in AI agent development and applications Book DescriptionGain unparalleled insights into the future of AI autonomy with this comprehensive guide to designing and deploying autonomous AI agents that leverage generative AI (GenAI) to plan, reason, and act. Written by industry-leading AI architects and recognized experts shaping global AI standards and building real-world enterprise AI solutions, it explores the fundamentals of agentic systems, detailing how AI agents operate independently, make decisions, and leverage tools to accomplish complex tasks. Starting with the foundations of GenAI and agentic architectures, you’ll explore decision-making frameworks, self-improvement mechanisms, and adaptability. The book covers advanced design techniques, such as multi-step planning, tool integration, and the coordinator, worker, and delegator approach for scalable AI agents. Beyond design, it addresses critical aspects of trust, safety, and ethics, ensuring AI systems align with human values and operate transparently. Real-world applications illustrate how agentic AI transforms industries such as automation, finance, and healthcare. With deep insights into AI frameworks, prompt engineering, and multi-agent collaboration, this book equips you to build next-generation adaptive, scalable AI agents that go beyond simple task execution and act with minimal human intervention.What you will learn Master the core principles of GenAI and agentic systems Understand how AI agents operate, reason, and adapt in dynamic environments Enable AI agents to analyze their own actions and improvise Implement systems where AI agents can leverage external tools and plan complex tasks Apply methods to enhance transparency, accountability, and reliability in AI Explore real-world implementations of AI agents across industries Who this book is for This book is ideal for AI developers, machine learning engineers, and software architects who want to advance their skills in building intelligent, autonomous agents. It's perfect for professionals with a strong foundation in machine learning and programming, particularly those familiar with Python and large language models. While prior experience with generative AI is beneficial, the book covers foundational concepts for those new to agentic systems.

show more
Packt
Cover of Building AI Applications with OpenAI APIs

Building AI Applications with OpenAI APIs

Martin Yanev

Improve your app development skills by building a ChatGPT clone, code bug fixer, quiz generator, translation app, email auto-reply, PowerPoint generator, and more Key Features Transition into an expert AI developer by mastering ChatGPT concepts, including fine-tuning and integrations Gain hands-on experience through real-world projects covering a wide range of AI applications Implement payment systems in your applications by integrating the ChatGPT API with Stripe Purchase of the print or Kindle book includes a free PDF eBook Book Description Unlock the power of AI in your applications with ChatGPT with this practical guide that shows you how to seamlessly integrate OpenAI APIs into your projects, enabling you to navigate complex APIs and ensure seamless functionality with ease. This new edition is updated with key topics such as OpenAI Embeddings, which’ll help you understand the semantic relationships between words and phrases. You’ll find out how to use ChatGPT, Whisper, and DALL-E APIs through 10 AI projects using the latest OpenAI models, GPT-3.5, and GPT-4, with Visual Studio Code as the IDE. Within these projects, you’ll integrate ChatGPT with frameworks and tools such as Flask, Django, Microsoft Office APIs, and PyQt. You’ll get to grips with NLP tasks, build a ChatGPT clone, and create an AI code bug-fixing SaaS app. The chapters will also take you through speech recognition, text-to-speech capabilities, language translation, generating email replies, creating PowerPoint presentations, and fine-tuning ChatGPT, along with adding payment methods by integrating the ChatGPT API with Stripe. By the end of this book, you’ll be able to develop, deploy, and monetize your own groundbreaking applications by harnessing the full potential of ChatGPT APIs. What you will learn Develop a solid foundation in using the OpenAI API for NLP tasks Build, deploy, and integrate payments into various desktop and SaaS AI applications Integrate ChatGPT with frameworks such as Flask, Django, and Microsoft Office APIs Unleash your creativity by integrating DALL-E APIs to generate stunning AI art within your desktop apps Experience the power of Whisper API's speech recognition and text-to-speech features Find out how to fine-tune ChatGPT models for your specific use case Master AI embeddings to measure the relatedness of text strings Who this book is for This book is for a diverse range of professionals, including programmers, entrepreneurs, and software enthusiasts. Beginner programmers, Python developers exploring AI applications with ChatGPT, software developers integrating AI technology, and web developers creating AI-powered web applications with ChatGPT will find this book beneficial. Scholars and researchers working on AI projects with ChatGPT will also find it valuable. Basic knowledge of Python and familiarity with APIs is needed to understand the topics covered in this book.

show more
Packt
Cover of Building Data-Driven Applications with LlamaIndex

Building Data-Driven Applications with LlamaIndex

Andrei Gheorghiu

Solve real-world problems easily with artificial intelligence (AI) using the LlamaIndex data framework to enhance your LLM-based Python applications Key Features Examine text chunking effects on RAG workflows and understand security in RAG app development Discover chatbots and agents and learn how to build complex conversation engines Build as you learn by applying the knowledge you gain to a hands-on project Book DescriptionDiscover the immense potential of Generative AI and Large Language Models (LLMs) with this comprehensive guide. Learn to overcome LLM limitations, such as contextual memory constraints, prompt size issues, real-time data gaps, and occasional ‘hallucinations’. Follow practical examples to personalize and launch your LlamaIndex projects, mastering skills in ingesting, indexing, querying, and connecting dynamic knowledge bases. From fundamental LLM concepts to LlamaIndex deployment and customization, this book provides a holistic grasp of LlamaIndex's capabilities and applications. By the end, you'll be able to resolve LLM challenges and build interactive AI-driven applications using best practices in prompt engineering and troubleshooting Generative AI projects.What you will learn Understand the LlamaIndex ecosystem and common use cases Master techniques to ingest and parse data from various sources into LlamaIndex Discover how to create optimized indexes tailored to your use cases Understand how to query LlamaIndex effectively and interpret responses Build an end-to-end interactive web application with LlamaIndex, Python, and Streamlit Customize a LlamaIndex configuration based on your project needs Predict costs and deal with potential privacy issues Deploy LlamaIndex applications that others can use Who this book is for This book is for Python developers with basic knowledge of natural language processing (NLP) and LLMs looking to build interactive LLM applications. Experienced developers and conversational AI developers will also benefit from the advanced techniques covered in the book to fully unleash the capabilities of the framework.

show more
Packt
Cover of Building LLM Powered Applications

Building LLM Powered Applications

Valentina Alto

Get hands-on with GPT 3.5, GPT 4, LangChain, Llama 2, Falcon LLM and more, to build LLM-powered sophisticated AI applications Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free Key Features Embed LLMs into real-world applications Use LangChain to orchestrate LLMs and their components within applications Grasp basic and advanced techniques of prompt engineering Book DescriptionBuilding LLM Powered Applications delves into the fundamental concepts, cutting-edge technologies, and practical applications that LLMs offer, ultimately paving the way for the emergence of large foundation models (LFMs) that extend the boundaries of AI capabilities. The book begins with an in-depth introduction to LLMs. We then explore various mainstream architectural frameworks, including both proprietary models (GPT 3.5/4) and open-source models (Falcon LLM), and analyze their unique strengths and differences. Moving ahead, with a focus on the Python-based, lightweight framework called LangChain, we guide you through the process of creating intelligent agents capable of retrieving information from unstructured data and engaging with structured data using LLMs and powerful toolkits. Furthermore, the book ventures into the realm of LFMs, which transcend language modeling to encompass various AI tasks and modalities, such as vision and audio. Whether you are a seasoned AI expert or a newcomer to the field, this book is your roadmap to unlock the full potential of LLMs and forge a new era of intelligent machines.What you will learn Explore the core components of LLM architecture, including encoder-decoder blocks and embeddings Understand the unique features of LLMs like GPT-3.5/4, Llama 2, and Falcon LLM Use AI orchestrators like LangChain, with Streamlit for the frontend Get familiar with LLM components such as memory, prompts, and tools Learn how to use non-parametric knowledge and vector databases Understand the implications of LFMs for AI research and industry applications Customize your LLMs with fine tuning Learn about the ethical implications of LLM-powered applications Who this book is for Software engineers and data scientists who want hands-on guidance for applying LLMs to build applications. The book will also appeal to technical leaders, students, and researchers interested in applied LLM topics. We don’t assume previous experience with LLM specifically. But readers should have core ML/software engineering fundamentals to understand and apply the content.

show more
Packt
Cover of Essential Guide to LLMOps

Essential Guide to LLMOps

Ryan Doan

Unlock the secrets to mastering LLMOps with innovative approaches to streamline AI workflows, improve model efficiency, and ensure robust scalability, revolutionizing your language model operations from start to finish Key Features Gain a comprehensive understanding of LLMOps, from data handling to model governance Leverage tools for efficient LLM lifecycle management, from development to maintenance Discover real-world examples of industry cutting-edge trends in generative AI operation Purchase of the print or Kindle book includes a free PDF eBook Book Description The rapid advancements in large language models (LLMs) bring significant challenges in deployment, maintenance, and scalability. This Essential Guide to LLMOps provides practical solutions and strategies to overcome these challenges, ensuring seamless integration and the optimization of LLMs in real-world applications. This book takes you through the historical background, core concepts, and essential tools for data analysis, model development, deployment, maintenance, and governance. You’ll learn how to streamline workflows, enhance efficiency in LLMOps processes, employ LLMOps tools for precise model fine-tuning, and address the critical aspects of model review and governance. You’ll also get to grips with the practices and performance considerations that are necessary for the responsible development and deployment of LLMs. The book equips you with insights into model inference, scalability, and continuous improvement, and shows you how to implement these in real-world applications. By the end of this book, you’ll have learned the nuances of LLMOps, including effective deployment strategies, scalability solutions, and continuous improvement techniques, equipping you to stay ahead in the dynamic world of AI. What you will learn Understand the evolution and impact of LLMs in AI Differentiate between LLMOps and traditional MLOps Utilize LLMOps tools for data analysis, preparation, and fine-tuning Master strategies for model development, deployment, and improvement Implement techniques for model inference, serving, and scalability Integrate human-in-the-loop strategies for refining LLM outputs Grasp the forefront of emerging technologies and practices in LLMOps Who this book is for This book is for machine learning professionals, data scientists, ML engineers, and AI leaders interested in LLMOps. It is particularly valuable for those developing, deploying, and managing LLMs, as well as academics and students looking to deepen their understanding of the latest AI and machine learning trends. Professionals in tech companies and research institutions, as well as anyone with foundational knowledge of machine learning will find this resource invaluable for advancing their skills in LLMOps.

show more
Packt
Cover of Generative AI Foundations in Python

Generative AI Foundations in Python

Carlos Rodriguez and Samira Shaikh

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 DescriptionThe 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.

show more
Packt
Cover of Generative AI with LangChain, 2E

Generative AI with LangChain, 2E

Ben Auffarth and Leonid Kuligin

2024 Edition – Get to grips with the LangChain framework to develop production-ready applications, including agents and personal assistants. The 2024 edition features updated code examples and an improved GitHub repository. Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free Key Features Learn how to leverage LangChain to work around LLMs’ inherent weaknesses Delve into LLMs with LangChain and explore their fundamentals, ethical dimensions, and application challenges Get better at using ChatGPT and GPT models, from heuristics and training to scalable deployment, empowering you to transform ideas into reality Book DescriptionChatGPT and the GPT models by OpenAI have brought about a revolution not only in how we write and research but also in how we can process information. This book discusses the functioning, capabilities, and limitations of LLMs underlying chat systems, including ChatGPT and Gemini. It demonstrates, in a series of practical examples, how to use the LangChain framework to build production-ready and responsive LLM applications for tasks ranging from customer support to software development assistance and data analysis – illustrating the expansive utility of LLMs in real-world applications. Unlock the full potential of LLMs within your projects as you navigate through guidance on fine-tuning, prompt engineering, and best practices for deployment and monitoring in production environments. Whether you're building creative writing tools, developing sophisticated chatbots, or crafting cutting-edge software development aids, this book will be your roadmap to mastering the transformative power of generative AI with confidence and creativity.What you will learn Create LLM apps with LangChain, like question-answering systems and chatbots Understand transformer models and attention mechanisms Automate data analysis and visualization using pandas and Python Grasp prompt engineering to improve performance Fine-tune LLMs and get to know the tools to unleash their power Deploy LLMs as a service with LangChain and apply evaluation strategies Privately interact with documents using open-source LLMs to prevent data leaks Who this book is for The book is for developers, researchers, and anyone interested in learning more about LangChain. Whether you are a beginner or an experienced developer, this book will serve as a valuable resource if you want to get the most out of LLMs using LangChain. Basic knowledge of Python is a prerequisite, while prior exposure to machine learning will help you follow along more easily.

show more
Packt

Generative AI with Python and PyTorch

Joseph Babcock and Raghav Bali

Packt
Cover of Learn Model Context Protocol with Python

Learn Model Context Protocol with Python

Christoffer Noring

Get to grips with the Model Context Protocol (MCP) and learn how to build scalable, intelligent web applications with AI-ready architecture in Python Key Features The only resource you'll need to build, test, and deploy MCP servers and clients Take a modern approach toward building, testing, and securing distributed agentic AI apps Get clear, professional guidance on developing for both LLM and non-LLM clients Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionLearn Model Context Protocol with Python introduces developers, architects, and AI practitioners to the transformative capabilities of Model Context Protocol (MCP), an emerging protocol designed to standardize, distribute, and scale AI-driven applications. Through the lens of a practical project, the book tackles the modern challenges of resource management, client-server interaction, and deployment at scale. Drawing from Christoffer's expertise as a published author and tutor at the University of Oxford, you’ll explore the components of MCP and how they streamline server and client development. Next, you’ll progress from building robust backends and integrating LLMs into intelligent clients to interacting with servers via tools such as Claude for desktop and Visual Studio Code agents. The chapters help you understand how to describe the capabilities of hosts, clients, and servers, facilitating better interoperability, easier integration, and clearer communication between different components. The book also covers security best practices and building for the cloud, ensuring that you're ready to deploy your MCP-based apps. Each chapter enables you to develop hands-on skills for building and operating MCP-based agentic apps. The Python primer at the end rounds out the practical toolkit, making this book essential for any team building AI-native applications today.What you will learn Understand the MCP protocol and its core components Build MCP servers that expose tools and resources to a variety of clients Test and debug servers using the interactive inspector tools Consume servers using Claude Desktop and Visual Studio Code Agents Secure MCP apps, as well as managing and mitigating common threats Build and deploy MCP apps using cloud-based strategies Who this book is for This book is ideal for web developers, software architects, AI practitioners, and tech leads looking to build scalable AI-integrated applications using MCP. Product managers overseeing AI initiatives will also find this book valuable. A basic understanding of web development and AI concepts is needed to make the most of this book.

show more
Packt
Cover of Learn Model Context Protocol with TypeScript

Learn Model Context Protocol with TypeScript

Christoffer Noring and Dan Wahlin

Get to grips with the Model Context Protocol (MCP) and learn how to build scalable, intelligent web applications with AI-ready architecture in TypeScript Free with your book: DRM-free PDF version + access to Packt's next-gen Reader* Key Features The only resource you'll need to build, test, and deploy MCP servers and clients Take a modern approach toward building, testing, and securing distributed agentic AI apps Get clear, professional guidance on developing for both LLM and non-LLM clients Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionLearn Model Context Protocol with TypeScript introduces developers, architects, and AI practitioners to the transformative capabilities of Model Context Protocol (MCP), an emerging protocol designed to standardize, distribute, and scale AI-driven applications. Through the lens of a practical project, the book tackles the modern challenges of resource management, client-server interaction, and deployment at scale. Drawing from Christoffer's expertise as a published author and tutor at the University of Oxford, you’ll explore the components of MCP and how they streamline server and client development. After that, you’ll progress from building robust backends and integrating LLMs into intelligent clients to interacting with servers via tools such as Claude for desktop and Visual Studio Code agents. The chapters help you understand the capabilities of hosts, clients, and servers, facilitating better interoperability, easier integration, and clearer communication between different components. The book also covers security best practices and building for the cloud, ensuring that you're ready to deploy your MCP-based apps. Each chapter enables you to develop hands-on skills for building and operating MCP-based agentic apps. *Email sign-up and proof of purchase requiredWhat you will learn Understand the MCP protocol and its core components Build MCP servers that expose tools and resources to a variety of clients Test and debug servers using the interactive inspector tools Consume servers using Claude for desktop and Visual Studio Code agents Secure MCP apps, as well as managing and mitigating common threats Build and deploy MCP apps using cloud-based strategies Who this book is for This book is ideal for web developers, software architects, AI practitioners, and tech leads looking to build scalable AI-integrated applications using MCP. Product managers overseeing AI initiatives will also find this book valuable. A basic understanding of web development and AI concepts is needed to make the most of this book.

show more
Packt
Cover of Learn Python Programming, 4E

Learn Python Programming, 4E

Fabrizio Romano and Heinrich Kruger

Learn the fundamentals of Python (3.7) and how to apply it to data science, programming, and web development. Fully updated to include hands-on tutorials and projects. Key Features Learn the fundamentals of Python programming with interactive projects Apply Python to data science with tools such as IPython and Jupyter Utilize Python for web development and build a real-world app using Django Book DescriptionLearn Python Programming is a quick, thorough, and practical introduction to Python - an extremely flexible and powerful programming language that can be applied to many disciplines. Unlike other books, it doesn't bore you with elaborate explanations of the basics but gets you up-and-running, using the language. You will begin by learning the fundamentals of Python so that you have a rock-solid foundation to build upon. You will explore the foundations of Python programming and learn how Python can be manipulated to achieve results. Explore different programming paradigms and find the best approach to a situation; understand how to carry out performance optimization and effective debugging; control the flow of a program; and utilize an interchange format to exchange data. You'll also walk through cryptographic services in Python and understand secure tokens. Learn Python Programming will give you a thorough understanding of the Python language. You'll learn how to write programs, build websites, and work with data by harnessing Python's renowned data science libraries. Filled with real-world examples and projects, the book covers various types of applications, and concludes by building real-world projects based on the concepts you have learned.What you will learn Get Python up and running on Windows, Mac, and Linux Explore fundamental concepts of coding using data structures and control flow Write elegant, reusable, and efficient code in any situation Understand when to use the functional or OOP approach Cover the basics of security and concurrent/asynchronous programming Create bulletproof, reliable software by writing tests Build a simple website in Django Fetch, clean, and manipulate data Who this book is for Learn Python Programming is for individuals with relatively little experience in coding or Python. It's also ideal for aspiring programmers who need to write scripts or programs to accomplish tasks. The book shows you how to create a full-fledged application.

show more
Packt
Cover of LLM Design Patterns

LLM Design Patterns

Ken Huang

This book helps you gain practical skills to develop and deploy LLMs.

show more
Packt
Cover of LLM Engineer's Handbook

LLM Engineer's Handbook

Paul Iusztin and Maxime Labonne

Step into the world of LLMs with this practical guide that takes you from the fundamentals to deploying advanced applications using LLMOps best practices Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free Key Features Build and refine LLMs step by step, covering data preparation, RAG, and fine-tuning Learn essential skills for deploying and monitoring LLMs, ensuring optimal performance in production Utilize preference alignment, evaluation, and inference optimization to enhance performance and adaptability of your LLM applications Book DescriptionArtificial intelligence has undergone rapid advancements, and Large Language Models (LLMs) are at the forefront of this revolution. This LLM book offers insights into designing, training, and deploying LLMs in real-world scenarios by leveraging MLOps best practices. The guide walks you through building an LLM-powered twin that’s cost-effective, scalable, and modular. It moves beyond isolated Jupyter notebooks, focusing on how to build production-grade end-to-end LLM systems. Throughout this book, you will learn data engineering, supervised fine-tuning, and deployment. The hands-on approach to building the LLM Twin use case will help you implement MLOps components in your own projects. You will also explore cutting-edge advancements in the field, including inference optimization, preference alignment, and real-time data processing, making this a vital resource for those looking to apply LLMs in their projects. By the end of this book, you will be proficient in deploying LLMs that solve practical problems while maintaining low-latency and high-availability inference capabilities. Whether you are new to artificial intelligence or an experienced practitioner, this book delivers guidance and practical techniques that will deepen your understanding of LLMs and sharpen your ability to implement them effectively.What you will learn Implement robust data pipelines and manage LLM training cycles Create your own LLM and refine it with the help of hands-on examples Get started with LLMOps by diving into core MLOps principles such as orchestrators and prompt monitoring Perform supervised fine-tuning and LLM evaluation Deploy end-to-end LLM solutions using AWS and other tools Design scalable and modularLLM systems Learn about RAG applications by building a feature and inference pipeline Who this book is for This book is for AI engineers, NLP professionals, and LLM engineers looking to deepen their understanding of LLMs. Basic knowledge of LLMs and the Gen AI landscape, Python and AWS is recommended. Whether you are new to AI or looking to enhance your skills, this book provides comprehensive guidance on implementing LLMs in real-world scenarios

show more
Packt
Cover of LLMs in Enterprise

LLMs in Enterprise

Ahmed Menshawy and Mahmoud Fahmy

Integrate large language models into your enterprise applications with advanced strategies that drive transformation Key Features Explore design patterns for applying LLMs to solve real-world enterprise problems Learn strategies for scaling and deploying LLMs in complex environments Get more relevant results and improve performance by fine-tuning and optimizing LLMs Purchase of the print or Kindle book includes a free PDF eBook Book Description The integration of large language models (LLMs) into enterprise applications is transforming how businesses use AI to drive smarter decisions and efficient operations. LLMs in Enterprise is your practical guide to bringing these capabilities into real-world business contexts. It demystifies the complexities of LLM deployment and provides a structured approach for enhancing decision-making and operational efficiency with AI.Starting with an introduction to the foundational concepts, the book swiftly moves on to hands-on applications focusing on real-world challenges and solutions. You'll master data strategies and explore design patterns that streamline the optimization and deployment of LLMs in enterprise environments. From fine-tuning techniques to advanced inferencing patterns, the book equips you with a toolkit for solving complex challenges and driving AI-led innovation in business processes.By the end of this book, you'll have a solid grasp of key LLM design patterns and how to apply them to enhance the performance and scalability of your generative AI solutions. What you will learn Apply design patterns to integrate LLMs into enterprise applications for efficiency and scalability Overcome common challenges in scaling and deploying LLMs Use fine-tuning techniques and RAG approaches to enhance LLM efficiency Stay ahead of the curve with insights into emerging trends and advancements, including multimodality Optimize LLM performance through customized contextual models, advanced inferencing engines, and evaluation patterns Ensure fairness, transparency, and accountability in AI applications Who this book is for This book is designed for a diverse group of professionals looking to understand and implement advanced design patterns for LLMs in their enterprise applications, including AI and ML researchers exploring practical applications of LLMs, data scientists and ML engineers designing and implementing large-scale GenAI solutions, enterprise architects and technical leaders who oversee the integration of AI technologies into business processes, and software developers creating scalable GenAI-powered applications.

show more
Packt
Cover of Mastering NLP from Foundations to LLMs

Mastering NLP from Foundations to LLMs

Lior Gazit , Meysam Ghaffari , et al.

Enhance your NLP proficiency with modern frameworks like LangChain, explore mathematical foundations and code samples, and gain expert insights into current and future trends Key Features Learn how to build Python-driven solutions with a focus on NLP, LLMs, RAGs, and GPT Master embedding techniques and machine learning principles for real-world applications Understand the mathematical foundations of NLP and deep learning designs Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionDo you want to master Natural Language Processing (NLP) but don’t know where to begin? This book will give you the right head start. Written by leaders in machine learning and NLP, Mastering NLP from Foundations to LLMs provides an in-depth introduction to techniques. Starting with the mathematical foundations of machine learning (ML), you’ll gradually progress to advanced NLP applications such as large language models (LLMs) and AI applications. You’ll get to grips with linear algebra, optimization, probability, and statistics, which are essential for understanding and implementing machine learning and NLP algorithms. You’ll also explore general machine learning techniques and find out how they relate to NLP. Next, you’ll learn how to preprocess text data, explore methods for cleaning and preparing text for analysis, and understand how to do text classification. You’ll get all of this and more along with complete Python code samples. By the end of the book, the advanced topics of LLMs’ theory, design, and applications will be discussed along with the future trends in NLP, which will feature expert opinions. You’ll also get to strengthen your practical skills by working on sample real-world NLP business problems and solutions.What you will learn Master the mathematical foundations of machine learning and NLP Implement advanced techniques for preprocessing text data and analysis Design ML-NLP systems in Python Model and classify text using traditional machine learning and deep learning methods Understand the theory and design of LLMs and their implementation for various applications in AI Explore NLP insights, trends, and expert opinions on its future direction and potential Who this book is for This book is for deep learning and machine learning researchers, NLP practitioners, ML/NLP educators, and STEM students. Professionals working with text data as part of their projects will also find plenty of useful information in this book. Beginner-level familiarity with machine learning and a basic working knowledge of Python will help you get the best out of this book.

show more
Packt

Mastering PyTorch Second Edition

Ashish Ranjan Jha

Packt
Cover of Modern Computer Vision with PyTorch, 2E

Modern Computer Vision with PyTorch, 2E

V Kishore Ayyadevara and Yeshwanth Reddy

Get to grips with deep learning techniques for building image processing applications using PyTorch with the help of code notebooks and test questions Key FeaturesImplement solutions to 50 real-world computer vision applications using PyTorchUnderstand the theory and working mechanisms of neural network architectures and their implementationDiscover best practices using a custom library created especially for this bookBook Description Deep learning is the driving force behind many recent advances in various computer vision (CV) applications. This book takes a hands-on approach to help you to solve over 50 CV problems using PyTorch1.x on real-world datasets. You’ll start by building a neural network (NN) from scratch using NumPy and PyTorch and discover best practices for tweaking its hyperparameters. You’ll then perform image classification using convolutional neural networks and transfer learning and understand how they work. As you progress, you’ll implement multiple use cases of 2D and 3D multi-object detection, segmentation, human-pose-estimation by learning about the R-CNN family, SSD, YOLO, U-Net architectures, and the Detectron2 platform. The book will also guide you in performing facial expression swapping, generating new faces, and manipulating facial expressions as you explore autoencoders and modern generative adversarial networks. You’ll learn how to combine CV with NLP techniques, such as LSTM and transformer, and RL techniques, such as Deep Q-learning, to implement OCR, image captioning, object detection, and a self-driving car agent. Finally, you'll move your NN model to production on the AWS Cloud. By the end of this book, you’ll be able to leverage modern NN architectures to solve over 50 real-world CV problems confidently. What you will learnTrain a NN from scratch with NumPy and PyTorchImplement 2D and 3D multi-object detection and segmentationGenerate digits and DeepFakes with autoencoders and advanced GANsManipulate images using CycleGAN, Pix2PixGAN, StyleGAN2, and SRGANCombine CV with NLP to perform OCR, image captioning, and object detectionCombine CV with reinforcement learning to build agents that play pong and self-drive a carDeploy a deep learning model on the AWS server using FastAPI and DockerImplement over 35 NN architectures and common OpenCV utilitiesWho this book is for This book is for beginners to PyTorch and intermediate-level machine learning practitioners who are looking to get well-versed with computer vision techniques using deep learning and PyTorch. If you are just getting started with neural networks, you’ll find the use cases accompanied by notebooks in GitHub present in this book useful. Basic knowledge of the Python programming language and machine learning is all you need to get started with this book.

show more
Packt
Cover of Practical Generative AI with ChatGPT

Practical Generative AI with ChatGPT

Valentina Alto

Transform your professional world with ChatGPT and OpenAI—master prompt design to revolutionize development, marketing, research, and enterprise implementation Key Features Turn ChatGPT into your companion for marketing, research, personal productivity, art and coding Learn prompt engineering techniques that deliver consistent, relevant, and ethical AI-powered results Build custom GPTs and assistants tailored to your specific business needs and workflows Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionPractical Generative AI with ChatGPT is your hands-on guide to unlocking the full potential of ChatGPT. From building AI assistants and mastering prompt engineering to analyzing documents and images and even generating code, this book equips you with the skills to integrate generative AI into your workflow. Written by a technical architect specializing in AI and intelligent applications, this book provides the tools and knowledge you need to streamline tasks, enhance productivity, and create intelligent solutions. You’ll learn how to craft precise prompts, leverage ChatGPT for daily efficiency, and develop custom AI assistants tailored to your needs. The chapters show you how to use ChatGPT’s multimodal capabilities to generate images with DALL·E and even transform images into code. This ChatGPT book goes beyond basic interactions by showing you how to design custom GPTs and integrate OpenAI’s APIs into your applications. You’ll explore how businesses use OpenAI models, from building AI applications, including semantic search, to creating an AI roadmap. Each chapter is packed with practical examples, ensuring you can apply the techniques right away. By the end of this book, you’ll be well equipped to leverage OpenAI's technology for competitive advantage.What you will learn Explore the fundamentals of generative AI and GPT models Master prompt engineering to consistently get relevant and reliable outputs from ChatGPT Develop marketing strategies and conduct meaningful A/B testing with AI assistance Boost your coding with code generation, review, and optimization Enhance research with real-time knowledge mining Enhance your visual creativity with image generation, image understanding, and style transfer Design custom GPTs and assistants tailored to specific business functions Discover how enterprises are leveraging large language models for their AI apps Who this book is for This book is ideal for business professionals, developers, marketers, researchers, and decision-makers who want to leverage AI to enhance productivity. No advanced technical background is required for the foundational sections, making the content accessible to beginners, while later chapters provide depth for technical professionals implementing enterprise solutions. If you’re seeking practical applications of generative AI in business contexts, you’ll find immediate, actionable value in this book.

show more
Packt
Cover of RAG-Driven Generative AI

RAG-Driven Generative AI

Denis Rothman

Minimize AI hallucinations and build accurate, custom generative AI pipelines with RAG using embedded vector databases and integrated human feedback Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free Key Features Implement RAG’s traceable outputs, linking each response to its source document to build reliable multimodal conversational agents Deliver accurate generative AI models in pipelines integrating RAG, real-time human feedback improvements, and knowledge graphs Balance cost and performance between dynamic retrieval datasets and fine-tuning static data Book DescriptionRAG-Driven Generative AI provides a roadmap for building effective LLM, computer vision, and generative AI systems that balance performance and costs. This book offers a detailed exploration of RAG and how to design, manage, and control multimodal AI pipelines. By connecting outputs to traceable source documents, RAG improves output accuracy and contextual relevance, offering a dynamic approach to managing large volumes of information. This AI book shows you how to build a RAG framework, providing practical knowledge on vector stores, chunking, indexing, and ranking. You’ll discover techniques to optimize your project’s performance and better understand your data, including using adaptive RAG and human feedback to refine retrieval accuracy, balancing RAG with fine-tuning, implementing dynamic RAG to enhance real-time decision-making, and visualizing complex data with knowledge graphs. You’ll be exposed to a hands-on blend of frameworks like LlamaIndex and Deep Lake, vector databases such as Pinecone and Chroma, and models from Hugging Face and OpenAI. By the end of this book, you will have acquired the skills to implement intelligent solutions, keeping you competitive in fields from production to customer service across any project.What you will learn Scale RAG pipelines to handle large datasets efficiently Employ techniques that minimize hallucinations and ensure accurate responses Implement indexing techniques to improve AI accuracy with traceable and transparent outputs Customize and scale RAG-driven generative AI systems across domains Find out how to use Deep Lake and Pinecone for efficient and fast data retrieval Control and build robust generative AI systems grounded in real-world data Combine text and image data for richer, more informative AI responses Who this book is for This book is ideal for data scientists, AI engineers, machine learning engineers, and MLOps engineers. If you are a solutions architect, software developer, product manager, or project manager looking to enhance the decision-making process of building RAG applications, then you’ll find this book useful.

show more
Packt
Cover of Transformers for Natural Language processing, 3E

Transformers for Natural Language processing, 3E

Denis Rothman

OpenAI's GPT-3, ChatGPT, GPT-4 and Hugging Face transformers for language tasks in one book. Get a taste of the future of transformers, including computer vision tasks and code writing and assistance. Purchase of the print or Kindle book includes a free eBook in PDF format Key Features Improve your productivity with OpenAI’s ChatGPT and GPT-4 from prompt engineering to creating and analyzing machine learning models Pretrain a BERT-based model from scratch using Hugging Face Fine-tune powerful transformer models, including OpenAI's GPT-3, to learn the logic of your data Book DescriptionTransformers are...well...transforming the world of AI. There are many platforms and models out there, but which ones best suit your needs? Transformers for Natural Language Processing, 2nd Edition, guides you through the world of transformers, highlighting the strengths of different models and platforms, while teaching you the problem-solving skills you need to tackle model weaknesses. You'll use Hugging Face to pretrain a RoBERTa model from scratch, from building the dataset to defining the data collator to training the model. If you're looking to fine-tune a pretrained model, including GPT-3, then Transformers for Natural Language Processing, 2nd Edition, shows you how with step-by-step guides. The book investigates machine translations, speech-to-text, text-to-speech, question-answering, and many more NLP tasks. It provides techniques to solve hard language problems and may even help with fake news anxiety (read chapter 13 for more details). You'll see how cutting-edge platforms, such as OpenAI, have taken transformers beyond language into computer vision tasks and code creation using DALL-E 2, ChatGPT, and GPT-4. By the end of this book, you'll know how transformers work and how to implement them and resolve issues like an AI detective.What you will learn Discover new techniques to investigate complex language problems Compare and contrast the results of GPT-3 against T5, GPT-2, and BERT-based transformers Carry out sentiment analysis, text summarization, casual speech analysis, machine translations, and more using TensorFlow, PyTorch, and GPT-3 Find out how ViT and CLIP label images (including blurry ones!) and create images from a sentence using DALL-E Learn the mechanics of advanced prompt engineering for ChatGPT and GPT-4 Who this book is for If you want to learn about and apply transformers to your natural language (and image) data, this book is for you. You'll need a good understanding of Python and deep learning and a basic understanding of NLP to benefit most from this book. Many platforms covered in this book provide interactive user interfaces, which allow readers with a general interest in NLP and AI to follow several chapters. And don't worry if you get stuck or have questions; this book gives you direct access to our AI/ML community to help guide you on your transformers journey!

show more
Packt
Cover of Unlocking Data with Generative AI and RAG

Unlocking Data with Generative AI and RAG

Keith Bourne

Design intelligent AI agents with retrieval-augmented generation, memory components, and graph-based context integration Free with your book: DRM-free PDF version + access to Packt's next-gen Reader* Key Features Build next-gen AI systems using agent memory, semantic caches, and LangMem Implement graph-based retrieval pipelines with ontologies and vector search Create intelligent, self-improving AI agents with agentic memory architectures Book DescriptionDeveloping AI agents that remember, adapt, and reason over complex knowledge isn’t a distant vision anymore; it’s happening now with Retrieval-Augmented Generation (RAG). This second edition of the bestselling guide leads you to the forefront of agentic system design, showing you how to build intelligent, explainable, and context-aware applications powered by RAG pipelines. You’ll master the building blocks of agentic memory, including semantic caches, procedural learning with LangMem, and the emerging CoALA framework for cognitive agents. You’ll also learn how to integrate GraphRAG with tools such as Neo4j to create deeply contextualized AI responses grounded in ontology-driven data. This book walks you through real implementations of working, episodic, semantic, and procedural memory using vector stores, prompting strategies, and feedback loops to create systems that continuously learn and refine their behavior. With hands-on code and production-ready patterns, you’ll be ready to build advanced AI systems that not only generate answers but also learn, recall, and evolve. Written by a seasoned AI educator and engineer, this book blends conceptual clarity with practical insight, offering both foundational knowledge and cutting-edge tools for modern AI development. *Email sign-up and proof of purchase required What you will learn Architect graph-powered RAG agents with ontology-driven knowledge bases Build semantic caches to improve response speed and reduce hallucinations Code memory pipelines for working, episodic, semantic, and procedural recall Implement agentic learning using LangMem and prompt optimization strategies Integrate retrieval, generation, and consolidation for self-improving agents Design caching and memory schemas for scalable, adaptive AI systems Use Neo4j, LangChain, and vector databases in production-ready RAG pipelines Who this book is for If you’re an AI engineer, data scientist, or developer building agent-based AI systems, this book will guide you with its deep coverage of retrieval-augmented generation, memory components, and intelligent prompting. With a basic understanding of Python and LLMs, you’ll be able to make the most of what this book offers.

show more
Packt