Mais conteúdo relacionado Semelhante a Introduction to AI on AWS - AL/ML Hebrew Webinar (20) Mais de Boaz Ziniman (20) Introduction to AI on AWS - AL/ML Hebrew Webinar1. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Introduction to
AI on AWS
Boaz Ziniman – Technical Evangelist, AWS
@ziniman
boaz.ziniman.aws
Ready, Set, Go! And beyond
AI/ML webinar series in Hebrew
2. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Agenda
• “Ready” - Introduction to AI/Machine Learning – April 29
Boaz Ziniman
• “Set” - What is ML for developers? – April 30
Guy Ernest
• “GO” - Building your own ChatBot with AWS Lex – May 7
Boaz Ziniman
• “And Beyond” - Amazon Sagemaker – May 8
Guy Ernest
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
3. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon.com,1995
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
4. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
« Two Decades of Recommender Systems at
Amazon.com » (2017)
https://www.computer.org/csdl/mags/ic/2017/03/mic2017030012.html
G.D. Linden, J.A. Jacobi, and E.A. Benson,
Collaborative Recommendations Using Item-to-
Item Similarity Mappings, US Patent 6,266,649, to
Amazon.com, Patent and Trademark Office, 2001
(filed 1998).
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
5. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
6. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
7. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
8. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
9. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Our mission
Put Machine Learning in the hands of
every developer and data scientist
10. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Application
Services
Platform
Services
Frameworks
&
Infrastructure
API-driven services: Vision & Language Services, Conversational Chatbots
Deploy machine learning models with high-performance machine learning
algorithms, broad framework support, and one-click training, tuning, and
inference.
Develop sophisticated models with any framework, create managed, auto-
scaling clusters of GPUs for large scale training, or run inference on trained
models.
AWS ML Stack
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
11. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
More AI/ML is built on AWS than anywhere else
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
12. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
More AI/ML is built on AWS than anywhere else
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
13. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Application Services
14. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Rekognition
Deep Learning-based image
analysis service
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
15. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon
Rekognition
Object and scene detection
Facial analysis
Face comparison
Celebrity recognition
Image moderation
Text in image
Image analysis service
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
16. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Object & Scene Detection
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
17. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Facial Analysis
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
18. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
NEW
Crowd Detection – up to 100 faces
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
19. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Facial Search
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
20. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Explicit Nudity
Nudity
Graphic Male Nudity
Graphic Female Nudity
Sexual Activity
Partial Nudity
Suggestive
Female Swimwear or Underwear
Male Swimwear or Underwear
Revealing Clothes
Image Moderation
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
21. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Celebrity Recognition
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
22. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
NEW
Text in Image
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
23. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Rekognition API example
aws rekognition detect-labels
--image '{"S3Object":{"Bucket":"demos.ziniman.com","Name":"photos/reko.jpg"}}'
{
"Labels": [
{
"Confidence": 99.14048767089844,
"Name": "Human"
},
{
"Confidence": 99.1404800415039,
"Name": "People"
},
{
"Confidence": 99.14048767089844,
"Name": "Person"
}……
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
24. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Rekognition API example
aws rekognition detect-faces
--image '{"S3Object":{"Bucket":"demos.ziniman.com","Name":"photos/reko.jpg"}}'
--attributes "ALL”
{
"FaceDetails": [
{
....
"Gender": {
"Confidence": 99.9211654663086,
"Value": "Male"
},
"AgeRange": {
"High": 52,
"Low": 35
},
....
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
25. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Marinus Analytics
Marinus Analytics provides law enforcement with
tools founded in artificial intelligence.
Traffic Jam, is a suite of tools for use by law
enforcement agencies on sex trafficking
investigations.
Before using Amazon Rekognition, their only
recourse was manual processing; this was time-
intensive or not possible.
Now, investigators are able to take effective action
by searching through millions of records in
seconds to find victims.
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
http://www.marinusanalytics.com/articles/2017/10
/17/amazon-rekognition-helps-marinus-analytics-
fight-human-trafficking
26. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Rekognition Video
Deep Learning-based video
analysis service
NEWReady, Set, Go! And beyond - AI/ML webinar series in Hebrew
27. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Video Analysis
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
28. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
29. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
30. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
City of Orlando
Real-time video analysis
”The City of Orlando is excited to work with Amazon to pilot the latest
in public safety software through a unique, first-of-it's-kind public-
private partnership. Through the pilot, Orlando will utilize Amazon
Rekognition Video and Amazon Kinesis Video Streams technology in a
way that will use existing City resources to provide real-time detection
and notification of persons-of-interests, further increasing public safety,
and operational efficiency opportunities for the City of Orlando and
other cities across the nation”.
John Mina, Police Chief, City of Orlando
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
31. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Polly
Deep Learning-based text-to-
speech service
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
32. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Polly
“Today in Seattle, WA
it’s 11°F”
Amazon Polly: Text In, Life-like Speech Out
52 voices across 25 languages
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
“Today in Seattle Washington
it’s 11 degrees Fahrenheit”
33. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Polly
Amazon Polly: Text In, Life-like Speech Out
52 voices across 25 languages
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
“Today in Mumbai,
India it’s 32°C”
“Today in Mumbai, India it’s 32
degrees Celcius”
34. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
• “Today in Seattle, WA, it’s 11°F”
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
35. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
36. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
37. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
https://www.w3.org/TR/speech-synthesis/
<speak>
The spelling of my name is
<prosody rate='x-slow'>
<say-as interpret-as="characters">Boaz</say-as>
</prosody>
</speak>
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
38. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
A Focus On Voice Quality & Pronunciation
1. Automatic, Accurate Text Processing
2. Intelligible and Easy to Understand
3. Add Semantic Meaning to Text
• “Richard’s number is 2122341237“
<say-as interpret-as="telephone">
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
39. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Voice Modification: Vocal Tract Length
<speak>
This is Brian without any voice modifications.
<amazon:effect vocal-tract-length="+15%"> Imagine now that I got bigger… </amazon:effect>
<amazon:effect vocal-tract-length="+25%"> Suppose that I got even bigger still… </amazon:effect>
Now let's go back and hear the effect when I go in the opposite direction.
<amazon:effect vocal-tract-length="-15%"> Can you tell that I'm getting smaller? </amazon:effect>
<amazon:effect vocal-tract-length="-25%"> Now I'm even smaller than before. </amazon:effect>
</speak>
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
40. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Polly API example
aws polly synthesize-speech
--text "It was nice to live such a wonderful live show"
--output-format mp3
--voice-id Joanna
--text-type text
johanna.mp3
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
41. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Duolingo
• Duolingo is the most popular
language-learning platform and the
most downloaded education app in
the world, with more than 170
million users.
• They have run six A/B tests, testing
an Amazon Polly voice against a
voice from other TTS providers.
• For all of these experiments, the
winning condition was the Amazon
Polly voice
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
https://aws.amazon.com/blogs/machine-
learning/powering-language-learning-on-
duolingo-with-amazon-polly/
42. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Translate
Neural Machine Translation Service
(Preview)
NEWReady, Set, Go! And beyond - AI/ML webinar series in Hebrew
43. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
“Hello, what’s up? Do
you want to go see a
movie tonight?”
Amazon Translate
Natural and fluent language translation
"Bonjour, quoi de neuf ?
Tu veux aller voir un film
ce soir ?"
Amazon
Translate
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
44. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Automatic translation
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
Real-time
translation
Powered by Deep
Learning
12 Language pairs
(more to come)
Language detection
45. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Hotels.com
Machine Translation
At Hotels.com, we are committed to offering all of our customers
the most relevant and up to date information about their
destination. To achieve that, we operate 90 localized websites in
41 languages. We have more than 25M customer reviews and
more are coming in every day, making a great candidate for
machine translation. Having evaluated Amazon Translate and
several other solutions, we believe that Amazon Translate presents
a quick, efficient and most importantly, accurate solution
Matt Fryer, VP and Chief Data Science Officer, Hotels.com
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
46. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Transcribe
Automatic speech recognition service
NEW
(Preview)
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
47. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
“Hello, this is Allan
speaking”
Automatic speech recognition service
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
Amazon
Transcribe
48. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Support for
telephony
audio
Timestamp
generation
Intelligent
punctuation
and formatting
Recognize
multiple
speakers
Custom
vocabulary
Multiple
languages
Automatic speech recognition service
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
49. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
ringDNA
RingDNA is an end-to-end communications
platform for sales teams.
Hundreds of enterprise organizations use
RingDNA to increase productivity, engage in
smarter sales conversations, gain predictive
sales insights and improve their win rate.
Speech to Text
"A critical component of RingDNA’s Conversation
AI requires best of breed speech-to-text to deliver
transcriptions of every phone call. RingDNA is
excited about Amazon Transcribe since it provides
high-quality speech recognition at scale, helping
us to better transcribe every call to text"
Howard Brown, CEO & Founder, RingDNA
https://www.youtube.com/watch?v=1ZJ_f1bDdog
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
50. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Comprehend
Natural Language Processing
NEWReady, Set, Go! And beyond - AI/ML webinar series in Hebrew
51. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Fully managed natural language processing
Discover valuable insights from text
Entities
Key Phrases
Language
Sentiment
Amazon
Comprehend
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
52. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
53. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Topic modeling
STORM
WORLD SERIES
AUSTRALIASTOCK
MARKET
WASHINGTON
HEALTH
CRISIS
MACHINE
LEARNING
LIBRARY OF
NEWS ARTICLES *
Amazon
Comprehend
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
54. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
55. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon Lex
Conversational Interfaces
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
56. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Intents
A particular goal that the
user wants to achieve
Utterances
Spoken or typed phrases
that invoke your intent
Slots
Data the user must provide to fulfill the
intent
Prompts
Questions that ask the user to input
data
Fulfillment
The business logic required to fulfill the
user’s intent
BookHotel
57. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Lex Bots
Salesforce
Microsoft Dynamics
Marketo
Zendesk
Web
Devices
Apps
Facebook Messenger,
Slack,
Amazon
Connect
Mobile
Mobile Hub
integration
Quickbooks
Amazon Lex: Conversational Chatbots
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
58. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Application
Services
Platform
Services
Frameworks
&
Infrastructure
API-driven services: Vision & Language Services, Conversational Chatbots
Deploy machine learning models with high-performance machine learning
algorithms, broad framework support, and one-click training, tuning, and
inference.
Develop sophisticated models with any framework, create managed, auto-
scaling clusters of GPUs for large scale training, or run inference on trained
models.
AWS ML Stack
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
59. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Platform Services
60. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon EMR
ML on Amazon Elastic Map Reduce
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
61. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
End-to-End
Machine Learning
Platform
Zero setup Flexible Model
Training
Pay by the second
$
Amazon SageMaker
Build, train, and deploy machine learning models at scale
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
62. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Highly-optimized
machine learning
algorithms
BuildPre-built
notebook
instances
Amazon SageMaker
63. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Highly-optimized
machine learning
algorithms
BuildPre-built
notebook
instances
Train
One-click training
for ML, DL, and
custom algorithms
Easier training with
hyperparameter
optimization
Amazon SageMaker
64. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Highly-optimized
machine learning
algorithms
Deployment
without
engineering effort
Fully-managed
hosting at scale
BuildPre-built
notebook
instances
Deploy
Train
One-click training
for ML, DL, and
custom algorithms
Easier training with
hyperparameter
optimization
Amazon SageMaker
65. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Digital Globe
In the last 18 years DigitalGlobe has been
operating Earth imaging satellites, they
have collected over 100 PB of imagery.
There is a trade-off between how quickly
data can be accessed and how much it will
cost to store.
Working with the ML Lab, Digital Globe
built a predictive model that will reduce
cloud storage costs for their imagery
archive by 50%. http://blog.digitalglobe.com/industry/using-
machine-learning-to-save-money-on-cloud-data-
storage/
https://www.youtube.com/watch?v=mkKkSRIxU8M
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
66. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Application
Services
Platform
Services
Frameworks
&
Infrastructure
API-driven services: Vision & Language Services, Conversational Chatbots
Deploy machine learning models with high-performance machine learning
algorithms, broad framework support, and one-click training, tuning, and
inference.
Develop sophisticated models with any framework, create managed, auto-
scaling clusters of GPUs for large scale training, or run inference on trained
models.
AWS ML Stack
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
67. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Frameworks & Infrastructure
68. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon EC2 P3 Instances
T h e f a s t e s t , m o s t p o w e r f u l G P U i n s t a n c e s i n t h e c l o u d
• U p t o e i g h t N V I D I A T e s l a V 1 0 0 G P U s
• 1 P e t a F L O P s o f c o m p u t a t i o n a l p e r f o r m a n c e –
1 4 x b e t t e r t h a n P 2
• 3 0 0 G B / s G P U - t o - G P U c o m m u n i c a t i o n
( N V L i n k ) – 9 x b e t t e r t h a n P 2
• 1 6 G B G P U m e m o r y w i t h 9 0 0 G B / s e c p e a k G P U
m e m o r y b a n d w i d t h
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
69. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
AWS Deep Learning AMI
• Easy-to-launch tutorials
• Hassle-free setup and configuration
• Pay only for what you use
• Accelerate your model training and deployment
• Support for popular deep learning frameworks
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
70. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
AWS DeepLens
Deep Learning enabled video camera
for developers
NEW
(Pre-orders)
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
71. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
A new way to learn
Custom built for deep learning
Broad Framework Support
Deploy models from Amazon SageMaker
Integrated with AWS
Full programmable with AWS Lambda
AWS DeepLens
World’s first Deep Learning enabled video camera for developers
72. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Object detection with AWS DeepLens
73. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
Amazon ML Lab
Lots of companies
doing Machine
Learning
Unable to unlock
business potential
Brainstorming Modeling Teaching
Lack ML
expertise
Leverage Amazon experts with decades of ML
experience with technologies like Amazon Echo,
Amazon Alexa, Prime Air and Amazon Go
Amazon ML Lab
provides the missing
ML expertise
Ready, Set, Go! And beyond - AI/ML webinar series in Hebrew
74. © 2018, Amazon Web Services, Inc. or Its Affiliates. All rights reserved.
FRAMEWORKS AND INTERFACES
PLATFORM SERVICES
APPLICATION SERVICES
Amazon
Rekognition
Amazon Polly Amazon Lex
Democratization of AI
Amazon
Rekognition Video
Amazon Transcribe
Amazon Comprehend
Amazon SageMaker AWS DeepLens Amazon EMR
Deep Learning AMI
Amazon Translate