Deploying a sentiment analysis model using Amazon Web Services (AWS)
In this project, our goal will be to have a simple web page that a user can use to enter a movie review. The web page will then send the review off to our deployed model (Recurrent Neural Network), which will predict the sentiment of the entered review. All that mainly with Amazon Web Services (AWS) and Pytorch.
Recall the general outline for SageMaker projects using a notebook instance, which is comprised of the following:
For this project, you will be following the steps in the general outline with some modifications.
This project requires Python 3.x version. And in order to complete this project, you need to install the following libraries:
You will also need to have software installed to run and execute an iPython Notebook.
I recommend installing Anaconda, a pre-packaged Python distribution that contains all of the necessary libraries and software for this project.
Also, we will be using the IMDb dataset.
Template code is provided in the SageMaker Project.ipynb
file.
In a terminal or command window, navigate to the top-level project directory Deploying-a-Sentiment-Analysis-Model/
(that contains this README) and run one of the following commands:
ipython notebook "SageMaker Project.ipynb"
or
jupyter notebook "SageMaker Project.ipynb"
This will open the iPython Notebook software in your browser.