Professional Documents
Culture Documents
Applied Generative AI for Beginners: Practical Knowledge on Diffusion Models, ChatGPT, and Other LLMs Akshay Kulkarni full chapter instant download
Applied Generative AI for Beginners: Practical Knowledge on Diffusion Models, ChatGPT, and Other LLMs Akshay Kulkarni full chapter instant download
https://ebookmass.com/product/applied-generative-ai-for-
beginners-practical-knowledge-on-diffusion-models-chatgpt-and-
other-llms-1st-edition-akshay-kulkarni/
https://ebookmass.com/product/generative-ai-how-chatgpt-and-
other-ai-tools-will-revolutionize-business-1st-edition-tom-
taulli/
https://ebookmass.com/product/early-release-quick-start-guide-to-
large-language-models-strategies-and-best-practices-for-using-
chatgpt-and-other-llms-sinan-ozdemir/
https://ebookmass.com/product/introduction-to-prescriptive-ai-a-
primer-for-decision-intelligence-solutioning-with-python-akshay-
kulkarni/
ChatGPT for Java: A Hands-on Developer’s Guide to
ChatGPT and Open AI APIs Bruce Hopkins
https://ebookmass.com/product/chatgpt-for-java-a-hands-on-
developers-guide-to-chatgpt-and-open-ai-apis-bruce-hopkins/
https://ebookmass.com/product/chatgpt-for-java-a-hands-on-
developers-guide-to-chatgpt-and-open-ai-apis-1st-edition-bruce-
hopkins/
https://ebookmass.com/product/chatgpt-for-java-a-hands-on-
developers-guide-to-chatgpt-and-open-ai-apis-1st-edition-bruce-
hopkins-2/
https://ebookmass.com/product/chatgpt-for-dummies-2-books-
in-1-chatgpt-prompts-chatgpt-for-beginners-over-300-prompts-and-
learning-example-oliver-ruiz/
https://ebookmass.com/product/chatgpt-for-beginners-features-
foundations-and-applications-1st-edition-eric-sarrion/
Applied
Generative AI for
Beginners
Practical Knowledge on Diffusion Models,
ChatGPT, and Other LLMs
—
Akshay Kulkarni
Adarsha Shivananda
Anoosh Kulkarni
Dilip Gudivada
Applied Generative AI for
Beginners
Practical Knowledge on Diffusion
Models, ChatGPT, and Other LLMs
Akshay Kulkarni
Adarsha Shivananda
Anoosh Kulkarni
Dilip Gudivada
Applied Generative AI for Beginners: Practical Knowledge on Diffusion Models,
ChatGPT, and Other LLMs
Akshay Kulkarni Anoosh Kulkarni
Bangalore, Karnataka, India Bangalore, Karnataka, India
Adarsha Shivananda Dilip Gudivada
Hosanagara, Karnataka, India Bangalore, India
Introduction�������������������������������������������������������������������������������������������������������������xv
v
Table of Contents
Transformer��������������������������������������������������������������������������������������������������������������������������������� 27
Large Language Models (LLMs)�������������������������������������������������������������������������������������������������� 29
Conclusion���������������������������������������������������������������������������������������������������������������������������������� 30
vii
Table of Contents
viii
Table of Contents
Implementation������������������������������������������������������������������������������������������������������������������������� 148
Using the OpenAI API with Python��������������������������������������������������������������������������������������� 148
Leveraging Azure OpenAI Service���������������������������������������������������������������������������������������� 153
Conclusion�������������������������������������������������������������������������������������������������������������������������������� 153
ix
Table of Contents
Index��������������������������������������������������������������������������������������������������������������������� 207
x
About the Authors
Akshay Kulkarni is an AI and machine learning evangelist
and IT leader. He has assisted numerous Fortune 500 and
global firms in advancing strategic transformations using
AI and data science. He is a Google Developer Expert,
author, and regular speaker at major AI and data science
conferences (including Strata, O’Reilly AI Conf, and GIDS).
He is also a visiting faculty member for some of the top
graduate institutes in India. In 2019, he was featured as one
of the top 40 under-40 data scientists in India. He enjoys
reading, writing, coding, and building next-gen AI products.
xii
About the Technical Reviewer
Prajwal is a lead applied scientist and consultant in the
field of generative AI. He is passionate about building AI
applications in the service of humanity.
xiii
Introduction
Welcome to Applied Generative AI for Beginners: Practical Knowledge on Diffusion
Models, ChatGPT, and Other LLMs. Within these pages, you're about to embark on an
exhilarating journey into the world of generative artificial intelligence (AI). This book
serves as a comprehensive guide that not only unveils the intricacies of generative AI but
also equips you with the knowledge and skills to implement it.
In recent years, generative AI has emerged as a powerhouse of innovation, reshaping
the technological landscape and redefining the boundaries of what machines can
achieve. At its core, generative AI empowers artificial systems to understand and
generate human language with remarkable fluency and creativity. As we delve deep
into this captivating landscape, you'll gain both a theoretical foundation and practical
insights into this cutting-edge field.
xv
Introduction
xvi
CHAPTER 1
Introduction to Generative AI
Have you ever imagined that simply by picturing something and typing, an image or
video could be generated? How fascinating is that? This concept, once relegated to
the realm of science fiction, has become a tangible reality in our modern world. The
idea that our thoughts and words can be transformed into visual content is not only
captivating but a testament to human innovation and creativity.
Even as data scientists, many of us never anticipated that AI could reach a point
where it could generate text for a specific use case. The struggles we faced in writing
code or the countless hours spent searching on Google for the right solution were once
common challenges. Yet, the technological landscape has shifted dramatically, and
those laborious tasks have become relics of the past.
1
© Akshay Kulkarni, Adarsha Shivananda, Anoosh Kulkarni, Dilip Gudivada 2023
A. Kulkarni et al., Applied Generative AI for Beginners, https://doi.org/10.1007/978-1-4842-9994-4_1
Chapter 1 Introduction to Generative AI
How has this become possible? The answer lies in the groundbreaking
advancements in deep learning and natural language processing (NLP). These
technological leaps have paved the way for generative AI, a field that harnesses the
power of algorithms to translate thoughts into visual representations or automates the
creation of complex code. Thanks to these developments, we’re now experiencing a
future where imagination and innovation intertwine, transforming the once-unthinkable
into everyday reality.
2
Chapter 1 Introduction to Generative AI
Components of AI
• Artificial Intelligence (AI): It is the broader discipline of machine
learning to perform tasks that would typically require human
intelligence.
3
Chapter 1 Introduction to Generative AI
Domains of Generative AI
Let’s deep dive into domains of generative AI in detail, including what it is, how it works,
and some practical applications.
Text Generation
• What It Is: Text generation involves using AI models to create
humanlike text based on input prompts.
Image Generation
• What It Is: Image generation involves using various deep learning
models to create images that look real.
4
Chapter 1 Introduction to Generative AI
Audio Generation
• What It Is: Audio generation involves AI creating music, sounds, or
even humanlike voices.
Video Generation
• What It Is: Video generation involves AI creating videos, often by
combining existing visuals or completing missing parts.
Generating Images
Microsoft Bing Image Creator is a generative AI tool that uses artificial intelligence to
create images based on your text descriptions.
www.bing.com/images/create/
5
Another random document with
no related content on Scribd:
The Project Gutenberg eBook of Indians of the
Enchanted Desert
This ebook is for the use of anyone anywhere in the United States
and most other parts of the world at no cost and with almost no
restrictions whatsoever. You may copy it, give it away or re-use it
under the terms of the Project Gutenberg License included with this
ebook or online at www.gutenberg.org. If you are not located in the
United States, you will have to check the laws of the country where
you are located before using this eBook.
Language: English
[Contents]
[Contents]
Photo. by W. C. Wilson
ANNOUNCING THE SNAKE DANCE
BY
LEO CRANE
WITH ILLUSTRATIONS
BOSTON
LITTLE, BROWN, AND COMPANY
1925
[Contents]
Copyright, 1925,
By Little, Brown, and Company.
[Contents]
TO
[Contents]
CONTENTS
PAGE
I Nolens Volens 3
II Across the Plains 11
III Into “Indian Country” 22
IV Old Trails and Desert Fare 30
V Desert Life and Literature 44
VI A Northern Wonderland 54
VII The First Ball of the Season 65
VIII Old Oraibi 78
IX The Making and Breaking of Chiefs 94
X The Provinces of the “Mohoce or Mohoqui” 101
XI The Law of the Realm 113
XII Comments and Complaints 122
XIII A Desert Vendée 142
XIV Soldiers, Indians, and Schools 157
XV An Echo of the Dawn-Men 181
XVI Fiddles and Drums 191
XVII Service Tradition 210
XVIII Buttons and Bonds 224
XIX Our Friends, the Tourists 240
XX The Great Snake-Ceremony [viii] 260
XXI Desert Belascos 275
XXII On the Heels of Adventure 287
XXIII The Red Bootleggers 297
XXIV Held for Ransom 312
XXV Wanted at Court 325
XXVI Hopi Annals 336
XXVII L’Envoi 361
[ix]
[Contents]
ILLUSTRATIONS
[3]
I
NOLENS VOLENS
It is well for a man to respect his own vocation,
whatever it is, and to think himself bound to
uphold it and to claim for it the respect it
deserves.—Charles Dickens
When one came to know them better, as I sometimes did, they would
relate their problems in a constrained, half pathetic manner, as if,
seeking something and finding it not, they were confused. The idea
came to me that they were awed, if not actually bewildered, by their
uncommon [4]experiences in the big city. I did not dream that they
were struggling manfully, as indeed they could, to restrain a just
wrath; that their seeming pathos was a sort of crude pity, inspired by
the artificialities and cheap bluff that they saw around them. Their