SlideShare a Scribd company logo
IBM Developer Model
Asset eXchange
Nick Pentreath
Principal Engineer
@MLnick
DOC ID / Month XX, 2018 / © 2018 IBM Corporation
About
@MLnick on Twitter & Github
Principal Engineer, IBM
CODAIT - Center for Open-Source Data
& AI Technologies
Machine Learning & AI
Apache Spark committer & PMC
Author of Machine Learning with Spark
Various conferences & meetups
Center for Open Source Data
and AI Technologies
CODAIT
codait.org
DBG / Oct 4, 2018 / © 2018 IBM Corporation
CODAIT aims to make AI solutions
dramatically easier to create, deploy,
and manage in the enterprise
Relaunch of the Spark Technology
Center (STC) to reflect expanded
mission
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-LearnPandas
Apache
Spark
Apache
Spark
Jupyter
Model
Asset
eXchange
Keras +
Tensorflow
Applying Deep Learning: Perception
Data ??? Train ??? $$$
Training – Data Scientist, Researcher
Model ??? Deploy ??? $$$
Consumption – App Developer, Domain Expert
Applying Deep Learning: Reality
Discovery Execution Consumption
Find
model
Get
code
Test,
verify, fix
Train
model
Deploy
model
Use
model
Find
model
Get code
Test,
verify, fix
Train
model
Deploy
model
Use
model
Does a model exist?
• … that does what you need
• … that is free to use
• … that is performant enough
Is there a good implementation or pre-
trained model available?
• … that does what you need
• … that is free to use
• … that is performant enough
Find
model
Get code
Test,
verify, fix
Train
model
Deploy
model
Use
model
Verify the model you found
• Model matches problem
• Code quality & correctness
• Licensing
• Code, weights, dataset
• Performance
• Computation
• Accuracy
Find
model
Get code
Test,
verify, fix
Train
model
Deploy
model
Use
model
Find
model
Get code
Test,
verify, fix
Train
model
Deploy
model
Use
model
Data Model
Compute
resources Expertise
Trained model
• Develop inference code (or customize
existing code)
• Package inference code and model
artifacts
• Deploy to serving environment
Find
model
Get code
Test,
verify, fix
Train
model
Deploy
model
Use
model
• Integrate with your application
• … which does not know
(or care) about tensors
Find
model
Get code
Test,
verify, fix
Train
model
Deploy
model
Use
model
Applying Deep Learning: Challenges
Discovery Execution Consumption
Find
model
Get
code
Test,
verify, fix
Train
model
Deploy
model
Use
model
13
Discovery
Model Zoos
(in theory)
Model Zoos
(in practice)
16
Training
* Logos trademarks of their respective projects
18
Deployment
Containers for ML Deployment
• But …
• What goes in the container is most
important
• Performance can be highly variable across
language, framework, version
• Requires devops knowledge, CI /
deployment pipelines, good practices
• Does not solve the issue of standardization
• Formats
• APIs exposed
• A serving framework is still required on top
• Container-based deployment has
significant benefits
• Repeatability
• Ease of configuration
• Separation of concerns – focus on what, not
how
• Allow data scientists & researchers to use
their language / framework of choice
• Container frameworks take care of (certain)
monitoring, fault tolerance, HA, etc.
20
Consumability
21
IBM Developer
Model Asset eXchange
Free, open-source deep learning models.
Wide variety of domains.
Multiple deep learning frameworks.
Vetted and tested code and IP.
Build and deploy a web service in 30
seconds.
Start training on Fabric for Deep Learning
(FfDL) or Watson Machine Learning in
minutes.
DBG / Oct 4, 2018 / © 2018 IBM Corporation
http://ibm.biz/model-
exchange
Fabric for Deep Learning
https://github.com/IBM/FfDL
FfDL Github Page
https://github.com/IBM/FfDL
FfDL dwOpen Page
https://developer.ibm.com/code/open/projects/fabri
c-for-deep-learning-ffdl/
FfDL Announcement Blog
http://developer.ibm.com/code/2018/03/20/fabric-
for-deep-learning
FfDL Technical Architecture Blog
http://developer.ibm.com/code/2018/03/20/democr
atize-ai-with-fabric-for-deep-learning
Deep Learning as a Service within Watson Studio
https://www.ibm.com/cloud/deep-learning
Research paper: “Scalable Multi-Framework
Management of Deep Learning Training Jobs”
http://learningsys.org/nips17/assets/papers/paper_
29.pdf
IBM Corporation
FfDL provides a scalable, resilient, and
fault tolerant deep-learning framework
• Fabric for Deep Learning or FfDL (pronounced as
‘fiddle’) is an open source project which aims at making
Deep Learning easily accessible to the people it matters
the most i.e. Data Scientists, and AI developers.
• FfDL provides a consistent way to deploy, train and
visualize Deep Learning jobs across multiple frameworks
like TensorFlow, Caffe, PyTorch, Keras etc.
• FfDL is being developed in close collaboration with IBM
Research and IBM Watson. It forms the core of
Watson`s Deep Learning service in open source.
FfDL
Fabric for Deep Learning
https://github.com/IBM/FfDL
DBG / Oct 4, 2018 / © 2018 IBM Corporation
Just announced: Support for PyTorch 1.0
– including distributed training and
ONNX!
Supports distributed training via Horovod
25
Training
Data
Training
Code
Training
Definition
Standardized Script
Choose trainable model
Train
model
Deploy
model
Use
model
26
Choose deployable model
Deploy
model
Use model
26
Data Model
Compute
resources Expertise
Input/output
processing
REST APIPre-trained model
Deep Learning asset on
Model Asset Exchange (ibm.biz/model-exchange)
Choose deployable model
Deploy
model
Use model
Deep Learning asset on Model Asset Exchange (MAX)
Deploy
Swagger specification Inference endpoint Metadata endpoint
Microservice
Input pre-processing, model execution, and output post-processing
28
Demo
Demo
Summary
Current status
• 22 models (4 trainable)
• Image, audio, text, healthcare, time-series and
more
• 3 Code Patterns demonstrating how to
consume MAX models in a web app
• Code Pattern on training an audio classifier
using Watson Machine Learning
• One-line deployment via Docker and on a
Kubernetes cluster
Potential Future
• New MAX web portal launching soon
• More deployable models – breadth and depth
• More trainable models - transfer learning in
particular
• More MAX-related content:
• Code Patterns
• Conference talks, meetups
• Workshops
• Enhance production-readiness of MAX models
• Improve MAX API framework
IBM Developer
Model Asset eXchange
Free, open-source deep learning models.
Wide variety of domains.
Multiple deep learning frameworks.
Vetted and tested code and IP.
Build and deploy a web service in 30
seconds.
Start training on FfDL or Watson Machine
Learning in minutes.
DBG / Oct 4, 2018 / © 2018 IBM Corporation
http://ibm.biz/model-
exchange
31
Thank you!
codait.org
twitter.com/MLnick
github.com/MLnick
developer.ibm.com
http://ibm.biz/model-exchange
http://ibm.biz/max-developers FfDL
Sign up for IBM Cloud and try Watson Studio!
https://ibm.biz/BdY89J
https://datascience.ibm.com/
MAX
32

More Related Content

PPTX
Solar water heater
PPTX
Ocean Thermal Energy Conversion
PPTX
Solar energy collectors
DOCX
Energy Scenario in India
PDF
PARABOLIC TROUGH SOLAR CONCENTRATOR
PPTX
PPTX
solar collector
PPTX
Solar Thermal Energy
Solar water heater
Ocean Thermal Energy Conversion
Solar energy collectors
Energy Scenario in India
PARABOLIC TROUGH SOLAR CONCENTRATOR
solar collector
Solar Thermal Energy

What's hot (20)

PPT
A complete Presentation on SOLAR WATER HEATER by himanshu kumar
PPTX
Micro hydro power plant
PPTX
Biogas plant & types of bio gas plant
PDF
Renewable power generation
PPTX
Solar Water Pump - a new Innovative Project
PPTX
Solar collector PPT by vivek Atalkar
PPTX
Site_selection_of_wind_power_plants.pptx
PPTX
Concentrated Solar Power
PPTX
solar power plant
PDF
Green hydrogen production and distribution
PPTX
Hydro electric power plant
PPT
Power engineering assign
PPTX
Unit 1 Solar Collectors
PPTX
Tidal Energy
PPTX
Hydro Energy Technology
PPTX
Presentation presentation1.pptx nuclear_power_plant_me_1472237864_228826
PDF
Renewable Energy Technologies
PPTX
Wind turbines Power Point Presentation
PPTX
Innovative Applications Of Solar Energy
PDF
Green hydrogen Basics - Overview_Jan 2022
A complete Presentation on SOLAR WATER HEATER by himanshu kumar
Micro hydro power plant
Biogas plant & types of bio gas plant
Renewable power generation
Solar Water Pump - a new Innovative Project
Solar collector PPT by vivek Atalkar
Site_selection_of_wind_power_plants.pptx
Concentrated Solar Power
solar power plant
Green hydrogen production and distribution
Hydro electric power plant
Power engineering assign
Unit 1 Solar Collectors
Tidal Energy
Hydro Energy Technology
Presentation presentation1.pptx nuclear_power_plant_me_1472237864_228826
Renewable Energy Technologies
Wind turbines Power Point Presentation
Innovative Applications Of Solar Energy
Green hydrogen Basics - Overview_Jan 2022
Ad

Similar to IBM Developer Model Asset eXchange (20)

PPTX
IBM Developer Model Asset eXchange - Deep Learning for Everyone
PDF
Open Source AI - News and examples
PPTX
Open, Secure & Transparent AI Pipelines
PPTX
Inteligencia artificial, open source e IBM Call for Code
PDF
From Data to AI - Silicon Valley Open Source projects come to you - Madrid me...
PDF
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
PDF
Luciano Resende - Scaling Big Data Interactive Workloads across Kubernetes Cl...
PPTX
AI and Spark - IBM Community AI Day
PPTX
Optimizing your SparkML pipelines using the latest features in Spark 2.3
PDF
Special Purpose IBM Center of excellence lab
PDF
DevBCN Vertex AI - Pipelines for your MLOps workflows
PDF
On premise ai platform - from dc to edge
PDF
Best Artificial Intelligence Course | Online program | certification course
PDF
IBM Cloud Paris Meetup 20180213 - Data Science eXperience et Bigdata
PDF
Austin,TX Meetup presentation tensorflow final oct 26 2017
PPTX
IBM COE AI Lab at your University
PDF
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
PDF
Conf42-Python-Building Apache NiFi 2.0 Python Processors
PDF
TensorFlow 16: Building a Data Science Platform
PPTX
ML Ops Tools ML flow and Hugging Face(2).pptx
IBM Developer Model Asset eXchange - Deep Learning for Everyone
Open Source AI - News and examples
Open, Secure & Transparent AI Pipelines
Inteligencia artificial, open source e IBM Call for Code
From Data to AI - Silicon Valley Open Source projects come to you - Madrid me...
Elyra - a set of AI-centric extensions to JupyterLab Notebooks.
Luciano Resende - Scaling Big Data Interactive Workloads across Kubernetes Cl...
AI and Spark - IBM Community AI Day
Optimizing your SparkML pipelines using the latest features in Spark 2.3
Special Purpose IBM Center of excellence lab
DevBCN Vertex AI - Pipelines for your MLOps workflows
On premise ai platform - from dc to edge
Best Artificial Intelligence Course | Online program | certification course
IBM Cloud Paris Meetup 20180213 - Data Science eXperience et Bigdata
Austin,TX Meetup presentation tensorflow final oct 26 2017
IBM COE AI Lab at your University
MLflow: Infrastructure for a Complete Machine Learning Life Cycle with Mani ...
Conf42-Python-Building Apache NiFi 2.0 Python Processors
TensorFlow 16: Building a Data Science Platform
ML Ops Tools ML flow and Hugging Face(2).pptx
Ad

More from Nick Pentreath (7)

PPTX
Notebook-based AI Pipelines with Elyra and Kubeflow
PPTX
Scaling up deep learning by scaling down
PPTX
End-to-End Deep Learning Deployment with ONNX
PPTX
Search and Recommendations: 3 Sides of the Same Coin
PPTX
Deep Learning for Recommender Systems
PPTX
Productionizing Spark ML Pipelines with the Portable Format for Analytics
PPTX
RNNs for Recommendations and Personalization
Notebook-based AI Pipelines with Elyra and Kubeflow
Scaling up deep learning by scaling down
End-to-End Deep Learning Deployment with ONNX
Search and Recommendations: 3 Sides of the Same Coin
Deep Learning for Recommender Systems
Productionizing Spark ML Pipelines with the Portable Format for Analytics
RNNs for Recommendations and Personalization

Recently uploaded (20)

PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PDF
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
Global journeys: estimating international migration
PDF
Foundation of Data Science unit number two notes
PPTX
climate analysis of Dhaka ,Banglades.pptx
PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPTX
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPT
Miokarditis (Inflamasi pada Otot Jantung)
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PDF
Introduction to Business Data Analytics.
PDF
Launch Your Data Science Career in Kochi – 2025
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
Mega Projects Data Mega Projects Data
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
.pdf is not working space design for the following data for the following dat...
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
TRAFFIC-MANAGEMENT-AND-ACCIDENT-INVESTIGATION-WITH-DRIVING-PDF-FILE.pdf
Data_Analytics_and_PowerBI_Presentation.pptx
Global journeys: estimating international migration
Foundation of Data Science unit number two notes
climate analysis of Dhaka ,Banglades.pptx
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
Reliability_Chapter_ presentation 1221.5784
Miokarditis (Inflamasi pada Otot Jantung)
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Introduction to Business Data Analytics.
Launch Your Data Science Career in Kochi – 2025
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Mega Projects Data Mega Projects Data
Introduction-to-Cloud-ComputingFinal.pptx

IBM Developer Model Asset eXchange

  • 1. IBM Developer Model Asset eXchange Nick Pentreath Principal Engineer @MLnick DOC ID / Month XX, 2018 / © 2018 IBM Corporation
  • 2. About @MLnick on Twitter & Github Principal Engineer, IBM CODAIT - Center for Open-Source Data & AI Technologies Machine Learning & AI Apache Spark committer & PMC Author of Machine Learning with Spark Various conferences & meetups
  • 3. Center for Open Source Data and AI Technologies CODAIT codait.org DBG / Oct 4, 2018 / © 2018 IBM Corporation CODAIT aims to make AI solutions dramatically easier to create, deploy, and manage in the enterprise Relaunch of the Spark Technology Center (STC) to reflect expanded mission 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-LearnPandas Apache Spark Apache Spark Jupyter Model Asset eXchange Keras + Tensorflow
  • 4. Applying Deep Learning: Perception Data ??? Train ??? $$$ Training – Data Scientist, Researcher Model ??? Deploy ??? $$$ Consumption – App Developer, Domain Expert
  • 5. Applying Deep Learning: Reality Discovery Execution Consumption Find model Get code Test, verify, fix Train model Deploy model Use model
  • 6. Find model Get code Test, verify, fix Train model Deploy model Use model Does a model exist? • … that does what you need • … that is free to use • … that is performant enough
  • 7. Is there a good implementation or pre- trained model available? • … that does what you need • … that is free to use • … that is performant enough Find model Get code Test, verify, fix Train model Deploy model Use model
  • 8. Verify the model you found • Model matches problem • Code quality & correctness • Licensing • Code, weights, dataset • Performance • Computation • Accuracy Find model Get code Test, verify, fix Train model Deploy model Use model
  • 10. • Develop inference code (or customize existing code) • Package inference code and model artifacts • Deploy to serving environment Find model Get code Test, verify, fix Train model Deploy model Use model
  • 11. • Integrate with your application • … which does not know (or care) about tensors Find model Get code Test, verify, fix Train model Deploy model Use model
  • 12. Applying Deep Learning: Challenges Discovery Execution Consumption Find model Get code Test, verify, fix Train model Deploy model Use model
  • 17. * Logos trademarks of their respective projects
  • 19. Containers for ML Deployment • But … • What goes in the container is most important • Performance can be highly variable across language, framework, version • Requires devops knowledge, CI / deployment pipelines, good practices • Does not solve the issue of standardization • Formats • APIs exposed • A serving framework is still required on top • Container-based deployment has significant benefits • Repeatability • Ease of configuration • Separation of concerns – focus on what, not how • Allow data scientists & researchers to use their language / framework of choice • Container frameworks take care of (certain) monitoring, fault tolerance, HA, etc.
  • 21. 21
  • 22. IBM Developer Model Asset eXchange Free, open-source deep learning models. Wide variety of domains. Multiple deep learning frameworks. Vetted and tested code and IP. Build and deploy a web service in 30 seconds. Start training on Fabric for Deep Learning (FfDL) or Watson Machine Learning in minutes. DBG / Oct 4, 2018 / © 2018 IBM Corporation http://ibm.biz/model- exchange
  • 23. Fabric for Deep Learning https://github.com/IBM/FfDL FfDL Github Page https://github.com/IBM/FfDL FfDL dwOpen Page https://developer.ibm.com/code/open/projects/fabri c-for-deep-learning-ffdl/ FfDL Announcement Blog http://developer.ibm.com/code/2018/03/20/fabric- for-deep-learning FfDL Technical Architecture Blog http://developer.ibm.com/code/2018/03/20/democr atize-ai-with-fabric-for-deep-learning Deep Learning as a Service within Watson Studio https://www.ibm.com/cloud/deep-learning Research paper: “Scalable Multi-Framework Management of Deep Learning Training Jobs” http://learningsys.org/nips17/assets/papers/paper_ 29.pdf IBM Corporation FfDL provides a scalable, resilient, and fault tolerant deep-learning framework • Fabric for Deep Learning or FfDL (pronounced as ‘fiddle’) is an open source project which aims at making Deep Learning easily accessible to the people it matters the most i.e. Data Scientists, and AI developers. • FfDL provides a consistent way to deploy, train and visualize Deep Learning jobs across multiple frameworks like TensorFlow, Caffe, PyTorch, Keras etc. • FfDL is being developed in close collaboration with IBM Research and IBM Watson. It forms the core of Watson`s Deep Learning service in open source. FfDL
  • 24. Fabric for Deep Learning https://github.com/IBM/FfDL DBG / Oct 4, 2018 / © 2018 IBM Corporation Just announced: Support for PyTorch 1.0 – including distributed training and ONNX! Supports distributed training via Horovod
  • 26. 26 Choose deployable model Deploy model Use model 26 Data Model Compute resources Expertise Input/output processing REST APIPre-trained model Deep Learning asset on Model Asset Exchange (ibm.biz/model-exchange)
  • 27. Choose deployable model Deploy model Use model Deep Learning asset on Model Asset Exchange (MAX) Deploy Swagger specification Inference endpoint Metadata endpoint Microservice Input pre-processing, model execution, and output post-processing
  • 29. Summary Current status • 22 models (4 trainable) • Image, audio, text, healthcare, time-series and more • 3 Code Patterns demonstrating how to consume MAX models in a web app • Code Pattern on training an audio classifier using Watson Machine Learning • One-line deployment via Docker and on a Kubernetes cluster Potential Future • New MAX web portal launching soon • More deployable models – breadth and depth • More trainable models - transfer learning in particular • More MAX-related content: • Code Patterns • Conference talks, meetups • Workshops • Enhance production-readiness of MAX models • Improve MAX API framework
  • 30. IBM Developer Model Asset eXchange Free, open-source deep learning models. Wide variety of domains. Multiple deep learning frameworks. Vetted and tested code and IP. Build and deploy a web service in 30 seconds. Start training on FfDL or Watson Machine Learning in minutes. DBG / Oct 4, 2018 / © 2018 IBM Corporation http://ibm.biz/model- exchange
  • 31. 31 Thank you! codait.org twitter.com/MLnick github.com/MLnick developer.ibm.com http://ibm.biz/model-exchange http://ibm.biz/max-developers FfDL Sign up for IBM Cloud and try Watson Studio! https://ibm.biz/BdY89J https://datascience.ibm.com/ MAX
  • 32. 32

Editor's Notes

  • #7: E.g. research paper?
  • #10: Load, analyze, and prepare training data Train, analyze, and tune model
  • #23: One example of IBM open source making it easier to consume AI technology in the enterprise is the IBM Code Model Asset eXchange. We’ve taken a collection of best-of-breed open source deep learning models for a wide variety of domains, carefully vetted all the IP, and packaged them all in a consistent, easy to use format. You can deploy our pretrained models in 30 seconds with Docker and Kubernetes. And with our trainable models, you can start training a custom model in minutes using the Fabric for Deep Learning. Speaking of which…
  • #24: The Fabric for Deep Learning, or “fiddle” for short, is the open-source core of IBM Watson Machine Learning’s distributed deep learning training service. The FfDL technology is in active use within IBM’s offerings, as we use it heavily for training models in IBM Research. And speaking of IBM Research…
  • #29: Explore Model Asset Exchange Deploy model asset as a microservice on Docker Explore microservice Consume / Test microservice (Optional) Show Code Pattern / Web App linked to the model