• Stars
    star
    431
  • Rank 100,866 (Top 2 %)
  • Language
    Shell
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fast and flexible reference benchmarks

MosaicML Examples

This repo contains reference examples for using the MosaicML platform to train and deploy machine learning models at scale. It's designed to be easily forked/copied and modified.

It is structured with four different types of examples:

  • benchmarks: Instructions for how to reproduce the cost estimates that we publish in our blogs. Start here if you are looking to verify or learn more about our cost estimates.
  • end-to-end-examples: Complete examples of using the MosaicML platform, starting from data processing and ending with model deployment. Start here if you are looking full MosaicML platform usage examples.
  • inference-deployments: Example model handlers and deployment yamls for deploying a model with MosaicML inference. Start here if you are looking to deploy a model.
  • third-party: Example usages of the MosaicML platform with third-party distributed training libraries. Start here if you are looking to try out the MosaicML platform with non-MosaicML training software.

Please see the README in each folder for more information about each type of example.

Tests and Linting

To run the lint and test suites for a specific folder, you can use the lint_subdirectory.sh and test_subdirectory.sh scripts:

bash ./scripts/lint_subdirectory.sh benchmarks/bert
bash ./scripts/test_subdirectory.sh benchmarks/bert

Other MosaicML repositories and documentation