Skip to content

aws/studio-lab-examples

SageMaker Studio Lab Examples

Example Jupyter notebooks that demonstrate how to build AI/ML learning environment using Amazon SageMaker Studio Lab.

πŸ“š Background

SageMaker Studio Lab is a service for individual data scientist who wants to develop the career toward AI/ML practitioner. You can start your ML journey for free.

This repository introduces you to the way to set up Studio Lab according to your interest area, such as computer vision, natural language processing, etc. And also, we show how to deploy your project to the Amazon SageMaker to become the AI/ML practitioner.

πŸ› οΈ Setup

Please follow the Onboard to Amazon SageMaker Studio Lab.

  1. Request a Studio Lab account
  2. Create a Studio Lab account
  3. Sign in to Studio Lab

If you would like to localize the user interface, please follow the instruction for user interface localization.

πŸ’» Usage

  1. Read: You can read the notebook in Studio Lab without Studio Lab account. Please feel free to click Open in Studio Lab button in Examples section.
  2. Run: You can run the notebook by copying the notebook or git clone the repository to your Studio Lab project.
  3. Share: You can share the notebooks through the Git repository such as GitHub. If you add Open in Studio Lab button, the readers can copy the notebook or clone the repository by clicking button.

πŸ““ Examples

No Title Open in Studio Lab
1 Train an image classification model with PyTorch Open in SageMaker Studio Lab
2 Weather Classification for Disaster Risk Reduction with DenseNet-161 Open in SageMaker Studio Lab
No Title Open in Studio Lab
1 Finetune T5 locally for machine translation on COVID-19 Health Service Announcements with Hugging Face Open in SageMaker Studio Lab
No Title Open in Studio Lab
1 Getting Started With Geospatial Data Analysis Open in SageMaker Studio Lab
2 Exploratory Analysis for NOAA Weather and Climate Dataset Open in SageMaker Studio Lab
No Title Open in Studio Lab
1 Introduction to JumpStart - Text to Image Open in SageMaker Studio Lab
2 Prompting Mistral 7B Instruct Open in SageMaker Studio Lab
No Title Open in Studio Lab
1 Using SageMaker Studio Lab with AWS Resources Open in SageMaker Studio Lab
2 Deploy A Hugging Face Pretrained Model to Amazon SageMaker Serverless Endpoint - Boto3 Open in SageMaker Studio Lab

We provide .yml files to set up various programming language / framework environments. To use the .yml file, please proceed with the following instruction.

  1. Click this button right here --> Open in SageMaker Studio Lab
  2. Click the Copy to Project button
    • Sign-in and Start runtime is needed before it.
  3. When prompted, select Clone Entire Repo
  4. Click Clone after confirming Open README files. is checked.
    • When No Conda environment file found shown, please Dismiss.
  5. Once opening README.md preview, please move to Custom Environments section and click the programming language / specific framework environment link as you need to open .yml file.
  6. Right click the opened .yml file tab and select Show in File Browser.
  7. Right click the .yml file in the file browser and select Build Conda Environment.
  8. Once command completed, please run notebook in the same folder to check the environment. When prompted Select Kearnel, please select the created environment.

Programming language environment

Specific framework environment

Community contents

Here are some more examples from the community.

Studio Lab Examples in GitHub.

Please add amazon-sagemaker-lab tag to your repositories that use Studio Lab! We will pick up the popular repositories in here or our blog.

βš–οΈ License

This project is licensed under the Apache-2.0 License.

🀝 Contributing

Although we're extremely excited to receive contributions from the community, we're still working on the best mechanism to take in examples from external sources. Please bear with us in the short-term if pull requests take longer than expected or are closed.

Please read our contributing guidelines if you'd like to open an issue or submit a pull request.

πŸ”Ž References