Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RoaldSchuring/18d8623d9f484ef0dad717b554231c94 to your computer and use it in GitHub Desktop.
Save RoaldSchuring/18d8623d9f484ef0dad717b554231c94 to your computer and use it in GitHub Desktop.
specify_blazingtext_training_info
Display the source blob
Display the rendered blob
Raw
train_data = 's3://{}/wine-corpus.txt'.format(bucket)
s3_output_location = 's3://{}/output'.format(bucket)
region_name = boto3.Session().region_name
container = sagemaker.amazon.amazon_estimator.get_image_uri(region_name, "blazingtext", "latest")
print('Using SageMaker BlazingText container: {} ({})'.format(container, region_name))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment