Download as pdf or txt
Download as pdf or txt
You are on page 1of 37

SU-02

Building your MVP with AI/ML

George Softas (he/him)


Senior Startups Solutions Architect
Amazon Web Services

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Agenda

Let’s talk about MVPs

MVP? Got it! What about Artificial Intelligence?

A couple of ideas to start your next MVP on AWS

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Let’s talk about MVPs

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
What is an

MVP?
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Let’s talk about MVPs – Minimum {x} Product

Viable Usable Loveable Testable

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
MVP: User First, Solution Oriented

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
MVP: Iteration Cycles

5% 5% 5%

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
MVP: Another way of looking at it

Delightful Delightful
This

Usable Usable

Not this
Reliable Reliable

Functional Functional

Source: The Lean Product Playbook

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
If you aren’t embarrassed by
the first version of your
product, you shipped too late.

Reid Hoffmann
Co-Founder and Executive Chairman, LinkedIn

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The Vasa
• Considered to be one of the most spectacular
warships ever built

• There was an overemphasis on the ship’s


elegance and firepower and reduced
importance on its seaworthiness and stability

• Sunk just a few minutes in its maiden voyage


in 1628

• Vasa syndrome – A cautionary tale for those


designing and testing new technologies

An organization’s goals must be


appropriately matched to its
capabilities

Source: https://www.smithsonianmag.com/smart-
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved. news/bizarre-story-vasa-ship-keeps-giving-180964328/
If you build it…
you must maintain it

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Let’s talk about MVPs - recap

• Focus on what your users really need

• Iterate fast and often

• Manage your resources wisely

• Play to your advantages

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
MVP? Got it! What about
Artificial Intelligence?

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
AI, ML, DL – What does it all mean?

Artificial intelligence (AI)


Any technique that enables computers to mimic human intelligence using logic,
if-then statements, and machine learning (including deep learning)

Machine learning (ML)


A subset of AI that uses machines to search for patterns
in data to build logic models automatically

Deep learning (DL)


A subset of ML composed of deeply multi-layered neural
networks that perform tasks like speech and image recognition

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Where is AI/ML used?

Intelligent document
Intelligent Intelligent processing Health
contact center search AI
Demand planning
Chatbots & Intelligent
virtual assistants Forecasting edge
Predictive
Anomaly maintenance Autonomous
Personalization
Detection systems
Quality control
Content Fraud & Visual Inspection AI for
moderation prevention society
AI for DevOps

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The AWS AI/ML stack
SPECIALIZED

Business processes Search Code + DevOps Industrial Healthcare


Amazon Personalize Amazon Kendra Amazon CodeGuru Amazon Monitron Amazon HealthLake
Amazon Forecast Amazon DevOps Guru Amazon Lookout for Equipment Amazon Comprehend Medical
Amazon Fraud Detector Amazon Lookout for Vision Amazon Transcribe Medical
Amazon Lookout for Metrics
AI SERVICES
CORE

Text & Documents Chatbots Speech Vision


Amazon Translate Amazon Lex Amazon Polly Amazon Rekognition
Amazon Comprehend Amazon Transcribe AWS Panorama
Amazon Textract Amazon Transcribe Call Analytics

SAGEMAKER SAGEMAKER
CANVAS STUDIO LAB AMAZON SAGEMAKER

ML SERVICES Label No-code ML Learn Prepare Store Detect Build with Train Tune Deploy in Explain Manage Manage
data for business ML data features bias notebooks models parameters production predictions & monitor edge devices
analysts
CI/CD

ML FRAMEWORKS PyTorch, Apache Habana Elastic


MXNet, TensorFlow Amazon EC2 CPUs GPUs AWS Inferentia AWS Trainium Gaudi FPGA inference
& INFRASTRUCTURE

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
A couple of ideas to start your
next MVP on AWS

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
The AWS Toolbox

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo 1 – Podcast Transcription

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deriving Insights from Spoken Word

Discovering and indexing


podcast episodes using
Amazon Transcribe and
Amazon Comprehend

Source: https://aws.amazon.com/blogs/machine-learning/discovering-and-indexing-podcast-episodes-
using-amazon-transcribe-and-amazon-comprehend/

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting Started with the solution (Podcast Transcription)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting Started with the solution (Podcast Transcription)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Podcast Download Step Function (Podcast Transcription)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Episode Analysis Step Function (Podcast Transcription)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Lambda Functions (Podcast Transcription)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Kibana Dashboard (Podcast Transcription)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Demo 2 – HuggingFace Transformers

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Deploy HuggingFace Transformer Models using
Amazon SageMaker

HuggingFace Models
Sources
Models
https://huggingface.co/models

Source Code
https://github.com/huggingface/notebooks/tree/
main/sagemaker/19_serverless_inference

Text Classification Question Answering


(roberta-base-squad2) (distilbert-base-uncased-
finetuned-sst-2-english)
© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting Started with the solution (Text Classifier)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting Predictions (Text Classifier)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting Started with the solution (QnA)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Getting Predictions (QnA)

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
I’ve built my MVP and I want to test it
across the world. Is that possible?

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Scale globally with resilience in every region
AWS Region AWS Availability Zone (AZ)

Transit AZ
Datacenter Datacenter

AZ AZ
Datacenter
Transit AZ
Region & Number of Announced Regions
Availability Zones A Region is a physical location
in the world where we have
multiple Availability Zones. Availability Zones consist of one
26 Regions or more discrete data centers,
84 Availability Zones each with redundant power,
networking, and connectivity,
310+ Points of Presence housed in separate facilities.

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
10 Mistakes Founders make on AWS, and how to
avoid them

Source: https://aws.amazon.com/blogs/startups/ten-mistakes-founders-make-on-aws-and-
how-to-avoid-them/

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Thank you!
George Softas
https://linkedin.com/in/georgesoftas

@GeorgeSoftas

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Please complete
the session survey

© 2022, Amazon Web Services, Inc. or its affiliates. All rights reserved.

You might also like