Giter Site home page Giter Site logo

brunopistone / multi-model-train-template Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1017 KB

The purpose of this template is to deploy a Sagemaker Training Pipeline for parallel training of multiple models, and a scheduled batch inference using SageMaker Batch Transform and SageMaker Pipelines, given two `ModelGroupPackageName` from the Amazon SageMaker Model Registry.

Python 64.74% Jupyter Notebook 35.26%

multi-model-train-template's Introduction

Multi-model training and batch inference pipeline

Purpose

The purpose of this template is to deploy a Sagemaker Training Pipeline for parallel training of multiple models, and a scheduled batch inference using SageMaker Batch Transform and SageMaker Pipelines, given two ModelGroupPackageName from the Amazon SageMaker Model Registry.

Architecture

Architecture.png

Prerequisites

Copy data from the public S3 bucket sagemaker-sample-files from your default bucket.

aws s3 cp s3://sagemaker-sample-files/datasets/tabular/tweets_dataset/TheSocialDilemma.csv s3://DOC-EXAMPLE-BUCKET/datasets/tabular/tweets_dataset/TheSocialDilemma.csv

Instructions

Part 1: Create initial Service Catalog Product

  1. To create the Service Catalog product for this project, download the create-batch-inference-product.yaml and upload it into your CloudFormation console: https://console.aws.amazon.com/cloudformation

  2. Update the Parameters section:

    • Supply a unique name for the stack

    • Enter your Service Catalog portfolio id, which can be found in the Outputs tab of your deployed portfolio stack or in the Service Catalog portfolio list: https://console.aws.amazon.com/servicecatalog/home?#/portfolios

    • Update the Product Information. The product name and description are visible inside of SageMaker Studio. Other fields are visible to users that consume this directly through Service Catalog.

    • Support information is not available inside of SageMaker Studio, but is available in the Service Catalog Dashboard.

    • Updating the source code repository by pointing to the current repo.

  3. Choose Next, Next again, check the box acknowledging that the template will create IAM resources, and then choose Create Stack.

  4. Your template should now be visible inside of SageMaker Studio.

Part 2: Deploy the Project inside of SageMaker Studio

  1. Open SageMaker Studio and sign in to your user profile.

  2. Choose the SageMaker components and registries icon on the left, and choose the Create project button.

  3. The default view displays SageMaker templates. Switch to the Organization templates tab to see custom project templates.

  4. The template you created will be displayed in the template list. (If you do not see it yet, make sure the correct execution role is added to the product and the sagemaker:studio-visibility tag with a value of true is added to the Service Catalog product).

  5. Choose the template and click Select the correct project template.

  6. Fill out the required fields for this project.

    • Name: A unique name for the project deployment.
  7. Choose Create Project.

  8. After a few minutes, your example project should be deployed.

multi-model-train-template's People

Contributors

brunopistone avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.