[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx

Cloud AIGenAI Overview
SepĞ
ember - OcĞ
ober 2023
Chitresh Gyanani
Google Cloud Facilitator
Table of Contents
Primer on LLM and Generative AI
What are Google’s offerings?
01
02
Demo
This Week’s Assignment
03
04
PRIMERON LARGE
LANGUAGE MODELS
& GENERATIVE AI
We’re in anAI-driven revolution
Source: AI: Recent Trends and Applications, Emerging Communication and Computing
Steam Power
1784
Electricity
1870
Information
Technology
1969
Artificial Intelligence
Today
AI
NLP Evolution
What’s the noun in
this sentence?
What’s the invoice
amount?
Extraction
LLMs portend both quantitative and qualitative jumps in AI
capabilities
Conversational AI
Write an essay
Write some code
Generation
Translate this text to
Korean
Summarize this
document
Transformation
Are these the same
things?
Is the invoice vendor
recognized?
Matching
LLMs improve performance on
“classical NL” use cases
LLMs increasingly enable
new use cases.
Is the sentence’s
sentiment positive?
Is this an invoice?
Classification
What is a Large Language Model?
Traditional
programming
Wave of
neural networks
~2012
Cat:
type: animal
legs: 4
ears: 2
fur: yes
likes: yarn, catnip
(etc …)
This is a cat.
This is not a cat.
Is this a cat?
Yes
So, you’ve learned about
cats and millions of other
concepts …what’s a cat?
Go read this huuuuuuge
pile of books.
A cat is …
Generative
language models
LaMDA, PaLM, GPT-3, etc.
First, some vocab
Generative Model: An ML model that produces content, including language, code,
imagery, music, video, etc.
Large Language Model: machine learning models that are really good at
understanding and generating human language. Large refers to both size and
complexity of the neural network itself, as well as the size of the dataset it was trained
on. Can also be used for non-generative language tasks (eg classification)
Transformer: The neural network architecture underlying most of today’s generative
models (and, more widely, most SOTA ML models). Published by Google in 2017.
Prompt: the text you feed to your model
Prompt Design: The art and science of
figuring out what text to feed your language
model to get it to take on the behavior you
want.
What is a language model?
Write a poem about Cricket
Cricket, oh cricket, game of my heart,
Where legends are born and dreams start.
With bat and ball, we play as one,
Under the sun, until the day is done.
From the village green to the grandest stage,
Cricket unites us, age after age.
With every run, we cheer and shout,
As our heroes make us proud.
…
Zero-shot
Give examples
Convert from english to french.
peppermint : menthe poivrée
desert cactus : cactus du désert
potato : pomme de terre
onion :
…
Few-shot
Proprietary +Confidential
Give examples
Convert Python to Javascript.
Python: print("hello world")
Javascript: console.log("hello world")
Python: for x in range(0, 100):
Javascript:
Few-shot
Proprietary +Confidential
What is a language model?
User : Who are you?
Bot: I am Sachin Tendulkar, the famous cricketer
and the best batsman the world has seen.
User: Where do you live?
Bot: I live in Mumbai.
User: What do you currently do?
Bot: …
Dialog
Proprietary +Confidential
A few observations:
1. LLMs are designed to predict the next word in a sequence. They
are not required to be “truthful” when doing so.
2. LLMs can generate plausible-looking statements that are irrelevant
or factually incorrect.
3. Hallucinations: LLM’s can generate false statements.
Proprietary +Confidential
Decoding Strategies
The sky was full of
[sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)]
INPUT
OUTPUT
Proprietary +Confidential
Greedy Decoding
Select word with highest probability
The sky was full of
[sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)]
INPUT
OUTPUT
Proprietary +Confidential
Random Sampling
Randomly sample over the distribution
The sky was full of
[sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)]
INPUT
OUTPUT
Proprietary +Confidential
Temperature
T
emperature is a number used to tune the degree of randomness.
Lower temperature →less randomness
● T
emperature of 0 is deterministic (greed decoding)
● Generally better for tasks like q&a and summarization where you expect a
more “correct” answer
● If you notice the model repeating itself, the temp is probably too low
High temperature → more randomness
● Can result in more unusual (you might even say creative) response
● If you notice the model going off topic or being nonsensical, the temp is
likely too high
Proprietary +Confidential
Top K
[sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)]
Only sample from top K tokens
K =2
Top P
[sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)]
Chooses from smallest possible set
of words whose cumulative
probability >=probability P
P =.75
Demo
What are large language models?
ML algorithms that can recognize, predict, and
generate human languages
Pre-trained on petabyte scale text-based datasets
resulting in large models with 10s to 100s of
billions of parameters
LLMs are normally pre-trained on a large corpus
of text followed by fine-tuning on a specific task
Go read this huuuuuuge pile
of books.
So, you’ve learned about
cats and millions of other
concepts …what’s a cat?
A cat is a small, domesticated
carnivorous mammal.
Generative language models
LaMDA, PaLM, GPT-3, etc.
LLMs can also be called Large Models (includes all
types of data modality) and Generative AI (a
model that produces content)
Why are large language models
different?
LLMs are characterized by emergent
abilities, or the ability to perform tasks that
were not present in smaller models.
LLMs contextual understanding of human
language changes how we interact with
data and intelligent systems.
LLMs can find patterns and connections in
massive, disparate data corpora.
Search
Conversation
Content generation
Proprietary +Confidential
LLM applications in industry
Customer Support
● Interactive Humanlike Chatbots
● Conversation summarization for agents
● Sentiment Analysis and Entity extraction
Technology
● Generating Code Snippets from description
● Code Translation between languages
● Auto Generated Documentation from Code
Financial Services
● Auto-generated summary of documents
● Entity Extraction from KYC documents
HealthCare
● Domain specific entity extraction
● Case documentation summary
Retail
● Generating product descriptions
Media and Gaming
● Designing game storylines, scripts
● Auto Generated blogs, articles, and tweets
● Grammar Correction and text-formatting
Proprietary +Confidential
Traditional ML Dev
● Needs 1000+ training examples
to get started
● Needs ML expertise (probably)
● Needs compute time +hardware
● Thinks about minimizing a loss
function
● Needs 0 training examples*
● Does not need ML expertise*
● Does not need to train a model*
● Thinks about prompt design
LLM Dev
*T
o get started
WHAT ARE GEN-AI’S
OFFERINGS?
Consumers & enterprises have different needs….
Plan a 3 day
trip to
Patagonia
Create a
valentine
poem.
A picture of a
panda playing
yahtzee
How to make GF
pancakes?
Iwant to
write a novel.
How do Iget
started?
Create a jazz
song for a bday
card
How do we
control our
data
How do we deal with
fraud &security
We need to be
accurate &
explainable
How do we integrate our
existing data &
applications
How will we
control
costs?
Bard +MakerSuite VertexAI +Duet AI
Consumers Enterprises
Thank You
1 de 27

Recomendados

Conversational AI and Chatbot Integrations por
Conversational AI and Chatbot IntegrationsConversational AI and Chatbot Integrations
Conversational AI and Chatbot IntegrationsCristina Vidu
432 visualizações24 slides
An Introduction to Generative AI por
An Introduction  to Generative AIAn Introduction  to Generative AI
An Introduction to Generative AICori Faklaris
11.3K visualizações28 slides
Using the power of Generative AI at scale por
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scaleMaxim Salnikov
910 visualizações31 slides
Is AI generation the next platform shift? por
Is AI generation the next platform shift?Is AI generation the next platform shift?
Is AI generation the next platform shift?Bessemer Venture Partners
11.2K visualizações24 slides
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬 por
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬VINCI Digital - Industrial IoT (IIoT) Strategic Advisory
1.2K visualizações35 slides
ChatGPT 101 - Vancouver ChatGPT Experts por
ChatGPT 101 - Vancouver ChatGPT ExpertsChatGPT 101 - Vancouver ChatGPT Experts
ChatGPT 101 - Vancouver ChatGPT ExpertsAli Tavanayan
1.1K visualizações29 slides

Mais conteúdo relacionado

Mais procurados

Leveraging Generative AI & Best practices por
Leveraging Generative AI & Best practicesLeveraging Generative AI & Best practices
Leveraging Generative AI & Best practicesDianaGray10
1.7K visualizações21 slides
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx por
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptxDevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptxRohit Radhakrishnan
1K visualizações26 slides
Unlocking the Power of Generative AI An Executive's Guide.pdf por
Unlocking the Power of Generative AI An Executive's Guide.pdfUnlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdfPremNaraindas1
2.2K visualizações29 slides
Revolutionary-ChatGPT por
Revolutionary-ChatGPTRevolutionary-ChatGPT
Revolutionary-ChatGPT9 series
1.2K visualizações11 slides
USE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdf por
USE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdfUSE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdf
USE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdfAnushkaRoyBardhan1
88 visualizações12 slides
ChatGPT vs. GPT-3.pdf por
ChatGPT vs. GPT-3.pdfChatGPT vs. GPT-3.pdf
ChatGPT vs. GPT-3.pdfAddepto
495 visualizações4 slides

Mais procurados(20)

Leveraging Generative AI & Best practices por DianaGray10
Leveraging Generative AI & Best practicesLeveraging Generative AI & Best practices
Leveraging Generative AI & Best practices
DianaGray101.7K visualizações
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx por Rohit Radhakrishnan
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptxDevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
Rohit Radhakrishnan1K visualizações
Unlocking the Power of Generative AI An Executive's Guide.pdf por PremNaraindas1
Unlocking the Power of Generative AI An Executive's Guide.pdfUnlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdf
PremNaraindas12.2K visualizações
Revolutionary-ChatGPT por 9 series
Revolutionary-ChatGPTRevolutionary-ChatGPT
Revolutionary-ChatGPT
9 series1.2K visualizações
USE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdf por AnushkaRoyBardhan1
USE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdfUSE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdf
USE OF GENERATIVE AI IN THE FIELD OF PUBLIC RELATIONS.pdf
AnushkaRoyBardhan188 visualizações
ChatGPT vs. GPT-3.pdf por Addepto
ChatGPT vs. GPT-3.pdfChatGPT vs. GPT-3.pdf
ChatGPT vs. GPT-3.pdf
Addepto495 visualizações
UTILITY OF AI por Andre Muscat
UTILITY OF AIUTILITY OF AI
UTILITY OF AI
Andre Muscat334 visualizações
The Creative Ai storm por Leandro Righini
The Creative Ai stormThe Creative Ai storm
The Creative Ai storm
Leandro Righini658 visualizações
AI FOR BUSINESS LEADERS por Andre Muscat
AI FOR BUSINESS LEADERSAI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERS
Andre Muscat926 visualizações
Can AI finally "cure" the Marketing Myopia? por Tathagat Varma
Can AI finally "cure" the Marketing Myopia?Can AI finally "cure" the Marketing Myopia?
Can AI finally "cure" the Marketing Myopia?
Tathagat Varma197 visualizações
Generative-AI-in-enterprise-20230615.pdf por Liming Zhu
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdf
Liming Zhu835 visualizações
Generative AI and law.pptx por Chris Marsden
Generative AI and law.pptxGenerative AI and law.pptx
Generative AI and law.pptx
Chris Marsden630 visualizações
14 2 2023 - AI & Marketing - Hugues Rey.pdf por Hugues Rey
14 2 2023 - AI & Marketing - Hugues Rey.pdf14 2 2023 - AI & Marketing - Hugues Rey.pdf
14 2 2023 - AI & Marketing - Hugues Rey.pdf
Hugues Rey240 visualizações
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 por DianaGray10
AI and ML Series - Introduction to Generative AI and LLMs - Session 1AI and ML Series - Introduction to Generative AI and LLMs - Session 1
AI and ML Series - Introduction to Generative AI and LLMs - Session 1
DianaGray101.2K visualizações
How AI is going to change the world _M.Mujeeb Riaz.pdf por Mujeeb Riaz
How AI is going to change the world _M.Mujeeb Riaz.pdfHow AI is going to change the world _M.Mujeeb Riaz.pdf
How AI is going to change the world _M.Mujeeb Riaz.pdf
Mujeeb Riaz763 visualizações
Generative AI Fundamentals - Databricks por Vijayananda Mohire
Generative AI Fundamentals - DatabricksGenerative AI Fundamentals - Databricks
Generative AI Fundamentals - Databricks
Vijayananda Mohire232 visualizações
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74) por Naoki (Neo) SATO
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Naoki (Neo) SATO1.2K visualizações
GENERATIVE AI, THE FUTURE OF PRODUCTIVITY por Andre Muscat
GENERATIVE AI, THE FUTURE OF PRODUCTIVITYGENERATIVE AI, THE FUTURE OF PRODUCTIVITY
GENERATIVE AI, THE FUTURE OF PRODUCTIVITY
Andre Muscat6.5K visualizações
The updated non-technical introduction to ChatGPT SEDA March 2023.pptx por Sue Beckingham
The updated non-technical introduction to ChatGPT SEDA March 2023.pptxThe updated non-technical introduction to ChatGPT SEDA March 2023.pptx
The updated non-technical introduction to ChatGPT SEDA March 2023.pptx
Sue Beckingham806 visualizações
Responsible Generative AI por CMassociates
Responsible Generative AIResponsible Generative AI
Responsible Generative AI
CMassociates238 visualizações

Similar a [GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx

Cloud AI GenAI Overview.pptx por
Cloud AI GenAI Overview.pptxCloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptxSahithiGurlinka
89 visualizações39 slides
Cloud Study Jam[1st OCT] gdscgtbit.pptx por
Cloud Study Jam[1st OCT] gdscgtbit.pptxCloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptxGDSCGTBIT
12 visualizações41 slides
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2 por
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2ProbalKar2
124 visualizações40 slides
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program por
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program"Embark On a Cloud Odyssey" Cloud Campaign Induction Program
"Embark On a Cloud Odyssey" Cloud Campaign Induction ProgramAnayPund
177 visualizações41 slides
Big Data LDN 2018: AI MEETS MAIL PROCESSING por
Big Data LDN 2018: AI MEETS MAIL PROCESSINGBig Data LDN 2018: AI MEETS MAIL PROCESSING
Big Data LDN 2018: AI MEETS MAIL PROCESSINGMatt Stubbs
212 visualizações47 slides
Making PHP Smarter - Dutch PHP 2023.pptx por
Making PHP Smarter - Dutch PHP 2023.pptxMaking PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptxAdam Englander
39 visualizações62 slides

Similar a [GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx(20)

Cloud AI GenAI Overview.pptx por SahithiGurlinka
Cloud AI GenAI Overview.pptxCloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptx
SahithiGurlinka89 visualizações
Cloud Study Jam[1st OCT] gdscgtbit.pptx por GDSCGTBIT
Cloud Study Jam[1st OCT] gdscgtbit.pptxCloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptx
GDSCGTBIT12 visualizações
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2 por ProbalKar2
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2
ProbalKar2124 visualizações
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program por AnayPund
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program"Embark On a Cloud Odyssey" Cloud Campaign Induction Program
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program
AnayPund177 visualizações
Big Data LDN 2018: AI MEETS MAIL PROCESSING por Matt Stubbs
Big Data LDN 2018: AI MEETS MAIL PROCESSINGBig Data LDN 2018: AI MEETS MAIL PROCESSING
Big Data LDN 2018: AI MEETS MAIL PROCESSING
Matt Stubbs212 visualizações
Making PHP Smarter - Dutch PHP 2023.pptx por Adam Englander
Making PHP Smarter - Dutch PHP 2023.pptxMaking PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptx
Adam Englander39 visualizações
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens... por Databricks
 Deep Anomaly Detection from Research to Production Leveraging Spark and Tens... Deep Anomaly Detection from Research to Production Leveraging Spark and Tens...
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens...
Databricks727 visualizações
OpenAI GPT in Depth - Questions and Misconceptions por Ivo Andreev
OpenAI GPT in Depth - Questions and MisconceptionsOpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and Misconceptions
Ivo Andreev99 visualizações
AI On Your Phone: CoreML and Tensorflow Lite por Ray Deck
AI On Your Phone: CoreML and Tensorflow LiteAI On Your Phone: CoreML and Tensorflow Lite
AI On Your Phone: CoreML and Tensorflow Lite
Ray Deck395 visualizações
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam... por Codemotion
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Codemotion263 visualizações
The Art of Clean code por Victor Rentea
The Art of Clean codeThe Art of Clean code
The Art of Clean code
Victor Rentea48.4K visualizações
Kaz Sato, Evangelist, Google at MLconf ATL 2016 por MLconf
Kaz Sato, Evangelist, Google at MLconf ATL 2016Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016
MLconf1.1K visualizações
Deep Learning and Text Mining por Will Stanton
Deep Learning and Text MiningDeep Learning and Text Mining
Deep Learning and Text Mining
Will Stanton2.2K visualizações
Code Quality Makes Your Job Easier por Tonya Mork
Code Quality Makes Your Job EasierCode Quality Makes Your Job Easier
Code Quality Makes Your Job Easier
Tonya Mork472 visualizações
Distributed Natural Language Processing Systems in Python por Clare Corthell
Distributed Natural Language Processing Systems in PythonDistributed Natural Language Processing Systems in Python
Distributed Natural Language Processing Systems in Python
Clare Corthell3.4K visualizações
The Neural Search Frontier - Doug Turnbull, OpenSource Connections por Lucidworks
The Neural Search Frontier - Doug Turnbull, OpenSource ConnectionsThe Neural Search Frontier - Doug Turnbull, OpenSource Connections
The Neural Search Frontier - Doug Turnbull, OpenSource Connections
Lucidworks495 visualizações
How I became ML Engineer por Kevin Lee
How I became ML Engineer How I became ML Engineer
How I became ML Engineer
Kevin Lee20 visualizações
Conversational AI with Rasa - PyData Workshop por Tom Bocklisch
Conversational AI with Rasa - PyData WorkshopConversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData Workshop
Tom Bocklisch7.3K visualizações

Mais de OWAISSALAUDDINKHAN

[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx por
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptxOWAISSALAUDDINKHAN
150 visualizações9 slides
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx por
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptxOWAISSALAUDDINKHAN
79 visualizações9 slides
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx por
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxGDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxOWAISSALAUDDINKHAN
680 visualizações12 slides
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx por
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxGDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxOWAISSALAUDDINKHAN
26 visualizações12 slides
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx por
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxGDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxOWAISSALAUDDINKHAN
49 visualizações12 slides
GDSC_Orientation_2023-24.pptx por
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptxOWAISSALAUDDINKHAN
363 visualizações30 slides

Mais de OWAISSALAUDDINKHAN(8)

[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx por OWAISSALAUDDINKHAN
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx
OWAISSALAUDDINKHAN150 visualizações
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx por OWAISSALAUDDINKHAN
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx
OWAISSALAUDDINKHAN79 visualizações
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx por OWAISSALAUDDINKHAN
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxGDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
OWAISSALAUDDINKHAN680 visualizações
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx por OWAISSALAUDDINKHAN
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxGDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
OWAISSALAUDDINKHAN26 visualizações
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx por OWAISSALAUDDINKHAN
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptxGDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
OWAISSALAUDDINKHAN49 visualizações
GDSC_Orientation_2023-24.pptx por OWAISSALAUDDINKHAN
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptx
OWAISSALAUDDINKHAN363 visualizações
GDSC_Orientation_2023-24.pptx por OWAISSALAUDDINKHAN
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptx
OWAISSALAUDDINKHAN30 visualizações
GDSC_Orientation_2023-24.pptx por OWAISSALAUDDINKHAN
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptx
OWAISSALAUDDINKHAN2 visualizações

Último

How to empty an One2many field in Odoo por
How to empty an One2many field in OdooHow to empty an One2many field in Odoo
How to empty an One2many field in OdooCeline George
87 visualizações8 slides
unidad 3.pdf por
unidad 3.pdfunidad 3.pdf
unidad 3.pdfMarcosRodriguezUcedo
117 visualizações38 slides
The basics - information, data, technology and systems.pdf por
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdfJonathanCovena1
146 visualizações1 slide
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB... por
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...Nguyen Thanh Tu Collection
88 visualizações113 slides
UNIDAD 3 6º C.MEDIO.pptx por
UNIDAD 3 6º C.MEDIO.pptxUNIDAD 3 6º C.MEDIO.pptx
UNIDAD 3 6º C.MEDIO.pptxMarcosRodriguezUcedo
134 visualizações32 slides
Java Simplified: Understanding Programming Basics por
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming BasicsAkshaj Vadakkath Joshy
322 visualizações155 slides

Último(20)

How to empty an One2many field in Odoo por Celine George
How to empty an One2many field in OdooHow to empty an One2many field in Odoo
How to empty an One2many field in Odoo
Celine George87 visualizações
The basics - information, data, technology and systems.pdf por JonathanCovena1
The basics - information, data, technology and systems.pdfThe basics - information, data, technology and systems.pdf
The basics - information, data, technology and systems.pdf
JonathanCovena1146 visualizações
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB... por Nguyen Thanh Tu Collection
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
BÀI TẬP BỔ TRỢ TIẾNG ANH 11 THEO ĐƠN VỊ BÀI HỌC - CẢ NĂM - CÓ FILE NGHE (GLOB...
Nguyen Thanh Tu Collection88 visualizações
UNIDAD 3 6º C.MEDIO.pptx por MarcosRodriguezUcedo
UNIDAD 3 6º C.MEDIO.pptxUNIDAD 3 6º C.MEDIO.pptx
UNIDAD 3 6º C.MEDIO.pptx
MarcosRodriguezUcedo134 visualizações
Java Simplified: Understanding Programming Basics por Akshaj Vadakkath Joshy
Java Simplified: Understanding Programming BasicsJava Simplified: Understanding Programming Basics
Java Simplified: Understanding Programming Basics
Akshaj Vadakkath Joshy322 visualizações
Structure and Functions of Cell.pdf por Nithya Murugan
Structure and Functions of Cell.pdfStructure and Functions of Cell.pdf
Structure and Functions of Cell.pdf
Nithya Murugan719 visualizações
The Accursed House by Émile Gaboriau por DivyaSheta
The Accursed House  by Émile GaboriauThe Accursed House  by Émile Gaboriau
The Accursed House by Émile Gaboriau
DivyaSheta223 visualizações
Relationship of psychology with other subjects. por palswagata2003
Relationship of psychology with other subjects.Relationship of psychology with other subjects.
Relationship of psychology with other subjects.
palswagata200352 visualizações
AUDIENCE - BANDURA.pptx por iammrhaywood
AUDIENCE - BANDURA.pptxAUDIENCE - BANDURA.pptx
AUDIENCE - BANDURA.pptx
iammrhaywood117 visualizações
REPRESENTATION - GAUNTLET.pptx por iammrhaywood
REPRESENTATION - GAUNTLET.pptxREPRESENTATION - GAUNTLET.pptx
REPRESENTATION - GAUNTLET.pptx
iammrhaywood138 visualizações
Create a Structure in VBNet.pptx por Breach_P
Create a Structure in VBNet.pptxCreate a Structure in VBNet.pptx
Create a Structure in VBNet.pptx
Breach_P78 visualizações
Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant... por Ms. Pooja Bhandare
Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant...Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant...
Pharmaceutical Inorganic Chemistry Unit IVMiscellaneous compounds Expectorant...
Ms. Pooja Bhandare133 visualizações
ICS3211_lecture 09_2023.pdf por Vanessa Camilleri
ICS3211_lecture 09_2023.pdfICS3211_lecture 09_2023.pdf
ICS3211_lecture 09_2023.pdf
Vanessa Camilleri115 visualizações
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptx por Debapriya Chakraborty
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptxGopal Chakraborty Memorial Quiz 2.0 Prelims.pptx
Gopal Chakraborty Memorial Quiz 2.0 Prelims.pptx
Debapriya Chakraborty695 visualizações
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx por ISSIP
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptxEIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
EIT-Digital_Spohrer_AI_Intro 20231128 v1.pptx
ISSIP386 visualizações
Gross Anatomy of the Liver por obaje godwin sunday
Gross Anatomy of the LiverGross Anatomy of the Liver
Gross Anatomy of the Liver
obaje godwin sunday61 visualizações
Psychology KS5 por WestHatch
Psychology KS5Psychology KS5
Psychology KS5
WestHatch119 visualizações

[GDSC-GNIOT] Google Cloud Study Jams Day 2- Cloud AI GenAI Overview.pptx

  • 1. Cloud AIGenAI Overview SepĞ ember - OcĞ ober 2023 Chitresh Gyanani Google Cloud Facilitator
  • 2. Table of Contents Primer on LLM and Generative AI What are Google’s offerings? 01 02 Demo This Week’s Assignment 03 04
  • 4. We’re in anAI-driven revolution Source: AI: Recent Trends and Applications, Emerging Communication and Computing Steam Power 1784 Electricity 1870 Information Technology 1969 Artificial Intelligence Today AI
  • 5. NLP Evolution What’s the noun in this sentence? What’s the invoice amount? Extraction LLMs portend both quantitative and qualitative jumps in AI capabilities Conversational AI Write an essay Write some code Generation Translate this text to Korean Summarize this document Transformation Are these the same things? Is the invoice vendor recognized? Matching LLMs improve performance on “classical NL” use cases LLMs increasingly enable new use cases. Is the sentence’s sentiment positive? Is this an invoice? Classification
  • 6. What is a Large Language Model?
  • 7. Traditional programming Wave of neural networks ~2012 Cat: type: animal legs: 4 ears: 2 fur: yes likes: yarn, catnip (etc …) This is a cat. This is not a cat. Is this a cat? Yes So, you’ve learned about cats and millions of other concepts …what’s a cat? Go read this huuuuuuge pile of books. A cat is … Generative language models LaMDA, PaLM, GPT-3, etc.
  • 8. First, some vocab Generative Model: An ML model that produces content, including language, code, imagery, music, video, etc. Large Language Model: machine learning models that are really good at understanding and generating human language. Large refers to both size and complexity of the neural network itself, as well as the size of the dataset it was trained on. Can also be used for non-generative language tasks (eg classification) Transformer: The neural network architecture underlying most of today’s generative models (and, more widely, most SOTA ML models). Published by Google in 2017.
  • 9. Prompt: the text you feed to your model Prompt Design: The art and science of figuring out what text to feed your language model to get it to take on the behavior you want.
  • 10. What is a language model? Write a poem about Cricket Cricket, oh cricket, game of my heart, Where legends are born and dreams start. With bat and ball, we play as one, Under the sun, until the day is done. From the village green to the grandest stage, Cricket unites us, age after age. With every run, we cheer and shout, As our heroes make us proud. … Zero-shot
  • 11. Give examples Convert from english to french. peppermint : menthe poivrée desert cactus : cactus du désert potato : pomme de terre onion : … Few-shot
  • 12. Proprietary +Confidential Give examples Convert Python to Javascript. Python: print("hello world") Javascript: console.log("hello world") Python: for x in range(0, 100): Javascript: Few-shot
  • 13. Proprietary +Confidential What is a language model? User : Who are you? Bot: I am Sachin Tendulkar, the famous cricketer and the best batsman the world has seen. User: Where do you live? Bot: I live in Mumbai. User: What do you currently do? Bot: … Dialog
  • 14. Proprietary +Confidential A few observations: 1. LLMs are designed to predict the next word in a sequence. They are not required to be “truthful” when doing so. 2. LLMs can generate plausible-looking statements that are irrelevant or factually incorrect. 3. Hallucinations: LLM’s can generate false statements.
  • 15. Proprietary +Confidential Decoding Strategies The sky was full of [sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)] INPUT OUTPUT
  • 16. Proprietary +Confidential Greedy Decoding Select word with highest probability The sky was full of [sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)] INPUT OUTPUT
  • 17. Proprietary +Confidential Random Sampling Randomly sample over the distribution The sky was full of [sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)] INPUT OUTPUT
  • 18. Proprietary +Confidential Temperature T emperature is a number used to tune the degree of randomness. Lower temperature →less randomness ● T emperature of 0 is deterministic (greed decoding) ● Generally better for tasks like q&a and summarization where you expect a more “correct” answer ● If you notice the model repeating itself, the temp is probably too low High temperature → more randomness ● Can result in more unusual (you might even say creative) response ● If you notice the model going off topic or being nonsensical, the temp is likely too high
  • 19. Proprietary +Confidential Top K [sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)] Only sample from top K tokens K =2 Top P [sīars (0.5),clouds (0.23),birds (0.05) …dusī (0.03)] Chooses from smallest possible set of words whose cumulative probability >=probability P P =.75
  • 20. Demo
  • 21. What are large language models? ML algorithms that can recognize, predict, and generate human languages Pre-trained on petabyte scale text-based datasets resulting in large models with 10s to 100s of billions of parameters LLMs are normally pre-trained on a large corpus of text followed by fine-tuning on a specific task Go read this huuuuuuge pile of books. So, you’ve learned about cats and millions of other concepts …what’s a cat? A cat is a small, domesticated carnivorous mammal. Generative language models LaMDA, PaLM, GPT-3, etc. LLMs can also be called Large Models (includes all types of data modality) and Generative AI (a model that produces content)
  • 22. Why are large language models different? LLMs are characterized by emergent abilities, or the ability to perform tasks that were not present in smaller models. LLMs contextual understanding of human language changes how we interact with data and intelligent systems. LLMs can find patterns and connections in massive, disparate data corpora. Search Conversation Content generation
  • 23. Proprietary +Confidential LLM applications in industry Customer Support ● Interactive Humanlike Chatbots ● Conversation summarization for agents ● Sentiment Analysis and Entity extraction Technology ● Generating Code Snippets from description ● Code Translation between languages ● Auto Generated Documentation from Code Financial Services ● Auto-generated summary of documents ● Entity Extraction from KYC documents HealthCare ● Domain specific entity extraction ● Case documentation summary Retail ● Generating product descriptions Media and Gaming ● Designing game storylines, scripts ● Auto Generated blogs, articles, and tweets ● Grammar Correction and text-formatting
  • 24. Proprietary +Confidential Traditional ML Dev ● Needs 1000+ training examples to get started ● Needs ML expertise (probably) ● Needs compute time +hardware ● Thinks about minimizing a loss function ● Needs 0 training examples* ● Does not need ML expertise* ● Does not need to train a model* ● Thinks about prompt design LLM Dev *T o get started
  • 26. Consumers & enterprises have different needs…. Plan a 3 day trip to Patagonia Create a valentine poem. A picture of a panda playing yahtzee How to make GF pancakes? Iwant to write a novel. How do Iget started? Create a jazz song for a bday card How do we control our data How do we deal with fraud &security We need to be accurate & explainable How do we integrate our existing data & applications How will we control costs? Bard +MakerSuite VertexAI +Duet AI Consumers Enterprises