Skip to content

Commit c2ca1d7

Browse files
committed
Added blazingtext-text-classification-train-in-sagemaker-deploy-with-lambda sample code
1 parent b2523f9 commit c2ca1d7

File tree

5 files changed

+951
-0
lines changed

5 files changed

+951
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Train a BlazingText text classification algorithm in SageMaker, inference with AWS Lambda
2+
3+
This examples illustrates how to use a BlazingText text classification training with SageMaker, and serving with AWS Lambda.
4+
5+
This project contains source code and supporting files for a serverless application that you can deploy with the notebook. It includes the following files and folders.
6+
7+
- blazingtext-text-classification-train-in-sagemaker-deploy-with-lambda.ipynb - Notebook to run training with SageMaker, and deploy the Lambda function.
8+
- container - The container directory has all the components you need to package the sample Lambda function.
9+
- events - Invocation events that you can use to invoke the function.
10+
11+
## Train a TensorFlow classification model on the MNIST dataset
12+
You'll be running the [BlazingText text classification training with SageMaker, and serving with AWS Lambda](./blazingtext-text-classification-train-in-sagemaker-deploy-with-lambda.ipynb) notebook to train a TensorFlow classification model on the MNIST dataset.
13+
14+
You can run this notebook in [SageMaker Notebook instance](https://docs.aws.amazon.com/sagemaker/latest/dg/nbi.html)
15+
16+
This notebooks is identical to the original [BlazingText text classification](https://github.com/aws/amazon-sagemaker-examples/blob/master/introduction_to_amazon_algorithms/blazingtext_text_classification_dbpedia/blazingtext_text_classification_dbpedia.ipynb) notebook, except the fact that you'll deploy the model in Lambda function.

0 commit comments

Comments
 (0)