[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

Cloud AI GenAI Overview.pptx por
Cloud AI GenAI Overview.pptxCloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptxSahithiGurlinka
99 vistas39 diapositivas
Generative AI - Responsible Path Forward.pdf por
Generative AI - Responsible Path Forward.pdfGenerative AI - Responsible Path Forward.pdf
Generative AI - Responsible Path Forward.pdfSaeed Al Dhaheri
164 vistas24 diapositivas
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬 por
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬VINCI Digital - Industrial IoT (IIoT) Strategic Advisory
1.2K vistas35 diapositivas
Large Language Models Bootcamp por
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models BootcampData Science Dojo
3.3K vistas15 diapositivas
‘Big models’: the success and pitfalls of Transformer models in natural langu... por
‘Big models’: the success and pitfalls of Transformer models in natural langu...‘Big models’: the success and pitfalls of Transformer models in natural langu...
‘Big models’: the success and pitfalls of Transformer models in natural langu...Leiden University
98 vistas32 diapositivas
The Future of AI is Generative not Discriminative 5/26/2021 por
The Future of AI is Generative not Discriminative 5/26/2021The Future of AI is Generative not Discriminative 5/26/2021
The Future of AI is Generative not Discriminative 5/26/2021Steve Omohundro
981 vistas24 diapositivas

Más contenido relacionado

La actualidad más candente

How Does Generative AI Actually Work? (a quick semi-technical introduction to... por
How Does Generative AI Actually Work? (a quick semi-technical introduction to...How Does Generative AI Actually Work? (a quick semi-technical introduction to...
How Does Generative AI Actually Work? (a quick semi-technical introduction to...ssuser4edc93
982 vistas14 diapositivas
ChatGPT Use- Cases por
ChatGPT Use- Cases ChatGPT Use- Cases
ChatGPT Use- Cases Bluechip Technologies
1K vistas35 diapositivas
Introduction to Chat GPT por
Introduction to Chat GPTIntroduction to Chat GPT
Introduction to Chat GPTDianaGray10
1.2K vistas23 diapositivas
AUGMENTING CREATIVITY USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN por
AUGMENTING CREATIVITY  USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPENAUGMENTING CREATIVITY  USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN
AUGMENTING CREATIVITY USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPENTojin Eapen, PhD
53 vistas72 diapositivas
How AI is going to change the world _M.Mujeeb Riaz.pdf por
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.pdfMujeeb Riaz
778 vistas28 diapositivas
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 por
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 1DianaGray10
1.3K vistas38 diapositivas

La actualidad más candente(20)

How Does Generative AI Actually Work? (a quick semi-technical introduction to... por ssuser4edc93
How Does Generative AI Actually Work? (a quick semi-technical introduction to...How Does Generative AI Actually Work? (a quick semi-technical introduction to...
How Does Generative AI Actually Work? (a quick semi-technical introduction to...
ssuser4edc93982 vistas
Introduction to Chat GPT por DianaGray10
Introduction to Chat GPTIntroduction to Chat GPT
Introduction to Chat GPT
DianaGray101.2K vistas
AUGMENTING CREATIVITY USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN por Tojin Eapen, PhD
AUGMENTING CREATIVITY  USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPENAUGMENTING CREATIVITY  USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN
AUGMENTING CREATIVITY USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN
Tojin Eapen, PhD53 vistas
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 Riaz778 vistas
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.3K vistas
Using the power of Generative AI at scale por Maxim Salnikov
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scale
Maxim Salnikov923 vistas
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 Zhu866 vistas
Generative AI Use-cases for Enterprise - First Session por Gene Leybzon
Generative AI Use-cases for Enterprise - First SessionGenerative AI Use-cases for Enterprise - First Session
Generative AI Use-cases for Enterprise - First Session
Gene Leybzon184 vistas
LanGCHAIN Framework por Keymate.AI
LanGCHAIN FrameworkLanGCHAIN Framework
LanGCHAIN Framework
Keymate.AI1.5K vistas
Conversational AI and Chatbot Integrations por Cristina Vidu
Conversational AI and Chatbot IntegrationsConversational AI and Chatbot Integrations
Conversational AI and Chatbot Integrations
Cristina Vidu441 vistas
AI FOR BUSINESS LEADERS por Andre Muscat
AI FOR BUSINESS LEADERSAI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERS
Andre Muscat939 vistas
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx por Rohit Radhakrishnan
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptxDevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx

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

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 vistas41 diapositivas
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
125 vistas40 diapositivas
"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
180 vistas41 diapositivas
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 vistas47 diapositivas
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 vistas62 diapositivas
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens... por
 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...Databricks
727 vistas43 diapositivas

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

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 vistas
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
ProbalKar2125 vistas
"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
AnayPund180 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
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 vistas
TDC 2020 - Implementing a Mini-Language por Luciano Sabença
TDC 2020 - Implementing a Mini-LanguageTDC 2020 - Implementing a Mini-Language
TDC 2020 - Implementing a Mini-Language
Luciano Sabença92 vistas

Más 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 vistas9 diapositivas
[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
81 vistas9 diapositivas
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 vistas12 diapositivas
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 vistas12 diapositivas
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 vistas12 diapositivas
GDSC_Orientation_2023-24.pptx por
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptxOWAISSALAUDDINKHAN
363 vistas30 diapositivas

Más 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 vistas
[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
OWAISSALAUDDINKHAN81 vistas
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 vistas
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 vistas
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 vistas

Último

JQUERY.pdf por
JQUERY.pdfJQUERY.pdf
JQUERY.pdfArthyR3
114 vistas22 diapositivas
Presentation_NC_Future now 2006.pdf por
Presentation_NC_Future now 2006.pdfPresentation_NC_Future now 2006.pdf
Presentation_NC_Future now 2006.pdfLora
38 vistas74 diapositivas
Thanksgiving!.pdf por
Thanksgiving!.pdfThanksgiving!.pdf
Thanksgiving!.pdfEnglishCEIPdeSigeiro
597 vistas17 diapositivas
PRELIMS ANSWER.pptx por
PRELIMS ANSWER.pptxPRELIMS ANSWER.pptx
PRELIMS ANSWER.pptxsouravkrpodder
56 vistas60 diapositivas
StudioX.pptx por
StudioX.pptxStudioX.pptx
StudioX.pptxNikhileshSathyavarap
116 vistas18 diapositivas
11.30.23A Poverty and Inequality in America.pptx por
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptxmary850239
228 vistas18 diapositivas

Último(20)

JQUERY.pdf por ArthyR3
JQUERY.pdfJQUERY.pdf
JQUERY.pdf
ArthyR3114 vistas
Presentation_NC_Future now 2006.pdf por Lora
Presentation_NC_Future now 2006.pdfPresentation_NC_Future now 2006.pdf
Presentation_NC_Future now 2006.pdf
Lora 38 vistas
11.30.23A Poverty and Inequality in America.pptx por mary850239
11.30.23A Poverty and Inequality in America.pptx11.30.23A Poverty and Inequality in America.pptx
11.30.23A Poverty and Inequality in America.pptx
mary850239228 vistas
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab... por RAHUL PAL
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab...Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab...
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab...
RAHUL PAL45 vistas
OOPs - JAVA Quick Reference.pdf por ArthyR3
OOPs - JAVA Quick Reference.pdfOOPs - JAVA Quick Reference.pdf
OOPs - JAVA Quick Reference.pdf
ArthyR376 vistas
JRN 362 - Lecture Twenty-Three (Epilogue) por Rich Hanley
JRN 362 - Lecture Twenty-Three (Epilogue)JRN 362 - Lecture Twenty-Three (Epilogue)
JRN 362 - Lecture Twenty-Three (Epilogue)
Rich Hanley44 vistas
11.21.23 Economic Precarity and Global Economic Forces.pptx por mary850239
11.21.23 Economic Precarity and Global Economic Forces.pptx11.21.23 Economic Precarity and Global Economic Forces.pptx
11.21.23 Economic Precarity and Global Economic Forces.pptx
mary85023994 vistas
Career Building in AI - Technologies, Trends and Opportunities por WebStackAcademy
Career Building in AI - Technologies, Trends and OpportunitiesCareer Building in AI - Technologies, Trends and Opportunities
Career Building in AI - Technologies, Trends and Opportunities
WebStackAcademy51 vistas
The Future of Micro-credentials: Is Small Really Beautiful? por Mark Brown
The Future of Micro-credentials:  Is Small Really Beautiful?The Future of Micro-credentials:  Is Small Really Beautiful?
The Future of Micro-credentials: Is Small Really Beautiful?
Mark Brown121 vistas
UNIT NO 13 ORGANISMS AND POPULATION.pptx por Madhuri Bhande
UNIT NO 13 ORGANISMS AND POPULATION.pptxUNIT NO 13 ORGANISMS AND POPULATION.pptx
UNIT NO 13 ORGANISMS AND POPULATION.pptx
Madhuri Bhande48 vistas
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating... por Taste
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating...
Taste39 vistas
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37 por MysoreMuleSoftMeetup
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37
Introduction to AERO Supply Chain - #BEAERO Trainning program por Guennoun Wajih
Introduction to AERO Supply Chain  - #BEAERO Trainning programIntroduction to AERO Supply Chain  - #BEAERO Trainning program
Introduction to AERO Supply Chain - #BEAERO Trainning program
Guennoun Wajih135 vistas

[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