Remove 2022 Remove APIs Remove Benchmark Remove Construction
article thumbnail

Improve price performance of your model training using Amazon SageMaker heterogeneous clusters

AWS Machine Learning

To address this issue, in July 2022, we launched heterogeneous clusters for Amazon SageMaker model training, which enables you to launch training jobs that use different instance types in a single job. Performance benchmark results. For more information, refer to Using the SageMaker Python SDK and Using the Low-Level SageMaker APIs.

Scripts 67
article thumbnail

Build a robust text-based toxicity predictor

AWS Machine Learning

The Trainer class provides an API for feature-complete training in PyTorch. To answer this question, we select an attack recipe from the TextAttack library and use it to construct perturbed adversarial examples to fool our target toxicity filtering model. outputs = 1 * (pred.predictions >= 0.5) Model performance evaluation.