[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 von 27

Recomendados

Cloud AI GenAI Overview.pptx von
Cloud AI GenAI Overview.pptxCloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptxSahithiGurlinka
99 views39 Folien
Generative AI - Responsible Path Forward.pdf von
Generative AI - Responsible Path Forward.pdfGenerative AI - Responsible Path Forward.pdf
Generative AI - Responsible Path Forward.pdfSaeed Al Dhaheri
164 views24 Folien
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬 von
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬
𝐆𝐞𝐧𝐞𝐫𝐚𝐭𝐢𝐯𝐞 𝐀𝐈: 𝐂𝐡𝐚𝐧𝐠𝐢𝐧𝐠 𝐇𝐨𝐰 𝐁𝐮𝐬𝐢𝐧𝐞𝐬𝐬 𝐈𝐧𝐧𝐨𝐯𝐚𝐭𝐞𝐬 𝐚𝐧𝐝 𝐎𝐩𝐞𝐫𝐚𝐭𝐞𝐬VINCI Digital - Industrial IoT (IIoT) Strategic Advisory
1.2K views35 Folien
Large Language Models Bootcamp von
Large Language Models BootcampLarge Language Models Bootcamp
Large Language Models BootcampData Science Dojo
3.3K views15 Folien
‘Big models’: the success and pitfalls of Transformer models in natural langu... von
‘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 views32 Folien
The Future of AI is Generative not Discriminative 5/26/2021 von
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 views24 Folien

Más contenido relacionado

Was ist angesagt?

How Does Generative AI Actually Work? (a quick semi-technical introduction to... von
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 views14 Folien
ChatGPT Use- Cases von
ChatGPT Use- Cases ChatGPT Use- Cases
ChatGPT Use- Cases Bluechip Technologies
1K views35 Folien
Introduction to Chat GPT von
Introduction to Chat GPTIntroduction to Chat GPT
Introduction to Chat GPTDianaGray10
1.2K views23 Folien
AUGMENTING CREATIVITY USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN von
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 views72 Folien
How AI is going to change the world _M.Mujeeb Riaz.pdf von
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 views28 Folien
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 von
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 views38 Folien

Was ist angesagt?(20)

How Does Generative AI Actually Work? (a quick semi-technical introduction to... von 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 views
Introduction to Chat GPT von DianaGray10
Introduction to Chat GPTIntroduction to Chat GPT
Introduction to Chat GPT
DianaGray101.2K views
AUGMENTING CREATIVITY USING GEN AI FOR DESIGN & INNOVATION | TOJIN T. EAPEN von 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 views
How AI is going to change the world _M.Mujeeb Riaz.pdf von 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 views
AI and ML Series - Introduction to Generative AI and LLMs - Session 1 von 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 views
Using the power of Generative AI at scale von 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 views
Generative-AI-in-enterprise-20230615.pdf von Liming Zhu
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdf
Liming Zhu866 views
Generative AI Use-cases for Enterprise - First Session von 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 views
LanGCHAIN Framework von Keymate.AI
LanGCHAIN FrameworkLanGCHAIN Framework
LanGCHAIN Framework
Keymate.AI1.5K views
Conversational AI and Chatbot Integrations von Cristina Vidu
Conversational AI and Chatbot IntegrationsConversational AI and Chatbot Integrations
Conversational AI and Chatbot Integrations
Cristina Vidu441 views
AI FOR BUSINESS LEADERS von Andre Muscat
AI FOR BUSINESS LEADERSAI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERS
Andre Muscat939 views
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx von 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 von
Cloud Study Jam[1st OCT] gdscgtbit.pptxCloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptxGDSCGTBIT
12 views41 Folien
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2 von
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 views40 Folien
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program von
"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 views41 Folien
Big Data LDN 2018: AI MEETS MAIL PROCESSING von
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 views47 Folien
Making PHP Smarter - Dutch PHP 2023.pptx von
Making PHP Smarter - Dutch PHP 2023.pptxMaking PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptxAdam Englander
39 views62 Folien
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens... von
 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 views43 Folien

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

Cloud Study Jam[1st OCT] gdscgtbit.pptx von GDSCGTBIT
Cloud Study Jam[1st OCT] gdscgtbit.pptxCloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptx
GDSCGTBIT12 views
GenAI by Google Cloud Leading the Way to Tomorrow - GDSC GHRCEM GCSJ Session 2 von 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 views
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program von 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 views
Big Data LDN 2018: AI MEETS MAIL PROCESSING von 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 views
Making PHP Smarter - Dutch PHP 2023.pptx von Adam Englander
Making PHP Smarter - Dutch PHP 2023.pptxMaking PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptx
Adam Englander39 views
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens... von 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 views
OpenAI GPT in Depth - Questions and Misconceptions von Ivo Andreev
OpenAI GPT in Depth - Questions and MisconceptionsOpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and Misconceptions
Ivo Andreev99 views
AI On Your Phone: CoreML and Tensorflow Lite von 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 views
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam... von 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 views
The Art of Clean code von Victor Rentea
The Art of Clean codeThe Art of Clean code
The Art of Clean code
Victor Rentea48.4K views
Kaz Sato, Evangelist, Google at MLconf ATL 2016 von 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 views
Deep Learning and Text Mining von Will Stanton
Deep Learning and Text MiningDeep Learning and Text Mining
Deep Learning and Text Mining
Will Stanton2.2K views
Code Quality Makes Your Job Easier von Tonya Mork
Code Quality Makes Your Job EasierCode Quality Makes Your Job Easier
Code Quality Makes Your Job Easier
Tonya Mork472 views
Distributed Natural Language Processing Systems in Python von 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 views
The Neural Search Frontier - Doug Turnbull, OpenSource Connections von 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 views
How I became ML Engineer von Kevin Lee
How I became ML Engineer How I became ML Engineer
How I became ML Engineer
Kevin Lee20 views
Conversational AI with Rasa - PyData Workshop von Tom Bocklisch
Conversational AI with Rasa - PyData WorkshopConversational AI with Rasa - PyData Workshop
Conversational AI with Rasa - PyData Workshop
Tom Bocklisch7.3K views

Más de OWAISSALAUDDINKHAN

[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx von
[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 views9 Folien
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx von
[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 views9 Folien
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx von
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 views12 Folien
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx von
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 views12 Folien
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx von
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 views12 Folien
GDSC_Orientation_2023-24.pptx von
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptxOWAISSALAUDDINKHAN
363 views30 Folien

Más de OWAISSALAUDDINKHAN(8)

[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx von 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 views
[2023-24] GDSC Google Cloud Study Jams - Day 1_ Intro Session.pptx von 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
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx von 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 views
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx von 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
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx von 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

Último

JQUERY.pdf von
JQUERY.pdfJQUERY.pdf
JQUERY.pdfArthyR3
114 views22 Folien
Presentation_NC_Future now 2006.pdf von
Presentation_NC_Future now 2006.pdfPresentation_NC_Future now 2006.pdf
Presentation_NC_Future now 2006.pdfLora
38 views74 Folien
Thanksgiving!.pdf von
Thanksgiving!.pdfThanksgiving!.pdf
Thanksgiving!.pdfEnglishCEIPdeSigeiro
597 views17 Folien
PRELIMS ANSWER.pptx von
PRELIMS ANSWER.pptxPRELIMS ANSWER.pptx
PRELIMS ANSWER.pptxsouravkrpodder
56 views60 Folien
StudioX.pptx von
StudioX.pptxStudioX.pptx
StudioX.pptxNikhileshSathyavarap
116 views18 Folien
11.30.23A Poverty and Inequality in America.pptx von
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 views18 Folien

Último(20)

JQUERY.pdf von ArthyR3
JQUERY.pdfJQUERY.pdf
JQUERY.pdf
ArthyR3114 views
Presentation_NC_Future now 2006.pdf von Lora
Presentation_NC_Future now 2006.pdfPresentation_NC_Future now 2006.pdf
Presentation_NC_Future now 2006.pdf
Lora 38 views
11.30.23A Poverty and Inequality in America.pptx von 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 views
Research Methodology (M. Pharm, IIIrd Sem.)_UNIT_IV_CPCSEA Guidelines for Lab... von 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 views
OOPs - JAVA Quick Reference.pdf von ArthyR3
OOPs - JAVA Quick Reference.pdfOOPs - JAVA Quick Reference.pdf
OOPs - JAVA Quick Reference.pdf
ArthyR376 views
JRN 362 - Lecture Twenty-Three (Epilogue) von Rich Hanley
JRN 362 - Lecture Twenty-Three (Epilogue)JRN 362 - Lecture Twenty-Three (Epilogue)
JRN 362 - Lecture Twenty-Three (Epilogue)
Rich Hanley44 views
11.21.23 Economic Precarity and Global Economic Forces.pptx von 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 views
Career Building in AI - Technologies, Trends and Opportunities von 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 views
The Future of Micro-credentials: Is Small Really Beautiful? von 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 views
UNIT NO 13 ORGANISMS AND POPULATION.pptx von Madhuri Bhande
UNIT NO 13 ORGANISMS AND POPULATION.pptxUNIT NO 13 ORGANISMS AND POPULATION.pptx
UNIT NO 13 ORGANISMS AND POPULATION.pptx
Madhuri Bhande48 views
Creative Restart 2023: Christophe Wechsler - From the Inside Out: Cultivating... von 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 views
Payment Integration using Braintree Connector | MuleSoft Mysore Meetup #37 von 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 von 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 views

[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