Professional Documents
Culture Documents
Practical Data Science On AWS: Generative AI
Practical Data Science On AWS: Generative AI
Generative AI
https://datascienceonaws.com https://github.com/data-science-on-aws
Data Science
on AWS
datascienceonaws.com
coursera.org/specializations
github.com/data-science-on-aws /practical-data-science
youtube.datascienceonaws.com
meetup.datascienceonaws.com
amazon.com/dp/1492079391
Agenda
Why data science and machine learning in the cloud?
NEW
MACHINE LEARNING
PLATFORM
PYTORCH
NEW
TENSORFLOW
G4DN G5 G5G INF2
NVIDIA T4 GPU NVIDIA A10G NVIDIA T4G AWS
TENSOR CORE TENSOR CORE INFERENTIA
MXNET
AWS chips optimized for deep learning
EFA NETWORK
AWS Inferentia2
NEURON-CORE V2 High performance NEURON-CORE V2 PYTORCH,
CONNECTIVITY NEURON-LINK V2 TENSORFLOW,
ML inference chip,
800/1600 Gbps
TRANSISTORS PER CHIP
purpose-built by AWS
TRANSISTORS PERV2
NEURON-LINK CHIP SUPPORTED
55,000,000,000 55,000,000,000
Generative AI use cases
What is generative AI?
AI that can produce original content close enough to human generated
content for real-world tasks
Source: https://yang-song.github.io/blog/2021/score
Stable Diffusion
Source: https://jalammar.github.io/illustrated-stable-diffusion/
Stable Diffusion 2.0
Seamless
transformation
4x
https://github.com/aws/amazon-sagemaker-examples/blob/mai
n/introduction_to_amazon_algorithms/jumpstart_text_to_image/
custom_dog_image_generator.ipynb
Generative AI use cases
https://aws.amazon.com/codewhisperer
Generative AI use cases
Source: https://sharegpt.com/c/qBe8ciw
Evolution of natural language
processing (NLP)
Early Natural Language Processing (NLP) models
T=
T=Transformer
Transformer!
Recent Large Language Models (LLMs)
Nov 2022
Jul 2022
Reinforcement
Learning
Human in
the loop
Human in
the loop
Supervised
Training Reward
Model
Source: https://huggingface.co/spaces/bigscience/promptsource/blob/main/promptsource/templates/
amazon_polarity/templates.yaml
Prompt dataset for generating/summarizing reviews
Generating
Summarizing
BLOOM/GPT-3 on
Amazon SageMaker
BLOOM/GPT-3
https://github.com/data-science-on-aws/data-science-on-aws/b
lob/gpt3/00_quickstart/06_Train_and_Fine_Tune_GPT3_PyTorch.
ipynb
Want to learn more?
Data Science
on AWS
datascienceonaws.com
coursera.org/specializations
github.com/data-science-on-aws /practical-data-science
youtube.datascienceonaws.com
meetup.datascienceonaws.com
amazon.com/dp/1492079391
SageMaker Studio Lab: Free ML development in the cloud
https://studiolab.sagemaker.aws
s a nd G PUs
U
Free CP
No credit card,
no AWS account required!
THANK YOU!
https://datascienceonaws.com
https://github.com/data-science-on-aws
Antje Barth
linkedin.com/in/antje-barth
Chris Fregly
linkedin.com/in/cfregly