Training the model in AWS SageMaker