SlideShare a Scribd company logo
1 of 27
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

More Related Content

What's hot

Generative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGenerative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGene Leybzon
 
An Introduction to Generative AI - May 18, 2023
An Introduction  to Generative AI - May 18, 2023An Introduction  to Generative AI - May 18, 2023
An Introduction to Generative AI - May 18, 2023CoriFaklaris1
 
Cavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AICavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AICavalry Ventures
 
Let's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersLet's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersSteven Van Vaerenbergh
 
How do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for DevelopersHow do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for DevelopersIvo Andreev
 
Cloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptxCloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptxSahithiGurlinka
 
Responsible Generative AI
Responsible Generative AIResponsible Generative AI
Responsible Generative AICMassociates
 
Generative AI for the rest of us
Generative AI for the rest of usGenerative AI for the rest of us
Generative AI for the rest of usMassimo Ferre'
 
ChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptxChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptxJesus Rodriguez
 
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...Mihai Criveti
 
Generative Models and ChatGPT
Generative Models and ChatGPTGenerative Models and ChatGPT
Generative Models and ChatGPTLoic Merckel
 
Generative AI Risks & Concerns
Generative AI Risks & ConcernsGenerative AI Risks & Concerns
Generative AI Risks & ConcernsAjitesh Kumar
 
ai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdf
ai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdfai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdf
ai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdfjason668539
 
Presentation-Open AI Chat GPT-4 3.pptx
Presentation-Open AI Chat GPT-4 3.pptxPresentation-Open AI Chat GPT-4 3.pptx
Presentation-Open AI Chat GPT-4 3.pptxNitinKhandelwal71
 

What's hot (20)

Generative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGenerative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second Session
 
Generative AI
Generative AIGenerative AI
Generative AI
 
An Introduction to Generative AI - May 18, 2023
An Introduction  to Generative AI - May 18, 2023An Introduction  to Generative AI - May 18, 2023
An Introduction to Generative AI - May 18, 2023
 
Journey of Generative AI
Journey of Generative AIJourney of Generative AI
Journey of Generative AI
 
Cavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AICavalry Ventures | Deep Dive: Generative AI
Cavalry Ventures | Deep Dive: Generative AI
 
What is ChatGPT.pdf
What is ChatGPT.pdfWhat is ChatGPT.pdf
What is ChatGPT.pdf
 
Let's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchersLet's talk about GPT: A crash course in Generative AI for researchers
Let's talk about GPT: A crash course in Generative AI for researchers
 
How do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for DevelopersHow do OpenAI GPT Models Work - Misconceptions and Tips for Developers
How do OpenAI GPT Models Work - Misconceptions and Tips for Developers
 
Cloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptxCloud AI GenAI Overview.pptx
Cloud AI GenAI Overview.pptx
 
Responsible Generative AI
Responsible Generative AIResponsible Generative AI
Responsible Generative AI
 
Generative AI for the rest of us
Generative AI for the rest of usGenerative AI for the rest of us
Generative AI for the rest of us
 
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
ChatGPT, Generative AI and Microsoft Copilot: Step Into the Future - Geoff Ab...
 
ChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptxChatGPT, Foundation Models and Web3.pptx
ChatGPT, Foundation Models and Web3.pptx
 
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
Retrieval Augmented Generation in Practice: Scalable GenAI platforms with k8s...
 
Intro to LLMs
Intro to LLMsIntro to LLMs
Intro to LLMs
 
Generative Models and ChatGPT
Generative Models and ChatGPTGenerative Models and ChatGPT
Generative Models and ChatGPT
 
Generative AI Risks & Concerns
Generative AI Risks & ConcernsGenerative AI Risks & Concerns
Generative AI Risks & Concerns
 
UTILITY OF AI
UTILITY OF AIUTILITY OF AI
UTILITY OF AI
 
ai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdf
ai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdfai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdf
ai-powered-marketing-and-sales-reach-new-heights-with-generative-ai.pdf
 
Presentation-Open AI Chat GPT-4 3.pptx
Presentation-Open AI Chat GPT-4 3.pptxPresentation-Open AI Chat GPT-4 3.pptx
Presentation-Open AI Chat GPT-4 3.pptx
 

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

Cloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptxCloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptxGDSCGTBIT
 
GenAI 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 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
 
"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
"Embark On a Cloud Odyssey" Cloud Campaign Induction ProgramAnayPund
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchrohitcse52
 
Big Data LDN 2018: AI MEETS MAIL PROCESSING
Big Data LDN 2018: AI MEETS MAIL PROCESSINGBig Data LDN 2018: AI MEETS MAIL PROCESSING
Big Data LDN 2018: AI MEETS MAIL PROCESSINGMatt Stubbs
 
Making PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptxMaking PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptxAdam Englander
 
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...
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens...Databricks
 
OpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and MisconceptionsOpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and MisconceptionsIvo Andreev
 
AI On Your Phone: CoreML and Tensorflow Lite
AI On Your Phone: CoreML and Tensorflow LiteAI On Your Phone: CoreML and Tensorflow Lite
AI On Your Phone: CoreML and Tensorflow LiteRay Deck
 
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Codemotion
 
The Art of Clean code
The Art of Clean codeThe Art of Clean code
The Art of Clean codeVictor Rentea
 
Building Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to startBuilding Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to startMaxim Salnikov
 
Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016MLconf
 
Deep Learning and Text Mining
Deep Learning and Text MiningDeep Learning and Text Mining
Deep Learning and Text MiningWill Stanton
 
Code Quality Makes Your Job Easier
Code Quality Makes Your Job EasierCode Quality Makes Your Job Easier
Code Quality Makes Your Job EasierTonya Mork
 
Distributed Natural Language Processing Systems in Python
Distributed Natural Language Processing Systems in PythonDistributed Natural Language Processing Systems in Python
Distributed Natural Language Processing Systems in PythonClare Corthell
 
The Neural Search Frontier - Doug Turnbull, OpenSource Connections
The Neural Search Frontier - Doug Turnbull, OpenSource ConnectionsThe Neural Search Frontier - Doug Turnbull, OpenSource Connections
The Neural Search Frontier - Doug Turnbull, OpenSource ConnectionsLucidworks
 
How I became ML Engineer
How I became ML Engineer How I became ML Engineer
How I became ML Engineer Kevin Lee
 

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

Cloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptxCloud Study Jam[1st OCT] gdscgtbit.pptx
Cloud Study Jam[1st OCT] gdscgtbit.pptx
 
GenAI 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 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
 
"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
"Embark On a Cloud Odyssey" Cloud Campaign Induction Program
 
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai searchChatGPT-and-Generative-AI-Landscape Working of generative ai search
ChatGPT-and-Generative-AI-Landscape Working of generative ai search
 
Big Data LDN 2018: AI MEETS MAIL PROCESSING
Big Data LDN 2018: AI MEETS MAIL PROCESSINGBig Data LDN 2018: AI MEETS MAIL PROCESSING
Big Data LDN 2018: AI MEETS MAIL PROCESSING
 
Making PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptxMaking PHP Smarter - Dutch PHP 2023.pptx
Making PHP Smarter - Dutch PHP 2023.pptx
 
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...
Deep Anomaly Detection from Research to Production Leveraging Spark and Tens...
 
OpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and MisconceptionsOpenAI GPT in Depth - Questions and Misconceptions
OpenAI GPT in Depth - Questions and Misconceptions
 
AI On Your Phone: CoreML and Tensorflow Lite
AI On Your Phone: CoreML and Tensorflow LiteAI On Your Phone: CoreML and Tensorflow Lite
AI On Your Phone: CoreML and Tensorflow Lite
 
AI pitch SSideri
 AI pitch SSideri  AI pitch SSideri
AI pitch SSideri
 
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
Artificial Intelligence in practice - Gerbert Kaandorp - Codemotion Amsterdam...
 
The Art of Clean code
The Art of Clean codeThe Art of Clean code
The Art of Clean code
 
Building Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to startBuilding Generative AI-infused apps: what's possible and how to start
Building Generative AI-infused apps: what's possible and how to start
 
Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016Kaz Sato, Evangelist, Google at MLconf ATL 2016
Kaz Sato, Evangelist, Google at MLconf ATL 2016
 
Deep Learning and Text Mining
Deep Learning and Text MiningDeep Learning and Text Mining
Deep Learning and Text Mining
 
Code Quality Makes Your Job Easier
Code Quality Makes Your Job EasierCode Quality Makes Your Job Easier
Code Quality Makes Your Job Easier
 
Distributed Natural Language Processing Systems in Python
Distributed Natural Language Processing Systems in PythonDistributed Natural Language Processing Systems in Python
Distributed Natural Language Processing Systems in Python
 
The Neural Search Frontier - Doug Turnbull, OpenSource Connections
The Neural Search Frontier - Doug Turnbull, OpenSource ConnectionsThe Neural Search Frontier - Doug Turnbull, OpenSource Connections
The Neural Search Frontier - Doug Turnbull, OpenSource Connections
 
Tensorflow 2.0 and Coral Edge TPU
Tensorflow 2.0 and Coral Edge TPU Tensorflow 2.0 and Coral Edge TPU
Tensorflow 2.0 and Coral Edge TPU
 
How I became ML Engineer
How I became ML Engineer How I became ML Engineer
How I became ML Engineer
 

More from OWAISSALAUDDINKHAN

GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
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
 
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
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
 
GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
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
 

More from OWAISSALAUDDINKHAN (6)

GDSC23 GNIOT - Google Cloud Study Jam- Info Session.pptx
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
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
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
 
GDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptx
 
GDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptx
 
GDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptxGDSC_Orientation_2023-24.pptx
GDSC_Orientation_2023-24.pptx
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 

[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