SlideShare a Scribd company logo
1 of 20
Download to read offline
Classified as Microsoft Confidential
Intro
Maisa Penha
Principal TPM
Azure OpenAI
www.linkedin.com/in/maisapenha
Art of the Possible: Visual Extraction and Reasoning
Input
Prompt
Completion
Can you explain this meme?
This meme is a joke that combines two unrelated things: pictures of the earth from space and chicken nuggets.
The text of the meme suggests that the image below is a beautiful picture of the earth from space. However, the image is
actually of chicken nuggets arranged to vaguely resemble a map of the world.
The humor in this meme comes from the unexpected juxtaposition of the text and the image. The text sets up an expectation of
a majestic image of the earth, but the image is actually something mundane and silly.
Art of the Possible: Web Page Design from a Visual
Input
Prompt
Completion
Art of the Possible: Visual Extraction and Reasoning
Input
Prompt
Completion
What are a couple meals I can make with this?
Based on the items visible in this fridge, here are a couple of meal ideas:
1) Yogurt parfait: Layer yogurt, strawberries and blueberries in a bowl or jar. Top with honey or nuts for added texture and
flavor.
2) Carrot and hummus wrap: Spread hummus on a tortilla or wrap. Top with shredded carrots and any desired veggies.
Roll up and enjoy!
Classified as Microsoft Confidential
Microsoft is powered by Azure AI
Applications Partner Solutions
Application Platform
AI Builder
Power BI Power Apps Power Automate Power Virtual Agents
Scenario-Based
Services
Bot Service Cognitive Search Document Intelligence Video Indexer Metrics Advisor Immersive Reader
Customizable AI
Models
Vision Speech Language Decision
Azure OpenAI
Service
ML Platform Azure Machine Learning
Classified as Microsoft Confidential
Microsoft and OpenAI partnership
Ensure that artificial
general intelligence
(AGI) benefits humanity
Empower every person
and organization on the
planet to achieve more
Azure OpenAI Service
GPT-4 &
GPT-3.5-Turbo
Text
Chat Completions
Conversation
DALL¡E 2
Image
Whisper
Transcription &
Translation
Artificial Intelligence
1956 Artificial Intelligence
the field of computer science that seeks to create
intelligent machines that can replicate or exceed
human intelligence
Machine Learning
1997 Machine Learning
subset of AI that enables machines to learn from
existing data and improve upon that data to make
decisions or predictions
Deep Learning 2017 Deep Learning
a machine learning technique in which layers of
neural networks are used to process data and make
decisions
Generative AI
2021 Generative AI
Create new written, visual, and auditory content
given prompts or existing data.
Foundation Models
Training Data
Text
Images
Speech
Structured Data
3d Signals
Tasks
Question and
Answering
Sentiment Analysis
Information
Extraction
Image Captioning
Object Recognition
Training Adaptation
Foundation
Model
Instruction Follow
Transformer Model
Code Generation
Code
Understanding
DALL¡E
GPT-3.5-Turbo
GPT-4
Generative Text Models, with varying capabilities and uses
Generative
Image Model
Azure OpenAI Service
Provisioned
throughput model
Functions and
Plugins
Deploy on your
own data
What is Prompt Engineering?
 Prompt engineering is a concept in Natural Language Processing
(NLP) that involves embedding descriptions of tasks in input to
prompt the model to output the desired results.
 Prompt typically includes problem descriptions, instructions on how
to solve the problem, and examples of correct problem and solution
pairs.
Azure OpenAI | GPT Ideate, Experiment and Fine-Tuning
Iterate on ideas with
a general-purpose
text-in/text-out interface
Prompt
Summarize game commentary
into highlights:
Shey Peddy is applying ball pressure at
the top against Sabrina Ionescu. At
7:48 remaining in the quarter; Peddy
What are the main highlights of the
game so far?
Sample response
The game has been close with Phoenix
leading New York 7-5. Shey Peddy has
been key for Phoenix.
Prompt
Turn game commentary into highlights:
Commentary: What a pickup she has
Main highlights: New York has domina
###
Commentary:
1. Turner is so important defensively to
2. Griner pulled way out, Hartley with
3. At 1:54 remaining in the quarter, Pho
Examples
Inputs
Sample response
Main highlights:
1. New York has had a strong run in the
2. Phoenix leading by 1 point, 24-23
3. New York Liberty's comeback has be
Results
Prompt and completion examples
Custom-tuning
"hyperparams": {
"batch_size": 4,
"learning_rate_multiplier": 0.1,
"n_epochs": 4,
"prompt_loss_weight": 0.1,
"use_packing": true
}
Refine with examples
(‘few shot learning’) with
a simple UX
Optimize accuracy and
latency to validate proof
of concept fast
Azure OpenAI
Service
What is Fine-Tuning?
Fine-tuning is a way of utilizing transfer learning. Specifically, fine-tuning
is a process that takes a model that has already been trained and tune it
using a labeled dataset for a specific task.
Fine-tuning results in a new model being generated with
updated weights and biases. This contrasts with few-shot learning in
which model weights and biases are not updated.
To fine-tune a model, you'll need a set of training examples that
each consist of a single input ("prompt") and its associated output
("completion").
Reduce Hallucination using Prompt Engineering
Include
Include
instructions of
requesting the
model not to
make up stuff
but stay with
facts.
Restrict
Restrict the
output (e.g.,
choose from a
confined list
instead of
generating free
form strings)
Add
Add Chain of
Thought style
of instruction,
"Solve the
problem step
by step."
Repeat
Repeat most
important
instructions in
the prompt a
couple of
times.
Position
Position most
important
instructions in
the last.
Prompt Engineering Guide
1. Give clearer instructions
2. Split complex tasks into simpler subtasks
3. Structure the instruction to keep the model on task
4. Prompt the model to explain before answering
5. Ask for justifications of many possible answers, and then synthesize
6. Generate many outputs, and then use the model to pick the best one
7. Custom-tune custom models to maximize performance
Classified as Microsoft Confidential
Retrieval Augmented Generation
Grounding for intelligent applications
App UX Orchestrator
Azure OpenAI
Service
Azure Cognitive Search Data Sources
(files, databases, etc.)
Query →
Knowledge
Prompt + Knowledge →
Response
Transform into
Embeddings
-2, -1 , 0, 1
2, 3, 4, 5
6, 7, 8, 9
Classified as Microsoft Confidential
Retrieval Augmented Generation Example: Bring your data to the
prompt
Prompt
You are an intelligent assistant helping
Contoso, Inc. employees with questions
about their healthcare plan as well as the
employee handbook. Answer the following
question using only the data provided in the
sources below.
Question: Does my health plan cover annual
eye exams?
Sources:
1. Northwind Health Plus offers coverage for
vision exams, glasses, and contact lenses, as
well as dental exams, cleanings, and fillings.
2. Northwind Standard only offers coverage for
vision exams and glasses.
3. Both plans offer coverage for vision and
dental services.
Response
Based on the provided information,
it can be determined that both
health plans offered by Northwind
Health Plus and Northwind Standard
provide coverage for vision exams.
Therefore, your health plan should
cover annual eye exams.
Text input that provides some
framing as to how the engine
should behave
User provided question that
needs to be answered
Sources used to
answer the question
Classified as Microsoft Confidential
Introduction to top use cases
Business
Problem
Productivity is lagging
Need for process
Automation
Degraded Customer
Experience
Creating Content is Time
Consuming
Business
Needs
Increase Productivity Automate Processes
Improve Customer
Experience
Build Creative Content
Solutions
• Conversational
Search/Knowledge
Insights
• Code Generation and
Documentation
• Trend Forecasting
• Report Summarization &
Generation
• Document Processing
• Workflow Management
• Fraud Detection
• Supply Chain
Optimization
• Intelligent Contact
Center
• Agent/Employee
Assistance
• Virtual Assistance
• Call Analytics
• Call Summarization
• Marketing/Sales Content
Generation
• Personalized Content
Generation
• Product Design &
Development
• Digital Art
What can
Generative
AI Do?
Generate New Revenue Streams
Deliver Differentiated Customer Experiences
Modernize Internal Processes
Classified as Microsoft Confidential
• Private Data Access​
• Prompt Engineering​
• Performance and Evaluation​
• Versioning and Reproducibility​
• AI Safety
Production
Demo
• Prompt Engineering process need for a streamlined approach
• Prompt engineering is iterative and challenging, involving several steps
Data
preparation
Crafting
tailored
prompts
Executing
prompts using
the LLM API
Evaluate the
generated
content
Optimization in
iteration
Production
design, finetune, evaluation,
refinement, and versioning
Challenges from Demo to
Production
Classified as Microsoft Confidential
AzureML's Prompt Flow
Capabilities Overview
• Develop workflows
• Develop flows that connect to
various language models,
external data sources, tools,
and customer codes​…
• Test and Evaluate
• Test with large dataset in parallel.
• Evaluate the AI quality of
the workflows with metrics:
• performance, groundedness
, accuracy…
• Prompt Tuning
• Easy prompt tuning​ with variants
and versions.
• Compare and Deploy
• Visually compare cross experiments.
• One click deploy a workflow to
endpoint and test apps​.
Classified as Microsoft Confidential
Features and Benefits
✓ Experimentation Platform​
✓ Optimized for tuning and
iterating LLM empowered
workflow​
Evaluate
Bulk Test
Flow
Tune
Deploy
Dataset

More Related Content

What's hot

Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...
Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...
Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...SOLTUIONSpeople, THINKubators, THINKathons
 
Lars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdf
Lars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdfLars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdf
Lars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdfSOLTUIONSpeople, THINKubators, THINKathons
 
Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...
Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...
Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...SOLTUIONSpeople, THINKubators, THINKathons
 
Leveraging Generative AI & Best practices
Leveraging Generative AI & Best practicesLeveraging Generative AI & Best practices
Leveraging Generative AI & Best practicesDianaGray10
 
Using the power of Generative AI at scale
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scaleMaxim Salnikov
 
AI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERSAI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERSAndre Muscat
 
Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...
Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...
Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...SOLTUIONSpeople, THINKubators, THINKathons
 
Unlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdfUnlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdfPremNaraindas1
 
arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...
arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...
arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...SOLTUIONSpeople, THINKubators, THINKathons
 

What's hot (20)

George Boretos & FutureUP-AI the big picture.pdf
George Boretos & FutureUP-AI the big picture.pdfGeorge Boretos & FutureUP-AI the big picture.pdf
George Boretos & FutureUP-AI the big picture.pdf
 
Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...
Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...
Kelly Dowd - Leading Digital Transformation with AI and Human-Centered Design...
 
Amir Feizpour - Knowledge-Ops and LLMs.pdf
Amir Feizpour - Knowledge-Ops and LLMs.pdfAmir Feizpour - Knowledge-Ops and LLMs.pdf
Amir Feizpour - Knowledge-Ops and LLMs.pdf
 
Audrey Chia - Supercharge Your Growth.pdf
Audrey Chia - Supercharge Your Growth.pdfAudrey Chia - Supercharge Your Growth.pdf
Audrey Chia - Supercharge Your Growth.pdf
 
James Feldman - AII Powered Business Tools.pdf
James Feldman - AII Powered Business Tools.pdfJames Feldman - AII Powered Business Tools.pdf
James Feldman - AII Powered Business Tools.pdf
 
Andy Roy - Conversational AI - Why We Must Build.pdf
Andy Roy - Conversational AI - Why We Must Build.pdfAndy Roy - Conversational AI - Why We Must Build.pdf
Andy Roy - Conversational AI - Why We Must Build.pdf
 
Lars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdf
Lars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdfLars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdf
Lars Tvede - How We Boosted Total Productivity in Our Company by 20x w.pdf
 
Tojin Eapen - Augmenting Creativity Using Gen AI.pdf
Tojin Eapen - Augmenting Creativity Using Gen AI.pdfTojin Eapen - Augmenting Creativity Using Gen AI.pdf
Tojin Eapen - Augmenting Creativity Using Gen AI.pdf
 
Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...
Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...
Ben Bressington - Buy Back Your Time and Increase Profits - 1 AI Strategy You...
 
Leveraging Generative AI & Best practices
Leveraging Generative AI & Best practicesLeveraging Generative AI & Best practices
Leveraging Generative AI & Best practices
 
Terry Proto - AI Accelerates XR.pdf
Terry Proto - AI Accelerates XR.pdfTerry Proto - AI Accelerates XR.pdf
Terry Proto - AI Accelerates XR.pdf
 
Using the power of Generative AI at scale
Using the power of Generative AI at scaleUsing the power of Generative AI at scale
Using the power of Generative AI at scale
 
Marv Wexler - Transform Your with AI.pdf
Marv Wexler - Transform Your with AI.pdfMarv Wexler - Transform Your with AI.pdf
Marv Wexler - Transform Your with AI.pdf
 
Bryan_Cassady - AI Powered Innovation.pdf
Bryan_Cassady - AI Powered Innovation.pdfBryan_Cassady - AI Powered Innovation.pdf
Bryan_Cassady - AI Powered Innovation.pdf
 
AI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERSAI FOR BUSINESS LEADERS
AI FOR BUSINESS LEADERS
 
Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...
Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...
Jordan Wilson - Expert Chats Train ChatGPT to be your employee with the PPP m...
 
Josh Cavalier - ChatGPT Prompt Strategies.pdf
Josh Cavalier - ChatGPT Prompt Strategies.pdfJosh Cavalier - ChatGPT Prompt Strategies.pdf
Josh Cavalier - ChatGPT Prompt Strategies.pdf
 
Jim Lecinski - Capturing the Power of AI in Marketing.pdf
Jim Lecinski - Capturing the Power of AI in Marketing.pdfJim Lecinski - Capturing the Power of AI in Marketing.pdf
Jim Lecinski - Capturing the Power of AI in Marketing.pdf
 
Unlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdfUnlocking the Power of Generative AI An Executive's Guide.pdf
Unlocking the Power of Generative AI An Executive's Guide.pdf
 
arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...
arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...
arbar https://www.slideshare.net/Solutionman/charles-caldwell-improve-your-li...
 

Similar to Maisa Penha - Art of Possible.pdf

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
 
How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...Maxim Salnikov
 
Ppp Of Simulation Development2
Ppp Of Simulation Development2Ppp Of Simulation Development2
Ppp Of Simulation Development2guestf51d8f
 
Ask me anything: A Conversational Interface to Augment Information Security w...
Ask me anything:A Conversational Interface to Augment Information Security w...Ask me anything:A Conversational Interface to Augment Information Security w...
Ask me anything: A Conversational Interface to Augment Information Security w...Matthew Park
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Naoki (Neo) SATO
 
Operationalizing Machine Learning
Operationalizing Machine LearningOperationalizing Machine Learning
Operationalizing Machine LearningAgileThought
 
Brochure data science learning path board-infinity (1)
Brochure   data science learning path board-infinity (1)Brochure   data science learning path board-infinity (1)
Brochure data science learning path board-infinity (1)NirupamNishant2
 
Data Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLData Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLPaco Nathan
 
BTech Final Project (1).pptx
BTech Final Project (1).pptxBTech Final Project (1).pptx
BTech Final Project (1).pptxSwarajPatel19
 
data-science-pdf-16588.pdf
data-science-pdf-16588.pdfdata-science-pdf-16588.pdf
data-science-pdf-16588.pdfvkharish18
 
Amol Bhawar Resume 2016
Amol Bhawar Resume 2016Amol Bhawar Resume 2016
Amol Bhawar Resume 2016Amol Bhawar
 
AI Talks Live - ML.NET and NLP (with ONNX)
AI Talks Live - ML.NET and NLP (with ONNX)AI Talks Live - ML.NET and NLP (with ONNX)
AI Talks Live - ML.NET and NLP (with ONNX)Mauro Bennici
 
Data Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLData Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLPaco Nathan
 
Deep Learning with CNTK
Deep Learning with CNTKDeep Learning with CNTK
Deep Learning with CNTKAshish Jaiman
 
Generative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptxGenerative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptxAlon Fliess
 
ITP251 Final Assignment
ITP251 Final AssignmentITP251 Final Assignment
ITP251 Final AssignmentNEVEK50495
 
Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMemi Beltrame
 

Similar to Maisa Penha - Art of Possible.pdf (20)

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
 
AI pitch SSideri
 AI pitch SSideri  AI pitch SSideri
AI pitch SSideri
 
How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...How Azure helps to build better business processes and customer experiences w...
How Azure helps to build better business processes and customer experiences w...
 
Ppp Of Simulation Development2
Ppp Of Simulation Development2Ppp Of Simulation Development2
Ppp Of Simulation Development2
 
Ask me anything: A Conversational Interface to Augment Information Security w...
Ask me anything:A Conversational Interface to Augment Information Security w...Ask me anything:A Conversational Interface to Augment Information Security w...
Ask me anything: A Conversational Interface to Augment Information Security w...
 
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
Microsoft + OpenAI: Recent Updates (Machine Learning 15minutes! Broadcast #74)
 
Carol Scott - Fast Track Your AI Journey.pdf
Carol Scott - Fast Track  Your AI Journey.pdfCarol Scott - Fast Track  Your AI Journey.pdf
Carol Scott - Fast Track Your AI Journey.pdf
 
Operationalizing Machine Learning
Operationalizing Machine LearningOperationalizing Machine Learning
Operationalizing Machine Learning
 
Brochure data science learning path board-infinity (1)
Brochure   data science learning path board-infinity (1)Brochure   data science learning path board-infinity (1)
Brochure data science learning path board-infinity (1)
 
Data Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area MLData Workflows for Machine Learning - SF Bay Area ML
Data Workflows for Machine Learning - SF Bay Area ML
 
BTech Final Project (1).pptx
BTech Final Project (1).pptxBTech Final Project (1).pptx
BTech Final Project (1).pptx
 
data-science-pdf-16588.pdf
data-science-pdf-16588.pdfdata-science-pdf-16588.pdf
data-science-pdf-16588.pdf
 
Amol Bhawar Resume 2016
Amol Bhawar Resume 2016Amol Bhawar Resume 2016
Amol Bhawar Resume 2016
 
AI Talks Live - ML.NET and NLP (with ONNX)
AI Talks Live - ML.NET and NLP (with ONNX)AI Talks Live - ML.NET and NLP (with ONNX)
AI Talks Live - ML.NET and NLP (with ONNX)
 
Data Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAMLData Workflows for Machine Learning - Seattle DAML
Data Workflows for Machine Learning - Seattle DAML
 
Deep Learning with CNTK
Deep Learning with CNTKDeep Learning with CNTK
Deep Learning with CNTK
 
Generative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptxGenerative AI in CSharp with Semantic Kernel.pptx
Generative AI in CSharp with Semantic Kernel.pptx
 
ITP251 Final Assignment
ITP251 Final AssignmentITP251 Final Assignment
ITP251 Final Assignment
 
Carol Scott - How to Thrive in the AI Era.pdf
Carol Scott - How to Thrive in the AI Era.pdfCarol Scott - How to Thrive in the AI Era.pdf
Carol Scott - How to Thrive in the AI Era.pdf
 
Machine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup BaselMachine Learning for Designers - DX Meetup Basel
Machine Learning for Designers - DX Meetup Basel
 

More from SOLTUIONSpeople, THINKubators, THINKathons (7)

5 Dr. Natalie Petouhoff_AI + Empathy.pdf
5 Dr. Natalie Petouhoff_AI + Empathy.pdf5 Dr. Natalie Petouhoff_AI + Empathy.pdf
5 Dr. Natalie Petouhoff_AI + Empathy.pdf
 
Martez Knox - How AI is Redefining the Cannabis Industry (Final) (2).pdf
Martez Knox - How AI is Redefining the Cannabis Industry (Final) (2).pdfMartez Knox - How AI is Redefining the Cannabis Industry (Final) (2).pdf
Martez Knox - How AI is Redefining the Cannabis Industry (Final) (2).pdf
 
Charlie Caldwell - Living Smart with AI.pdf
Charlie Caldwell - Living Smart with AI.pdfCharlie Caldwell - Living Smart with AI.pdf
Charlie Caldwell - Living Smart with AI.pdf
 
Pan Dhoni - Modernizing Data And Analytics using AI.pdf
Pan Dhoni - Modernizing Data And Analytics using AI.pdfPan Dhoni - Modernizing Data And Analytics using AI.pdf
Pan Dhoni - Modernizing Data And Analytics using AI.pdf
 
Jordan Wilson - Genius ChatGPT Tactis.pdf
Jordan Wilson - Genius ChatGPT Tactis.pdfJordan Wilson - Genius ChatGPT Tactis.pdf
Jordan Wilson - Genius ChatGPT Tactis.pdf
 
Bryan Mattimore - AI Ideation and TIE.pdf
Bryan Mattimore - AI Ideation and TIE.pdfBryan Mattimore - AI Ideation and TIE.pdf
Bryan Mattimore - AI Ideation and TIE.pdf
 
Tom Nodine - How AI Helps Us Live Longer.pdf
Tom Nodine - How AI Helps Us Live Longer.pdfTom Nodine - How AI Helps Us Live Longer.pdf
Tom Nodine - How AI Helps Us Live Longer.pdf
 

Recently uploaded

Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailAriel592675
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Timedelhimodelshub1
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCRashishs7044
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMintel Group
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadIslamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadAyesha Khan
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...lizamodels9
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 

Recently uploaded (20)

Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Case study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detailCase study on tata clothing brand zudio in detail
Case study on tata clothing brand zudio in detail
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
Call Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any TimeCall Girls Miyapur 7001305949 all area service COD available Any Time
Call Girls Miyapur 7001305949 all area service COD available Any Time
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
8447779800, Low rate Call girls in Uttam Nagar Delhi NCR
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Market Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 EditionMarket Sizes Sample Report - 2024 Edition
Market Sizes Sample Report - 2024 Edition
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in IslamabadIslamabad Escorts | Call 03274100048 | Escort Service in Islamabad
Islamabad Escorts | Call 03274100048 | Escort Service in Islamabad
 
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
Call Girls In Connaught Place Delhi ❤️88604**77959_Russian 100% Genuine Escor...
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 

Maisa Penha - Art of Possible.pdf

  • 1. Classified as Microsoft Confidential Intro Maisa Penha Principal TPM Azure OpenAI www.linkedin.com/in/maisapenha
  • 2. Art of the Possible: Visual Extraction and Reasoning Input Prompt Completion Can you explain this meme? This meme is a joke that combines two unrelated things: pictures of the earth from space and chicken nuggets. The text of the meme suggests that the image below is a beautiful picture of the earth from space. However, the image is actually of chicken nuggets arranged to vaguely resemble a map of the world. The humor in this meme comes from the unexpected juxtaposition of the text and the image. The text sets up an expectation of a majestic image of the earth, but the image is actually something mundane and silly.
  • 3. Art of the Possible: Web Page Design from a Visual Input Prompt Completion
  • 4. Art of the Possible: Visual Extraction and Reasoning Input Prompt Completion What are a couple meals I can make with this? Based on the items visible in this fridge, here are a couple of meal ideas: 1) Yogurt parfait: Layer yogurt, strawberries and blueberries in a bowl or jar. Top with honey or nuts for added texture and flavor. 2) Carrot and hummus wrap: Spread hummus on a tortilla or wrap. Top with shredded carrots and any desired veggies. Roll up and enjoy!
  • 5. Classified as Microsoft Confidential Microsoft is powered by Azure AI Applications Partner Solutions Application Platform AI Builder Power BI Power Apps Power Automate Power Virtual Agents Scenario-Based Services Bot Service Cognitive Search Document Intelligence Video Indexer Metrics Advisor Immersive Reader Customizable AI Models Vision Speech Language Decision Azure OpenAI Service ML Platform Azure Machine Learning
  • 6. Classified as Microsoft Confidential Microsoft and OpenAI partnership Ensure that artificial general intelligence (AGI) benefits humanity Empower every person and organization on the planet to achieve more Azure OpenAI Service GPT-4 & GPT-3.5-Turbo Text Chat Completions Conversation DALL¡E 2 Image Whisper Transcription & Translation
  • 7. Artificial Intelligence 1956 Artificial Intelligence the field of computer science that seeks to create intelligent machines that can replicate or exceed human intelligence Machine Learning 1997 Machine Learning subset of AI that enables machines to learn from existing data and improve upon that data to make decisions or predictions Deep Learning 2017 Deep Learning a machine learning technique in which layers of neural networks are used to process data and make decisions Generative AI 2021 Generative AI Create new written, visual, and auditory content given prompts or existing data.
  • 8. Foundation Models Training Data Text Images Speech Structured Data 3d Signals Tasks Question and Answering Sentiment Analysis Information Extraction Image Captioning Object Recognition Training Adaptation Foundation Model Instruction Follow Transformer Model Code Generation Code Understanding
  • 9. DALL¡E GPT-3.5-Turbo GPT-4 Generative Text Models, with varying capabilities and uses Generative Image Model Azure OpenAI Service Provisioned throughput model Functions and Plugins Deploy on your own data
  • 10. What is Prompt Engineering?  Prompt engineering is a concept in Natural Language Processing (NLP) that involves embedding descriptions of tasks in input to prompt the model to output the desired results.  Prompt typically includes problem descriptions, instructions on how to solve the problem, and examples of correct problem and solution pairs.
  • 11. Azure OpenAI | GPT Ideate, Experiment and Fine-Tuning Iterate on ideas with a general-purpose text-in/text-out interface Prompt Summarize game commentary into highlights: Shey Peddy is applying ball pressure at the top against Sabrina Ionescu. At 7:48 remaining in the quarter; Peddy What are the main highlights of the game so far? Sample response The game has been close with Phoenix leading New York 7-5. Shey Peddy has been key for Phoenix. Prompt Turn game commentary into highlights: Commentary: What a pickup she has Main highlights: New York has domina ### Commentary: 1. Turner is so important defensively to 2. Griner pulled way out, Hartley with 3. At 1:54 remaining in the quarter, Pho Examples Inputs Sample response Main highlights: 1. New York has had a strong run in the 2. Phoenix leading by 1 point, 24-23 3. New York Liberty's comeback has be Results Prompt and completion examples Custom-tuning "hyperparams": { "batch_size": 4, "learning_rate_multiplier": 0.1, "n_epochs": 4, "prompt_loss_weight": 0.1, "use_packing": true } Refine with examples (‘few shot learning’) with a simple UX Optimize accuracy and latency to validate proof of concept fast Azure OpenAI Service
  • 12. What is Fine-Tuning? Fine-tuning is a way of utilizing transfer learning. Specifically, fine-tuning is a process that takes a model that has already been trained and tune it using a labeled dataset for a specific task. Fine-tuning results in a new model being generated with updated weights and biases. This contrasts with few-shot learning in which model weights and biases are not updated. To fine-tune a model, you'll need a set of training examples that each consist of a single input ("prompt") and its associated output ("completion").
  • 13. Reduce Hallucination using Prompt Engineering Include Include instructions of requesting the model not to make up stuff but stay with facts. Restrict Restrict the output (e.g., choose from a confined list instead of generating free form strings) Add Add Chain of Thought style of instruction, "Solve the problem step by step." Repeat Repeat most important instructions in the prompt a couple of times. Position Position most important instructions in the last.
  • 14. Prompt Engineering Guide 1. Give clearer instructions 2. Split complex tasks into simpler subtasks 3. Structure the instruction to keep the model on task 4. Prompt the model to explain before answering 5. Ask for justifications of many possible answers, and then synthesize 6. Generate many outputs, and then use the model to pick the best one 7. Custom-tune custom models to maximize performance
  • 15. Classified as Microsoft Confidential Retrieval Augmented Generation Grounding for intelligent applications App UX Orchestrator Azure OpenAI Service Azure Cognitive Search Data Sources (files, databases, etc.) Query → Knowledge Prompt + Knowledge → Response Transform into Embeddings -2, -1 , 0, 1 2, 3, 4, 5 6, 7, 8, 9
  • 16. Classified as Microsoft Confidential Retrieval Augmented Generation Example: Bring your data to the prompt Prompt You are an intelligent assistant helping Contoso, Inc. employees with questions about their healthcare plan as well as the employee handbook. Answer the following question using only the data provided in the sources below. Question: Does my health plan cover annual eye exams? Sources: 1. Northwind Health Plus offers coverage for vision exams, glasses, and contact lenses, as well as dental exams, cleanings, and fillings. 2. Northwind Standard only offers coverage for vision exams and glasses. 3. Both plans offer coverage for vision and dental services. Response Based on the provided information, it can be determined that both health plans offered by Northwind Health Plus and Northwind Standard provide coverage for vision exams. Therefore, your health plan should cover annual eye exams. Text input that provides some framing as to how the engine should behave User provided question that needs to be answered Sources used to answer the question
  • 17. Classified as Microsoft Confidential Introduction to top use cases Business Problem Productivity is lagging Need for process Automation Degraded Customer Experience Creating Content is Time Consuming Business Needs Increase Productivity Automate Processes Improve Customer Experience Build Creative Content Solutions • Conversational Search/Knowledge Insights • Code Generation and Documentation • Trend Forecasting • Report Summarization & Generation • Document Processing • Workflow Management • Fraud Detection • Supply Chain Optimization • Intelligent Contact Center • Agent/Employee Assistance • Virtual Assistance • Call Analytics • Call Summarization • Marketing/Sales Content Generation • Personalized Content Generation • Product Design & Development • Digital Art What can Generative AI Do? Generate New Revenue Streams Deliver Differentiated Customer Experiences Modernize Internal Processes
  • 18. Classified as Microsoft Confidential • Private Data Access​ • Prompt Engineering​ • Performance and Evaluation​ • Versioning and Reproducibility​ • AI Safety Production Demo • Prompt Engineering process need for a streamlined approach • Prompt engineering is iterative and challenging, involving several steps Data preparation Crafting tailored prompts Executing prompts using the LLM API Evaluate the generated content Optimization in iteration Production design, finetune, evaluation, refinement, and versioning Challenges from Demo to Production
  • 19. Classified as Microsoft Confidential AzureML's Prompt Flow Capabilities Overview • Develop workflows • Develop flows that connect to various language models, external data sources, tools, and customer codes​… • Test and Evaluate • Test with large dataset in parallel. • Evaluate the AI quality of the workflows with metrics: • performance, groundedness , accuracy… • Prompt Tuning • Easy prompt tuning​ with variants and versions. • Compare and Deploy • Visually compare cross experiments. • One click deploy a workflow to endpoint and test apps​.
  • 20. Classified as Microsoft Confidential Features and Benefits ✓ Experimentation Platform​ ✓ Optimized for tuning and iterating LLM empowered workflow​ Evaluate Bulk Test Flow Tune Deploy Dataset