Search results for "Mastering Large Language Models with PyTorch"
Items we need to order for you

Large Language Models: A Deep Dive
Large Language Models (LLMs) have emerged as a cornerstone technology, transforming how we interact with information and redefining the boundaries of artificial intelligence. LLMs offer an unprecedented ability to understand, generate, and interact with human language in an intuitive and insightful manner, leading to transformative applications across domains like content creation, chatbots, search engines, and research tools. While fascinating, the complex workings of LLMs—their intricate architecture, underlying algorithms, and ethical considerations—require thorough exploration, creating a need for a comprehensive book on this subject.This book provides an authoritative exploration of the design, training, evolution, and application of LLMs. It begins with an overview of pre-trained language models and Transformer architectures, laying the groundwork for understanding prompt-based learning techniques. Next, it dives into methods for fine-tuning LLMs, integrating reinforcement learning for value alignment, and the convergence of LLMs with computer vision, robotics, and speech processing. The book strongly emphasizes practical applications, detailing real-world use cases such as conversational chatbots, retrieval-augmented generation (RAG), and code generation. These examples are carefully chosen to illustrate the diverse and impactful ways LLMs are being applied in various industries and scenarios.Readers will gain insights into operationalizing and deploying LLMs, from implementing modern tools and libraries to addressing challenges like bias and ethical implications. The book also introduces the cutting-edge realm of multimodal LLMs that can process audio, images, video, and robotic inputs. With hands-on tutorials for applying LLMs to natural language tasks, this thorough guide equips readers with both theoretical knowledge and practical skills for leveraging the full potential of large language models.This comprehensive resource is appropriate for a wide audience: students, researchers and academics in AI or NLP, practicing data scientists, and anyone looking to grasp the essence and intricacies of LLMs.Key Features:over 100 techniques and state-of-the-art methods, including pre-training, prompt-based tuning, instruction tuning, parameter-efficient and compute-efficient fine-tuning, end-user prompt engineering, and building and optimizing Retrieval-Augmented Generation systems, along with strategies for aligning LLMs with human values using reinforcement learningover 200 datasets compiled in one place, covering everything from pre- training to multimodal tuning, providing a robust foundation for diverse LLM applicationsOver 50 strategies to address key ethical issues such as hallucination, toxicity, bias, fairness, and privacy. Gain comprehensive methods for measuring, evaluating, and mitigating these challenges to ensure responsible LLM deploymentOver 200 benchmarks covering LLM performance across various tasks, ethical considerations, mult
R 2,381.00

R 1,301.00

R 1,585.25

Deep Learning with PyTorch Lightning
Build, train, deploy, and scale deep learning models quickly and accurately, improving your productivity using the lightweight PyTorch WrapperKey FeaturesBecome well-versed with PyTorch Lightning architecture and learn how it can be implemented in various industry domainsSpeed up your research using PyTorch Lightning by creating new loss functions, networks, and architecturesTrain and build new algorithms for massive data using distributed trainingBook DescriptionPyTorch Lightning lets researchers build their own Deep Learning (DL) models without having to worry about the boilerplate. With the help of this book, you'll be able to maximize productivity for DL projects while ensuring full flexibility from model formulation through to implementation. You'll take a hands-on approach to implementing PyTorch Lightning models to get up to speed in no time.You'll start by learning how to configure PyTorch Lightning on a cloud platform, understand the architectural components, and explore how they are configured to build various industry solutions. Next, you'll build a network and application from scratch and see how you can expand it based on your specific needs, beyond what the framework can provide. The book also demonstrates how to implement out-of-box capabilities to build and train Self-Supervised Learning, semi-supervised learning, and time series models using PyTorch Lightning. As you advance, you'll discover how generative adversarial networks (GANs) work. Finally, you'll work with deployment-ready applications, focusing on faster performance and scaling, model scoring on massive volumes of data, and model debugging.By the end of this PyTorch book, you'll have developed the knowledge and skills necessary to build and deploy your own scalable DL applications using PyTorch Lightning.What you will learnCustomize models that are built for different datasets, model architectures, and optimizersUnderstand how a variety of Deep Learning models from image recognition and time series to GANs, semi-supervised and self-supervised models can be builtUse out-of-the-box model architectures and pre-trained models using transfer learningRun and tune DL models in a multi-GPU environment using mixed-mode precisionsExplore techniques for model scoring on massive workloadsDiscover troubleshooting techniques while debugging DL modelsWho this book is forThis deep learning book is for citizen data scientists and expert data scientists transitioning from other frameworks to PyTorch Lightning. This book will also be useful for deep learning researchers who are just getting started with coding for deep learning models using PyTorch Lightning. Working knowledge of Python programming and an intermediate-level understanding of statistics and deep learning fundamentals is expected.
R 1,661.00

Quick Start Guide to Large Language Models
The Practical, Step-by-Step Guide to Using LLMs at Scale in Projects and Products Large Language Models (LLMs) like ChatGPT are demonstrating breathtaking capabilities, but their size and complexity have deterred many practitioners from applying them. In Quick Start Guide to Large Language Models, pioneering data scientist and AI entrepreneur Sinan Ozdemir clears away those obstacles and provides a guide to working with, integrating, and deploying LLMs to solve practical problems. Ozdemir brings together all you need to get started, even if you have no direct experience with LLMs: step-by-step instructions, best practices, real-world case studies, hands-on exercises, and more. Along the way, he shares insights into LLMs' inner workings to help you optimize model choice, data formats, parameters, and performance. You'll find even more resources on the companion website, including sample datasets and code for working with open- and closed-source LLMs such as those from OpenAI (GPT-4 and ChatGPT), Google (BERT, T5, and Bard), EleutherAI (GPT-J and GPT-Neo), Cohere (the Command family), and Meta (BART and the LLaMA family). Learn key concepts: pre-training, transfer learning, fine-tuning, attention, embeddings, tokenization, and moreUse APIs and Python to fine-tune and customize LLMs for your requirementsBuild a complete neural/semantic information retrieval system and attach to conversational LLMs for retrieval-augmented generationMaster advanced prompt engineering techniques like output structuring, chain-ofthought, and semantic few-shot promptingCustomize LLM embeddings to build a complete recommendation engine from scratch with user dataConstruct and fine-tune multimodal Transformer architectures using opensource LLMsAlign LLMs using Reinforcement Learning from Human and AI Feedback (RLHF/RLAIF)Deploy prompts and custom fine-tuned LLMs to the cloud with scalability and evaluation pipelines in mind "By balancing the potential of both open- and closed-source models, Quick Start Guide to Large Language Models stands as a comprehensive guide to understanding and using LLMs, bridging the gap between theoretical concepts and practical application."--Giada Pistilli, Principal Ethicist at HuggingFace "A refreshing and inspiring resource. Jam-packed with practical guidance and clear explanations that leave you smarter about this incredible new field."--Pete Huang, author of The Neuron Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
R 1,628.00

Deep Learning for Coders with fastai and PyTorch
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 filteringLearn the latest deep learning techniques that matter most in practiceImprove accuracy, speed, and reliability by understanding how deep learning models workDiscover how to turn your models into web applicationsImplement deep learning algorithms from scratchConsider the ethical implications of your workGain insight from the foreword by PyTorch cofounder, Soumith Chintala
R 1,824.00

Quick Start Guide to Large Language Models
The Practical, Step-by-Step Guide to Using LLMs at Scale in Projects and Products Large Language Models (LLMs) like Llama 3, Claude 3, and the GPT family are demonstrating breathtaking capabilities, but their size and complexity have deterred many practitioners from applying them. In Quick Start Guide to Large Language Models, Second Edition, pioneering data scientist and AI entrepreneur Sinan Ozdemir clears away those obstacles and provides a guide to working with, integrating, and deploying LLMs to solve practical problems. Ozdemir brings together all you need to get started, even if you have no direct experience with LLMs: step-by-step instructions, best practices, real-world case studies, and hands-on exercises. Along the way, he shares insights into LLMs' inner workings to help you optimize model choice, data formats, prompting, fine-tuning, performance, and much more. The resources on the companion website include sample datasets and up-to-date code for working with open- and closed-source LLMs such as those from OpenAI (GPT-4 and GPT-3.5), Google (BERT, T5, and Gemini), X (Grok), Anthropic (the Claude family), Cohere (the Command family), and Meta (BART and the LLaMA family). Learn key concepts: pre-training, transfer learning, fine-tuning, attention, embeddings, tokenization, and moreUse APIs and Python to fine-tune and customize LLMs for your requirementsBuild a complete neural/semantic information retrieval system and attach to conversational LLMs for building retrieval-augmented generation (RAG) chatbots and AI AgentsMaster advanced prompt engineering techniques like output structuring, chain-of-thought prompting, and semantic few-shot promptingCustomize LLM embeddings to build a complete recommendation engine from scratch with user data that outperforms out-of-the-box embeddings from OpenAIConstruct and fine-tune multimodal Transformer architectures from scratch using open-source LLMs and large visual datasetsAlign LLMs using Reinforcement Learning from Human and AI Feedback (RLHF/RLAIF) to build conversational agents from open models like Llama 3 and FLAN-T5Deploy prompts and custom fine-tuned LLMs to the cloud with scalability and evaluation pipelines in mindDiagnose and optimize LLMs for speed, memory, and performance with quantization, probing, benchmarking, and evaluation frameworks "A refreshing and inspiring resource. Jam-packed with practical guidance and clear explanations that leave you smarter about this incredible new field."--Pete Huang, author of The Neuron Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
R 1,199.00

PyTorch Deep Learning Hands-On
Hands-on projects cover all the key deep learning methods built step-by-step in PyTorchKey FeaturesInternals and principles of PyTorchImplement key deep learning methods in PyTorch: CNNs, GANs, RNNs, reinforcement learning, and moreBuild deep learning workflows and take deep learning models from prototyping to productionBook DescriptionPyTorch Deep Learning Hands-On is a book for engineers who want a fast-paced guide to doing deep learning work with Pytorch. It is not an academic textbook and does not try to teach deep learning principles. The book will help you most if you want to get your hands dirty and put PyTorch to work quickly.PyTorch Deep Learning Hands-On shows how to implement the major deep learning architectures in PyTorch. It covers neural networks, computer vision, CNNs, natural language processing (RNN), GANs, and reinforcement learning. You will also build deep learning workflows with the PyTorch framework, migrate models built in Python to highly efficient TorchScript, and deploy to production using the most sophisticated available tools.Each chapter focuses on a different area of deep learning. Chapters start with a refresher on how the model works, before sharing the code you need to implement them in PyTorch.This book is ideal if you want to rapidly add PyTorch to your deep learning toolset.What you will learnUse PyTorch to build:Simple Neural Networks – build neural networks the PyTorch way, with high-level functions, optimizers, and moreConvolutional Neural Networks – create advanced computer vision systemsRecurrent Neural Networks – work with sequential data such as natural language and audioGenerative Adversarial Networks – create new content with models including SimpleGAN and CycleGANReinforcement Learning – develop systems that can solve complex problems such as driving or game playingDeep Learning workflows – move effectively from ideation to production with proper deep learning workflow using PyTorch and its utility packagesProduction-ready models – package your models for high-performance production environmentsWho this book is forMachine learning engineers who want to put PyTorch to work.
R 1,498.00

PyTorch Pocket Reference
This concise, easy-to-use reference puts one of the most popular frameworks for deep learning research and development at your fingertips. Author Joe Papa provides instant access to syntax, design patterns, and code examples to accelerate your development and reduce the time you spend searching for answers.Research scientists, machine learning engineers, and software developers will find clear, structured PyTorch code that covers every step of neural network developmentafrom loading data to customizing training loops to model optimization and GPU/TPU acceleration. Quickly learn how to deploy your code to production using AWS, Google Cloud, or Azure and deploy your ML models to mobile and edge devices.Learn basic PyTorch syntax and design patternsCreate custom models and data transformsTrain and deploy models using a GPU and TPUTrain and test a deep learning classifierAccelerate training using optimization and distributed trainingAccess useful PyTorch libraries and the PyTorch ecosystem
R 684.00

PyTorch Recipes
Learn how to use PyTorch to build neural network models using code snippets updated for this second edition. This book includes new chapters covering topics such as distributed PyTorch modeling, deploying PyTorch models in production, and developments around PyTorch with updated code.You'll start by learning how to use tensors to develop and fine-tune neural network models and implement deep learning models such as LSTMs, and RNNs. Next, you'll explore probability distribution concepts using PyTorch, as well as supervised and unsupervised algorithms with PyTorch. This is followed by a deep dive on building models with convolutional neural networks, deep neural networks, and recurrent neural networks using PyTorch. This new edition covers also topics such as Scorch, a compatible module equivalent to the Scikit machine learning library, model quantization to reduce parameter size, and preparing a model for deployment within a production system. Distributed parallel processing for balancing PyTorch workloads, using PyTorch for image processing, audio analysis, and model interpretation are also covered in detail. Each chapter includes recipe code snippets to perform specific activities.By the end of this book, you will be able to confidently build neural network models using PyTorch.What You Will LearnUtilize new code snippets and models to train machine learning models using PyTorchTrain deep learning models with fewer and smarter implementationsExplore the PyTorch framework for model explainability and to bring transparency to model interpretationBuild, train, and deploy neural network models designed to scale with PyTorchUnderstand best practices for evaluating and fine-tuning models using PyTorchUse advanced torch features in training deep neural networksExplore various neural network models using PyTorchDiscover functions compatible with sci-kit learn compatible modelsPerform distributed PyTorch training and executionWho This Book Is ForMachine learning engineers, data scientists and Python programmers and software developers interested in learning the PyTorch framework.
R 1,368.00

R 474.00

R 855.00

Hands-On Generative Adversarial Networks with PyTorch 1.x
Apply deep learning techniques and neural network methodologies to build, train, and optimize generative network modelsKey FeaturesImplement GAN architectures to generate images, text, audio, 3D models, and moreUnderstand how GANs work and become an active contributor in the open source communityLearn how to generate photo-realistic images based on text descriptionsBook DescriptionWith continuously evolving research and development, Generative Adversarial Networks (GANs) are the next big thing in the field of deep learning. This book highlights the key improvements in GANs over generative models and guides in making the best out of GANs with the help of hands-on examples.This book starts by taking you through the core concepts necessary to understand how each component of a GAN model works. You'll build your first GAN model to understand how generator and discriminator networks function. As you advance, you'll delve into a range of examples and datasets to build a variety of GAN networks using PyTorch functionalities and services, and become well-versed with architectures, training strategies, and evaluation methods for image generation, translation, and restoration. You'll even learn how to apply GAN models to solve problems in areas such as computer vision, multimedia, 3D models, and natural language processing (NLP). The book covers how to overcome the challenges faced while building generative models from scratch. Finally, you'll also discover how to train your GAN models to generate adversarial examples to attack other CNN and GAN models.By the end of this book, you will have learned how to build, train, and optimize next-generation GAN models and use them to solve a variety of real-world problems.What you will learnImplement PyTorch's latest features to ensure efficient model designingGet to grips with the working mechanisms of GAN modelsPerform style transfer between unpaired image collections with CycleGANBuild and train 3D-GANs to generate a point cloud of 3D objectsCreate a range of GAN models to perform various image synthesis operationsUse SEGAN to suppress noise and improve the quality of speech audioWho this book is forThis GAN book is for machine learning practitioners and deep learning researchers looking to get hands-on guidance in implementing GAN models using PyTorch. You’ll become familiar with state-of-the-art GAN architectures with the help of real-world examples. Working knowledge of Python programming language is necessary to grasp the concepts covered in this book.
R 1,498.00

Designing Large Language Model Applications
Transformer-based language models are powerful tools for solving a variety of language tasks and represent a phase shift in the field of natural language processing. But the transition from demos and prototypes to full-fledged applications has been slow. With this book, you'll learn the tools, techniques, and playbooks for building useful products that incorporate the power of language models.Experienced ML researcher Suhas Pai provides practical advice on dealing with commonly observed failure modes and counteracting the current limitations of state-of-the-art models. You'll take a comprehensive deep dive into the Transformer architecture and its variants. And you'll get up-to-date with the taxonomy of language models, which can offer insight into which models are better at which tasks.You'll learn:Clever ways to deal with failure modes of current state-of-the-art language models, and methods to exploit their strengths for building useful productsHow to develop an intuition about the Transformer architecture and the impact of each architectural decisionWays to adapt pretrained language models to your own domain and use casesHow to select a language model for your domain and task from among the choices available, and how to deal with the build-versus-buy conundrumEffective fine-tuning and parameter efficient fine-tuning, and few-shot and zero-shot learning techniquesHow to interface language models with external tools and integrate them into an existing software ecosystem
R 1,824.00


Large Language Models for Linguists
This book bridges linguistics and technology, offering an in-depth exploration of Large Language Models (LLMs) tailored for linguists. It examines how Artificial Intelligence (AI) is trained using language as data, often overlooking linguistic nuance, and empowers linguists to shape AI development to preserve diverse linguistic and cultural heritages.Key Features: Accessible to All: No prior knowledge of technology or coding required, making it ideal for anyone transitioning into AI for languages. Demystifies LLMs: Covers essential concepts like Natural Language Processing (NLP), named entity recognition (NER), hallucinations, fine-tuning, and custom LLMs for languages. Global Scope: Includes research, datasets, and LLM models for languages such as Portuguese, Yoruba, Tamil, Hindi, Swahili, Spanish, Korean, Arabic, Indigenous languages, Sign Languages, and more. Cultural Context: Explores how historical trauma, colonialism, migration, and resilience shape language, emphasizing the need for AI to respect this complexity. Practical Playbook: Guides linguists and cultural stewards in creating datasets and benchmarks that honor their communities, showcasing how vocabulary reflects cultural identity. Online Resources: Offers tools, datasets, and community support for building AI tailored to specific languages at LLMLinguist.org.Ideal for humanities scholars, computational linguists, and technologists seeking to develop language models that preserve the cultural richness of the world's voices.
R 6,960.00

Mastering Prompt Engineering
Mastering Prompt Engineering: Deep Insights for Optimizing Large Language Models (LLMs) is a comprehensive guide that takes readers on a journey through the world of Large Language Models (LLMs) and prompt engineering. Covering foundational concepts, advanced techniques, ethical considerations, and real-world case studies, this book equips both novices and experts to navigate the complex LLM landscape. It provides insights into LLM architecture, training, and prompt engineering methods, while addressing ethical concerns such as bias and privacy. Real-world case studies showcase the practical application of prompt engineering in a wide range of settings. This resource is not just for specialists but is a practical and ethically conscious guide for AI practitioners, students, scientific researchers, and anyone interested in harnessing the potential of LLMs in natural language processing and generation. Mastering Prompt Engineering serves as a gateway to a deeper understanding of LLMs and their responsible and effective utilization through its comprehensive, ethical, and practical approach.
R 5,297.00

R 1,426.00

Natural Language Processing with Python Quick Start Guide
Build and deploy intelligent applications for natural language processing with Python by using industry standard tools and recently popular methods in deep learningKey FeaturesA no-math, code-driven programmer’s guide to text processing and NLPGet state of the art results with modern tooling across linguistics, text vectors and machine learningFundamentals of NLP methods from spaCy, gensim, scikit-learn and PyTorchBook DescriptionNLP in Python is among the most sought after skills among data scientists. With code and relevant case studies, this book will show how you can use industry-grade tools to implement NLP programs capable of learning from relevant data. We will explore many modern methods ranging from spaCy to word vectors that have reinvented NLP.The book takes you from the basics of NLP to building text processing applications. We start with an introduction to the basic vocabulary along with a workflow for building NLP applications.We use industry-grade NLP tools for cleaning and pre-processing text, automatic question and answer generation using linguistics, text embedding, text classifier, and building a chatbot. With each project, you will learn a new concept of NLP. You will learn about entity recognition, part of speech tagging and dependency parsing for Q and A. We use text embedding for both clustering documents and making chatbots, and then build classifiers using scikit-learn.We conclude by deploying these models as REST APIs with Flask.By the end, you will be confident building NLP applications, and know exactly what to look for when approaching new challenges.What you will learnUnderstand classical linguistics in using English grammar for automatically generating questions and answers from a free text corpusWork with text embedding models for dense number representations of words, subwords and characters in the English language for exploring document clusteringDeep Learning in NLP using PyTorch with a code-driven introduction to PyTorchUsing an NLP project management Framework for estimating timelines and organizing your project into stagesHack and build a simple chatbot application in 30 minutesDeploy an NLP or machine learning application using Flask as RESTFUL APIsWho this book is forProgrammers who wish to build systems that can interpret language. Exposure to Python programming is required. Familiarity with NLP or machine learning vocabulary will be helpful, but not mandatory.
R 1,140.00

R 1,038.00

Large Language Models for Linguists
This book bridges linguistics and technology, offering an in-depth exploration of Large Language Models (LLMs) tailored for linguists. It examines how Artificial Intelligence (AI) is trained using language as data, often overlooking linguistic nuance, and empowers linguists to shape AI development to preserve diverse linguistic and cultural heritages.Key Features: Accessible to All: No prior knowledge of technology or coding required, making it ideal for anyone transitioning into AI for languages. Demystifies LLMs: Covers essential concepts like Natural Language Processing (NLP), named entity recognition (NER), hallucinations, fine-tuning, and custom LLMs for languages. Global Scope: Includes research, datasets, and LLM models for languages such as Portuguese, Yoruba, Tamil, Hindi, Swahili, Spanish, Korean, Arabic, Indigenous languages, Sign Languages, and more. Cultural Context: Explores how historical trauma, colonialism, migration, and resilience shape language, emphasizing the need for AI to respect this complexity. Practical Playbook: Guides linguists and cultural stewards in creating datasets and benchmarks that honor their communities, showcasing how vocabulary reflects cultural identity. Online Resources: Offers tools, datasets, and community support for building AI tailored to specific languages at LLMLinguist.org.Ideal for humanities scholars, computational linguists, and technologists seeking to develop language models that preserve the cultural richness of the world's voices.
R 2,674.00

R 611.00

Python Natural Language Processing Cookbook
Updated to include three new chapters on transformers, natural language understanding (NLU) with explainable AI, and dabbling with popular LLMs from Hugging Face and OpenAIKey FeaturesLeverage ready-to-use recipes with the latest LLMs, including Mistral, Llama, and OpenAI modelsUse LLM-powered agents for custom tasks and real-world interactionsGain practical, in-depth knowledge of transformers and their role in implementing various NLP tasks with open-source and advanced LLMsPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionHarness the power of Natural Language Processing to overcome real-world text analysis challenges with this recipe-based roadmap written by two seasoned NLP experts with vast experience transforming various industries with their NLP prowess.You’ll be able to make the most of the latest NLP advancements, including large language models (LLMs), and leverage their capabilities through Hugging Face transformers. Through a series of hands-on recipes, you’ll master essential techniques such as extracting entities and visualizing text data. The authors will expertly guide you through building pipelines for sentiment analysis, topic modeling, and question-answering using popular libraries like spaCy, Gensim, and NLTK. You’ll also learn to implement RAG pipelines to draw out precise answers from a text corpus using LLMs.This second edition expands your skillset with new chapters on cutting-edge LLMs like GPT-4, Natural Language Understanding (NLU), and Explainable AI (XAI)—fostering trust and transparency in your NLP models.By the end of this book, you'll be equipped with the skills to apply advanced text processing techniques, use pre-trained transformer models, build custom NLP pipelines to extract valuable insights from text data to drive informed decision-making.What you will learnUnderstand fundamental NLP concepts along with their applications using examples in PythonClassify text quickly and accurately with rule-based and supervised methodsTrain NER models and perform sentiment analysis to identify entities and emotions in textExplore topic modeling and text visualization to reveal themes and relationships within textLeverage Hugging Face and OpenAI LLMs to perform advanced NLP tasksUse question-answering techniques to handle both open and closed domainsApply XAI techniques to better understand your model predictionsWho this book is forThis updated edition of the Python Natural Language Processing Cookbook is for data scientists, machine learning engineers, and developers with a background in Python. Whether you’re looking to learn NLP techniques, extract valuable insights from textual data, or create foundational applications, this book will equip you with basic to intermediate skills. No prior NLP knowledge is necessary to get started. All you need is familiarity with basic programming principles. For seasoned developers, the updated sections offer the latest on transformers, explainable AI, and Gene
R 1,465.00


PyTorch 1.x Reinforcement Learning Cookbook
Implement reinforcement learning techniques and algorithms with the help of real-world examples and recipesKey FeaturesUse PyTorch 1.x to design and build self-learning artificial intelligence (AI) modelsImplement RL algorithms to solve control and optimization challenges faced by data scientists todayApply modern RL libraries to simulate a controlled environment for your projectsBook DescriptionReinforcement learning (RL) is a branch of machine learning that has gained popularity in recent times. It allows you to train AI models that learn from their own actions and optimize their behavior. PyTorch has also emerged as the preferred tool for training RL models because of its efficiency and ease of use.With this book, you'll explore the important RL concepts and the implementation of algorithms in PyTorch 1.x. The recipes in the book, along with real-world examples, will help you master various RL techniques, such as dynamic programming, Monte Carlo simulations, temporal difference, and Q-learning. You'll also gain insights into industry-specific applications of these techniques. Later chapters will guide you through solving problems such as the multi-armed bandit problem and the cartpole problem using the multi-armed bandit algorithm and function approximation. You'll also learn how to use Deep Q-Networks to complete Atari games, along with how to effectively implement policy gradients. Finally, you'll discover how RL techniques are applied to Blackjack, Gridworld environments, internet advertising, and the Flappy Bird game.By the end of this book, you'll have developed the skills you need to implement popular RL algorithms and use RL techniques to solve real-world problems.What you will learnUse Q-learning and the state–action–reward–state–action (SARSA) algorithm to solve various Gridworld problemsDevelop a multi-armed bandit algorithm to optimize display advertisingScale up learning and control processes using Deep Q-NetworksSimulate Markov Decision Processes, OpenAI Gym environments, and other common control problemsSelect and build RL models, evaluate their performance, and optimize and deploy themUse policy gradient methods to solve continuous RL problemsWho this book is forMachine learning engineers, data scientists and AI researchers looking for quick solutions to different reinforcement learning problems will find this book useful. Although prior knowledge of machine learning concepts is required, experience with PyTorch will be useful but not necessary.
R 1,498.00


R 3,053.00

Future of Learning with Large Language Models
The book covers theoretical foundations on how LLMs can enhance learning, cognitive reinforcement, improving learning efficiency, and personalization in learning, applications across the curriculum, teacher training and support for LLM integration, using in assessment and evaluation, and measuring the impact and affordances of LLMs. It acknowledges the challenges that come with integrating LLMs into education and will address the responsible development and deployment strategies to ensure that the models become powerful tools for good in the hands of educators. It explores potential research directions, such as the development of domain-specific models, and the creation of ethical frameworks for LLM use in education. As education enters an era of AI-enablement, this visionary book equips teachers, administrators, technologists, and policymakers with an authoritative guide to harnessing the power of large language models. Readers will discover how these advanced systems can expand access to quality education, tailor learning experiences, and nurture the innovators and critical thinkers of tomorrow, and glimpse into the future of learning and education with LLMs.
R 7,234.88

Debugging Machine Learning Models with Python
Master reproducible ML and DL models with Python and PyTorch to achieve high performance, explainability, and real-world successKey FeaturesLearn how to improve performance of your models and eliminate model biasesStrategically design your machine learning systems to minimize chances of failure in productionDiscover advanced techniques to solve real-world challengesPurchase of the print or Kindle book includes a free PDF eBookBook DescriptionDebugging Machine Learning Models with Python is a comprehensive guide that navigates you through the entire spectrum of mastering machine learning, from foundational concepts to advanced techniques. It goes beyond the basics to arm you with the expertise essential for building reliable, high-performance models for industrial applications. Whether you're a data scientist, analyst, machine learning engineer, or Python developer, this book will empower you to design modular systems for data preparation, accurately train and test models, and seamlessly integrate them into larger technologies.By bridging the gap between theory and practice, you'll learn how to evaluate model performance, identify and address issues, and harness recent advancements in deep learning and generative modeling using PyTorch and scikit-learn. Your journey to developing high quality models in practice will also encompass causal and human-in-the-loop modeling and machine learning explainability. With hands-on examples and clear explanations, you'll develop the skills to deliver impactful solutions across domains such as healthcare, finance, and e-commerce.What you will learnEnhance data quality and eliminate data flawsEffectively assess and improve the performance of your modelsDevelop and optimize deep learning models with PyTorchMitigate biases to ensure fairnessUnderstand explainability techniques to improve model qualitiesUse test-driven modeling for data processing and modeling improvementExplore techniques to bring reliable models to productionDiscover the benefits of causal and human-in-the-loop modelingWho this book is forThis book is for data scientists, analysts, machine learning engineers, Python developers, and students looking to build reliable, high-performance, and explainable machine learning models for production across diverse industrial applications. Fundamental Python skills are all you need to dive into the concepts and practical examples covered. Whether you're new to machine learning or an experienced practitioner, this book offers a breadth of knowledge and practical insights to elevate your modeling skills.
R 1,693.00

R 336.00


Challenges and Applications of Generative Large Language Models
Large Language Models (LLMs) are a form of generative AI, based on Deep Learning, that rely on very large textual datasets, and are composed of hundreds of millions (or even billions) of parameters. LLMs can be trained and then refined to perform several NLP tasks like generation of text, summarization, translation, prediction, and more. Challenges and Applications of Generative Large Language Models assists readers in understanding LLMs, their applications in various sectors, challenges that need to be encountered while developing them, open issues, and ethical concerns. LLMs are just one approach in the huge set of methodologies provided by AI. The book, describing strengths and weaknesses of such models, enables researchers and software developers to decide whether an LLM is the right choice for the problem they are trying to solve. AI is the new buzzword, in particular Generative AI for human language (LLMs). As such, an overwhelming amount of hype is obfuscating and giving a distorted view about AI in general, and LLMs in particular. Thus, trying to provide an objective description of LLMs is useful to any person (researcher, professional, student) who is starting to work with human language. The risk, otherwise, is to forget the whole set of methodologies developed by AI in the last decades, sticking with only one model which, although very powerful, has known weaknesses and risks. Given the high level of hype around such models, Challenges and Applications of Generative Large Language Models (LLMs) enables readers to clarify and understand their scope and limitations.
R 5,297.00

Large Language Models and Prompt Engineering
This book provides a structured and accessible introduction to the theory, design, and real-world use of large language models (LLMs). As generative AI systems become embedded across industries, this book offers readers a balanced perspective that combines technical foundations with practical guidance and critical reflection.Beginning with the fundamentals of LLMs and prompt engineering, this book progressively explores advanced prompting techniques, application and interaction frameworks, and the underlying architectures that power modern language models. Dedicated chapters examine how LLMs are being applied in high-impact domains such as healthcare, customer support, and education, highlighting design principles, implementation considerations, and illustrative case studies. The book also addresses model fine-tuning, evaluation methods, and the ethical, social, and regulatory challenges associated with deploying LLMs at scale.This book supports readers in:· Understanding prompt engineering strategies and application frameworks· Gaining insight into contemporary LLM architecture and capabilities· Designing and evaluating LLM-based systems across real-world domains· Considering ethics, safety, and human-centered aspects of LLM deploymentThis book is a practical, accessible resource for those seeking to work thoughtfully and responsibly with LLMs in both academic and applied settings.
R 5,165.00

Hands-On Natural Language Processing with Python
Foster your NLP applications with the help of deep learning, NLTK, and TensorFlowKey FeaturesWeave neural networks into linguistic applications across various platformsPerform NLP tasks and train its models using NLTK and TensorFlowBoost your NLP models with strong deep learning architectures such as CNNs and RNNsBook DescriptionNatural language processing (NLP) has found its application in various domains, such as web search, advertisements, and customer services, and with the help of deep learning, we can enhance its performances in these areas. Hands-On Natural Language Processing with Python teaches you how to leverage deep learning models for performing various NLP tasks, along with best practices in dealing with today’s NLP challenges.To begin with, you will understand the core concepts of NLP and deep learning, such as Convolutional Neural Networks (CNNs), recurrent neural networks (RNNs), semantic embedding, Word2vec, and more. You will learn how to perform each and every task of NLP using neural networks, in which you will train and deploy neural networks in your NLP applications. You will get accustomed to using RNNs and CNNs in various application areas, such as text classification and sequence labeling, which are essential in the application of sentiment analysis, customer service chatbots, and anomaly detection. You will be equipped with practical knowledge in order to implement deep learning in your linguistic applications using Python's popular deep learning library, TensorFlow.By the end of this book, you will be well versed in building deep learning-backed NLP applications, along with overcoming NLP challenges with best practices developed by domain experts.What you will learnImplement semantic embedding of words to classify and find entitiesConvert words to vectors by training in order to perform arithmetic operationsTrain a deep learning model to detect classification of tweets and newsImplement a question-answer model with search and RNN modelsTrain models for various text classification datasets using CNNImplement WaveNet a deep generative model for producing a natural-sounding voiceConvert voice-to-text and text-to-voiceTrain a model to convert speech-to-text using DeepSpeechWho this book is forHands-on Natural Language Processing with Python is for you if you are a developer, machine learning or an NLP engineer who wants to build a deep learning application that leverages NLP techniques. This comprehensive guide is also useful for deep learning users who want to extend their deep learning skills in building NLP applications. All you need is the basics of machine learning and Python to enjoy the book.
R 1,498.00

Natural Language Processing with TensorFlow
From introductory NLP tasks to Transformer models, this new edition teaches you to utilize powerful TensorFlow APIs to implement end-to-end NLP solutions driven by performant ML (Machine Learning) modelsKey FeaturesLearn to solve common NLP problems effectively with TensorFlow 2.xImplement end-to-end data pipelines guided by the underlying ML model architectureUse advanced LSTM techniques for complex data transformations, custom models and metricsBook DescriptionLearning how to solve natural language processing (NLP) problems is an important skill to master due to the explosive growth of data combined with the demand for machine learning solutions in production. Natural Language Processing with TensorFlow, Second Edition, will teach you how to solve common real-world NLP problems with a variety of deep learning model architectures. The book starts by getting readers familiar with NLP and the basics of TensorFlow. Then, it gradually teaches you different facets of TensorFlow 2.x. In the following chapters, you then learn how to generate powerful word vectors, classify text, generate new text, and generate image captions, among other exciting use-cases of real-world NLP. TensorFlow has evolved to be an ecosystem that supports a machine learning workflow through ingesting and transforming data, building models, monitoring, and productionization. We will then read text directly from files and perform the required transformations through a TensorFlow data pipeline. We will also see how to use a versatile visualization tool known as TensorBoard to visualize our models. By the end of this NLP book, you will be comfortable with using TensorFlow to build deep learning models with many different architectures, and efficiently ingest data using TensorFlow Additionally, you'll be able to confidently use TensorFlow throughout your machine learning workflow.What you will learnLearn core concepts of NLP and techniques with TensorFlowUse state-of-the-art Transformers and how they are used to solve NLP tasksPerform sentence classification and text generation using CNNs and RNNsUtilize advanced models for machine translation and image caption generationBuild end-to-end data pipelines in TensorFlowLearn interesting facts and practices related to the task at handCreate word representations of large amounts of data for deep learningWho this book is forThis book is for Python developers and programmers with a strong interest in deep learning, who want to learn how to leverage TensorFlow to simplify NLP tasks.Fundamental Python skills are assumed, as well as basic knowledge of machine learning and undergraduate-level calculus and linear algebra. No previous natural language processing experience required.
R 1,433.00


Mastering Text Analytics
This book is a comprehensive guide to mastering Natural Language Processing (NLP), a rapidly growing field in AI-powered text and data analytics. It equips you with tools and techniques to extract valuable insights from both structured and unstructured data, enabling you to uncover insights beyond the reach of traditional data analysis methods and stay competitive in this evolving domain. The book starts with foundational concepts, such as collecting and extracting data for NLP projects, before progressing to advanced topics like applications of transfer learning in NLP and Large Language Models (LLMs). Each chapter emphasizes real-world applications and includes practical case studies to ensure the knowledge is immediately applicable. Throughout the book, readers will find Python code demonstrations, hands-on projects, and detailed explanations of key concepts. Special features include business use cases from industries like healthcare and customer service, practice exercises to reinforce learning, and explorations of emerging NLP technologies. These elements make the book not only informative but also highly engaging and interactive. By the end of the book, the reader will have a solid foundation in Generative AI techniques to apply them to complex challenges. Whether you're a budding data scientist or a seasoned professional, this guide will help you harness the power of AI-driven text and data analytics effectively. What you will learn: Understand NLP with easy-to-follow explanations, examples, and Python implementations. Explore techniques such as transformers, word embeddings, and pragmatic analysis in real-world contexts. Work with real-world datasets and apply pre-processing, tokenization, and text extraction using NLP libraries. How to build complete NLP pipelines from data collection to model implementation, including sentiment analysis and chatbots. Learn state-of-the-art methods like deep learning techniques in NLP, large language models (LLMs), and zero-shot learning in NLP. Who this book is for: This book is tailored for data scientists, machine learning engineers, AI practitioners, and software developers seeking to learn NLP techniques and apply them to solve problems.
R 1,368.00



Understanding Large Language Models
This book will teach you the underlying concepts of large language models (LLMs), as well as the technologies associated with them.The book starts with an introduction to the rise of conversational AIs such as ChatGPT, and how they are related to the broader spectrum of large language models. From there, you will learn about natural language processing (NLP), its core concepts, and how it has led to the rise of LLMs. Next, you will gain insight into transformers and how their characteristics, such as self-attention, enhance the capabilities of language modeling, along with the unique capabilities of LLMs. The book concludes with an exploration of the architectures of various LLMs and the opportunities presented by their ever-increasing capabilities—as well as the dangers of their misuse.After completing this book, you will have a thorough understanding of LLMs and will be ready to take your first steps in implementing them into your own projects. What You Will LearnGrasp the underlying concepts of LLMsGain insight into how the concepts and approaches of NLP have evolved over the yearsUnderstand transformer models and attention mechanismsExplore different types of LLMs and their applicationsUnderstand the architectures of popular LLMsDelve into misconceptions and concerns about LLMs, as well as how to best utilize themWho This Book Is ForAnyone interested in learning the foundational concepts of NLP, LLMs, and recent advancements of deep learning
R 1,026.00

Privacy and Security for Large Language Models
As the deployment of AI technologies surges, the need to safeguard privacy and security in the use of large language models (LLMs) is more crucial than ever. Professionals face the challenge of leveraging the immense power of LLMs for personalized applications while ensuring stringent data privacy and security. The stakes are high, as privacy breaches and data leaks can lead to significant reputational and financial repercussions. This book serves as a much-needed guide to addressing these pressing concerns. Dr. Baihan Lin offers a comprehensive exploration of privacy-preserving and security techniques like differential privacy, federated learning, and homomorphic encryption, applied specifically to LLMs. With its hands-on code examples, real-world case studies, and robust fine-tuning methodologies in domain-specific applications, this book is a vital resource for developing secure, ethical, and personalized AI solutions in today's privacy-conscious landscape. By reading this book, you'll: Discover privacy-preserving techniques for LLMsLearn secure fine-tuning methodologies for personalizing LLMsUnderstand secure deployment strategies and protection against attacksExplore ethical considerations like bias and transparencyGain insights from real-world case studies across healthcare, finance, and moreExamine the legal and cultural landscape of AI deployment
R 1,978.00

R 764.00

R 672.00


R 764.00

Mastering NLP From Foundations to Agents
This second edition spans NLP foundations to LLMs, RAG, & agentic systems, teaching you to design and fine-tune production-ready AI solutions in Python.Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*Key FeaturesEngineer NLP systems from ML foundations to LLM architecturesImplement RAG pipelines, routing layers, and agent workflowsFine-tune and align LLMs using LoRA, RLHF, and DPO methodsDesign production-grade AI systems with governance and safetyBook DescriptionNatural Language Processing has evolved beyond rule-based systems and classical machine learning (ML). This second edition guides you through that transformation from mathematical and ML foundations to large language models, retrieval pipelines, agentic automation, and AI-native system design. It strengthens core NLP concepts while expanding into modern architectures such as transformers, parameter-efficient fine-tuning (LoRA and QLoRA), and alignment methods like RLHF and DPO.You’ll begin with essential linear algebra, probability, and ML principles before moving into text preprocessing, feature engineering, classification pipelines, and deep learning architectures. From there, the focus shifts to system design: building Retrieval-Augmented Generation (RAG) pipelines, implementing model routing strategies that balance cost and performance, and orchestrating structured multi-agent workflows. You'll also introduce structured interoperability patterns, including the Model Context Protocol (MCP). Governance and safety will be treated as architectural concerns, demonstrating how policy and compliance can be integrated directly into AI systems. By the end, you will have the tools to implement NLP techniques and be equipped to design, govern, and deploy intelligent systems built on them.*Email sign-up and proof of purchase requiredWhat you will learnBuild strong NLP foundations in math and MLEngineer text classification and NLP pipelinesTrain and fine-tune modern LLM architecturesImplement RAG systems with LangChainOrchestrate multiple AI agents and tools to solve complex tasksEvaluate NLP model performance and apply AI safety best practicesIntegrate external data and tools using Model Context Protocol (MCP)Fine-tune transformers with LoRA, QLoRA, and DPO techniquesWho this book is forThis book is for machine learning engineers, data scientists, and NLP practitioners looking to deepen their expertise and build advanced AI solutions. It also benefits professionals and researchers who want to apply the latest NLP and LLM techniques in real-world projects. Software engineers entering the AI field and tech enthusiasts keen on modern NLP advancements will find it valuable. A solid understanding of Python and basic Machine Learning concepts is assumed.
R 1,791.00

R 489.00

















































