Slide 1

Slide 1 text

GABRIELA DE QUEIROZ R E A D Y T O U S E D E E P L E A R N I N G M O D E L S : A L L Y O U N E E D I S 5 M I N U T E S SENI OR DEVELOPER ADVOCATE (ML /DL/A I) @ IBM @gdequeiroz | www.k-roz.com | [email protected]

Slide 2

Slide 2 text

GABRIELA DE QUEIROZ ‣ Sr Developer Advocate, IBM ‣ Founder, R-Ladies ‣ Lead Data Scientist ‣ Data Scientist ‣ Statistician/Epidemiologist/ Researcher About me Data + Community + Mentor + Advocate @gdequeiroz | www.k-roz.com | [email protected]

Slide 3

Slide 3 text

Center for Open Source Data and AI Technologies (CODAIT) CODAIT aims to make AI solutions easier to create, deploy, and manage in the enterprise Relaunch of the Spark Technology Center (STC) to reflect expanded mission 30+ open source developers! Watson West Building 505 Howard St. San Francisco, California Improving Enterprise AI lifecycle in Open Source Gather Data Analyze Data Machine Learning Deep Learning Deploy Model Maintain Model Python Data Science Stack Fabric for Deep Learning (FfDL) Mleap + PFA Scikit-Learn Pandas Apache Spark Apache Spark Jupyter Model Asset eXchange Keras + Tensorflow CODAIT codait.org

Slide 4

Slide 4 text

Improving Enterprise AI lifecycle in Open Source Gather Data Analyze Data Machine Learning Deep Learning Deploy Model Maintain Model Python Data Science Stack Fabric for Deep Learning (FfDL) Mleap + PFA Scikit-Learn Pandas Apache Spark Apache Spark Jupyter Model Asset eXchange Keras + Tensorflow CODAIT: Enabling End-to-End AI in the Enterprise

Slide 5

Slide 5 text

Have you ever wanted to classify images, recognize faces or places or generate captions of images? @gdequeiroz | www.k-roz.com | [email protected]

Slide 6

Slide 6 text

With the Model Asset eXchange, you can!

Slide 7

Slide 7 text

The Model Asset eXchange enables domain experts to use deep learning in the enterprise. Q: What is deep learning?
 A: Machine learning using deep neural networks. 
 Q: What is a deep neural network?
 A: A neural network with multiple hidden layers.


Slide 8

Slide 8 text

What is a neural network?

Slide 9

Slide 9 text

! = #$% + &$' + c$) Linear regression What is a neural network?

Slide 10

Slide 10 text

! = #$% + &$' + c$) x 1 x 2 x 3 y a b c Linear regression What is a neural network? Nodes Edges

Slide 11

Slide 11 text

What is a neural network? x 1 x 2 x 3 y 3 y 1 y 4 y 2 Multiple linear regressions at the same time

Slide 12

Slide 12 text

What is a neural network? Second layer of linear regressions Multilayer Perceptron Neural Network

Slide 13

Slide 13 text

What is a neural network? Second layer of linear regressions Multilayer Perceptron Neural Network Dense (3×4) Dense (4×2) Input (3) Output (2) Same network in a more compact notation

Slide 14

Slide 14 text

What is a deep neural network? A neural network with multiple hidden layers Dense (3×8) Dense (8×6) Input (3) Output (2) Dense (6×4) Dense (4×2) “toy" deep neural network

Slide 15

Slide 15 text

Applying Deep Learning: Perception Data ??? Train model ??? $$$ Get model ??? Deploy model ??? $$$ Training – Data Scientist Consumption – App Developer, Domain Expert

Slide 16

Slide 16 text

Applying Deep Learning: Reality Find model Get code Test, verify, fix Train model Deploy model Use model Discovery Execution Consumption 1 2 3 4A 4B 5 @gdequeiroz | www.k-roz.com | [email protected]

Slide 17

Slide 17 text

Step 1: Find a model … that does what you need … that is free to use … that is performant enough

Slide 18

Slide 18 text

Step 2: Get the code Is there a good implementation available? … that does what you need … that is free to use … that is performant enough TensorFlow code to build ResNet50 neural network graph

Slide 19

Slide 19 text

Or … Step 2: Get the pre-trained weights Is there a good pre-trained model available? … that does what you need … that is free to use … that is performant enough

Slide 20

Slide 20 text

Step 3: Verify the model you found Check … … that does what you need … that is free to use (license) … that is performant enough (computation & accuracy)

Slide 21

Slide 21 text

Step 4 (a): Train the model

Slide 22

Slide 22 text

Step 4 (a): Train the model

Slide 23

Slide 23 text

Step 4 (b): Figure out how to deploy your model … adjust inference code (or write from scratch) … package inference code and model code, and pre-trained weigths together … deploy your package

Slide 24

Slide 24 text

Step 5: Consume your model … plug in into your application

Slide 25

Slide 25 text

Step 6: Profit … hopefully

Slide 26

Slide 26 text

Applying Deep Learning: Reality Find model Get code Test, verify, fix Train model Deploy model Use model Discovery Execution Consumption 1 2 3

Slide 27

Slide 27 text

Model Asset eXchange • A one-stop place for developers/data scientists to find and use free and open source deep learning models ibm.biz/model-exchange

Slide 28

Slide 28 text

Model Asset eXchange • Wide variety of domains (text, audio, image, etc) • Multiple deep learning frameworks • Vetted and tested code and IP • Build and deploy a model web service 
 in seconds • Training on Fabric for Deep Learning (FfDL) or Watson Machine Learning in minutes ibm.biz/model-exchange

Slide 29

Slide 29 text

Trainable Models TRAINING DATA TRAINING CODE TRAINING DEFINITION STANDARDIZED SCRIPT https://github.com/IBM/FfDL

Slide 30

Slide 30 text

DATA MODEL COMPUTER RESOURCES EXPERTISE Input/Output Processing Pre-Trained Model REST API Deep Learning Asset on Model Asset Exchange ibm.biz/model-exchange Deployable Models

Slide 31

Slide 31 text

Swagger Specification Deep Learning Asset on Model Asset Exchange ibm.biz/model-exchange Deployable Models Deploy Inference Endpoint Metada Endpoint Microservice REST API

Slide 32

Slide 32 text

OPEN SOURCE & FREE ibm.biz/model-exchange

Slide 33

Slide 33 text

Highlights • Image, audio, text, healthcare, time-series and more • Pre- / post-processing & inference wrapped up in Docker container • Generic API framework code - Flask RESTPlus • Swagger specification for API • One-line deployment locally and on a Kubernetes cluster

Slide 34

Slide 34 text

•Code Patterns demonstrating how to easily consume MAX models ibm.biz/max-developers

Slide 35

Slide 35 text

All that is available for YOU for FREE

Slide 36

Slide 36 text

DEMO! Wish me luck ibm.biz/model-exchange ibm.biz/max-developers

Slide 37

Slide 37 text

There is no failure, only feedback

Slide 38

Slide 38 text

Thank you! MITJA BOSNIČ KIRILL EREMENKO PAULO REALPE SEBASTIAN MONCADA MARÍA VIRGINIA PERDOMO MARTÍN DURÁN RUBY ANGELA PAGALAN

Slide 39

Slide 39 text

Thank you GDQ@IBM,COM K-ROZ.COM @ G D E Q U E I R O Z