Generative AI Foundations in Python

Generative AI Foundations in Python
Author :
Publisher : Packt Publishing Ltd
Total Pages : 190
Release :
ISBN-10 : 9781835464915
ISBN-13 : 1835464912
Rating : 4/5 (15 Downloads)

Book Synopsis Generative AI Foundations in Python by : Carlos Rodriguez

Download or read book Generative AI Foundations in Python written by Carlos Rodriguez and published by Packt Publishing Ltd. This book was released on 2024-07-26 with total page 190 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.

Artificial Intelligence with Python

Artificial Intelligence with Python
Author :
Publisher : Packt Publishing Ltd
Total Pages : 437
Release :
ISBN-10 : 9781786469670
ISBN-13 : 1786469677
Rating : 4/5 (70 Downloads)

Book Synopsis Artificial Intelligence with Python by : Prateek Joshi

Download or read book Artificial Intelligence with Python written by Prateek Joshi and published by Packt Publishing Ltd. This book was released on 2017-01-27 with total page 437 pages. Available in PDF, EPUB and Kindle. Book excerpt: Build real-world Artificial Intelligence applications with Python to intelligently interact with the world around you About This Book Step into the amazing world of intelligent apps using this comprehensive guide Enter the world of Artificial Intelligence, explore it, and create your own applications Work through simple yet insightful examples that will get you up and running with Artificial Intelligence in no time Who This Book Is For This book is for Python developers who want to build real-world Artificial Intelligence applications. This book is friendly to Python beginners, but being familiar with Python would be useful to play around with the code. It will also be useful for experienced Python programmers who are looking to use Artificial Intelligence techniques in their existing technology stacks. What You Will Learn Realize different classification and regression techniques Understand the concept of clustering and how to use it to automatically segment data See how to build an intelligent recommender system Understand logic programming and how to use it Build automatic speech recognition systems Understand the basics of heuristic search and genetic programming Develop games using Artificial Intelligence Learn how reinforcement learning works Discover how to build intelligent applications centered on images, text, and time series data See how to use deep learning algorithms and build applications based on it In Detail Artificial Intelligence is becoming increasingly relevant in the modern world where everything is driven by technology and data. It is used extensively across many fields such as search engines, image recognition, robotics, finance, and so on. We will explore various real-world scenarios in this book and you'll learn about various algorithms that can be used to build Artificial Intelligence applications. During the course of this book, you will find out how to make informed decisions about what algorithms to use in a given context. Starting from the basics of Artificial Intelligence, you will learn how to develop various building blocks using different data mining techniques. You will see how to implement different algorithms to get the best possible results, and will understand how to apply them to real-world scenarios. If you want to add an intelligence layer to any application that's based on images, text, stock market, or some other form of data, this exciting book on Artificial Intelligence will definitely be your guide! Style and approach This highly practical book will show you how to implement Artificial Intelligence. The book provides multiple examples enabling you to create smart applications to meet the needs of your organization. In every chapter, we explain an algorithm, implement it, and then build a smart application.

Artificial Intelligence Programming with Python

Artificial Intelligence Programming with Python
Author :
Publisher : John Wiley & Sons
Total Pages : 724
Release :
ISBN-10 : 9781119820963
ISBN-13 : 1119820960
Rating : 4/5 (63 Downloads)

Book Synopsis Artificial Intelligence Programming with Python by : Perry Xiao

Download or read book Artificial Intelligence Programming with Python written by Perry Xiao and published by John Wiley & Sons. This book was released on 2022-02-21 with total page 724 pages. Available in PDF, EPUB and Kindle. Book excerpt: A hands-on roadmap to using Python for artificial intelligence programming In Practical Artificial Intelligence Programming with Python: From Zero to Hero, veteran educator and photophysicist Dr. Perry Xiao delivers a thorough introduction to one of the most exciting areas of computer science in modern history. The book demystifies artificial intelligence and teaches readers its fundamentals from scratch in simple and plain language and with illustrative code examples. Divided into three parts, the author explains artificial intelligence generally, machine learning, and deep learning. It tackles a wide variety of useful topics, from classification and regression in machine learning to generative adversarial networks. He also includes: Fulsome introductions to MATLAB, Python, AI, machine learning, and deep learning Expansive discussions on supervised and unsupervised machine learning, as well as semi-supervised learning Practical AI and Python “cheat sheet” quick references This hands-on AI programming guide is perfect for anyone with a basic knowledge of programming—including familiarity with variables, arrays, loops, if-else statements, and file input and output—who seeks to understand foundational concepts in AI and AI development.

Deep Learning for Coders with fastai and PyTorch

Deep Learning for Coders with fastai and PyTorch
Author :
Publisher : O'Reilly Media
Total Pages : 624
Release :
ISBN-10 : 9781492045496
ISBN-13 : 1492045497
Rating : 4/5 (96 Downloads)

Book Synopsis Deep Learning for Coders with fastai and PyTorch by : Jeremy Howard

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

Generative AI with Python and TensorFlow 2

Generative AI with Python and TensorFlow 2
Author :
Publisher : Packt Publishing Ltd
Total Pages : 489
Release :
ISBN-10 : 9781800208506
ISBN-13 : 1800208502
Rating : 4/5 (06 Downloads)

Book Synopsis Generative AI with Python and TensorFlow 2 by : Joseph Babcock

Download or read book Generative AI with Python and TensorFlow 2 written by Joseph Babcock and published by Packt Publishing Ltd. This book was released on 2021-04-30 with total page 489 pages. Available in PDF, EPUB and Kindle. Book excerpt: Fun and exciting projects to learn what artificial minds can create Key FeaturesCode examples are in TensorFlow 2, which make it easy for PyTorch users to follow alongLook inside the most famous deep generative models, from GPT to MuseGANLearn to build and adapt your own models in TensorFlow 2.xExplore exciting, cutting-edge use cases for deep generative AIBook Description Machines are excelling at creative human skills such as painting, writing, and composing music. Could you be more creative than generative AI? In this book, you’ll explore the evolution of generative models, from restricted Boltzmann machines and deep belief networks to VAEs and GANs. You’ll learn how to implement models yourself in TensorFlow and get to grips with the latest research on deep neural networks. There’s been an explosion in potential use cases for generative models. You’ll look at Open AI’s news generator, deepfakes, and training deep learning agents to navigate a simulated environment. Recreate the code that’s under the hood and uncover surprising links between text, image, and music generation. What you will learnExport the code from GitHub into Google Colab to see how everything works for yourselfCompose music using LSTM models, simple GANs, and MuseGANCreate deepfakes using facial landmarks, autoencoders, and pix2pix GANLearn how attention and transformers have changed NLPBuild several text generation pipelines based on LSTMs, BERT, and GPT-2Implement paired and unpaired style transfer with networks like StyleGANDiscover emerging applications of generative AI like folding proteins and creating videos from imagesWho this book is for This is a book for Python programmers who are keen to create and have some fun using generative models. To make the most out of this book, you should have a basic familiarity with math and statistics for machine learning.

Building AI Applications with OpenAI APIs

Building AI Applications with OpenAI APIs
Author :
Publisher : Packt Publishing Ltd
Total Pages : 252
Release :
ISBN-10 : 9781835884010
ISBN-13 : 1835884016
Rating : 4/5 (10 Downloads)

Book Synopsis Building AI Applications with OpenAI APIs by : Martin Yanev

Download or read book Building AI Applications with OpenAI APIs written by Martin Yanev and published by Packt Publishing Ltd. This book was released on 2024-10-04 with total page 252 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.

Python Natural Language Processing Cookbook

Python Natural Language Processing Cookbook
Author :
Publisher : Packt Publishing Ltd
Total Pages : 312
Release :
ISBN-10 : 9781803241449
ISBN-13 : 1803241446
Rating : 4/5 (49 Downloads)

Book Synopsis Python Natural Language Processing Cookbook by : Zhenya Antić

Download or read book Python Natural Language Processing Cookbook written by Zhenya Antić and published by Packt Publishing Ltd. This book was released on 2024-09-13 with total page 312 pages. Available in PDF, EPUB and Kindle. Book excerpt: Updated to include three new chapters on transformers, natural language understanding (NLU) with explainable AI, and dabbling with popular LLMs from Hugging Face and OpenAI Key Features Leverage ready-to-use recipes with the latest LLMs, including Mistral, Llama, and OpenAI models Use LLM-powered agents for custom tasks and real-world interactions Gain practical, in-depth knowledge of transformers and their role in implementing various NLP tasks with open-source and advanced LLMs Purchase of the print or Kindle book includes a free PDF eBook Book 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 learn Understand fundamental NLP concepts along with their applications using examples in Python Classify text quickly and accurately with rule-based and supervised methods Train NER models and perform sentiment analysis to identify entities and emotions in text Explore topic modeling and text visualization to reveal themes and relationships within text Leverage Hugging Face and OpenAI LLMs to perform advanced NLP tasks Use question-answering techniques to handle both open and closed domains Apply XAI techniques to better understand your model predictions Who this book is for This 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 Generative AI with LLMs.