AI and Machine Learning with Kubeflow, Amazon EKS, and SageMaker
Select a branch to explore…
Throughout these book examples, you will build an end-to-end AI/ML pipeline for natural language processing with Amazon SageMaker. You will train and tune a text classifier to predict the star rating (1 is bad, 5 is good) for product reviews using the state-of-the-art BERT model for language representation. To build our BERT-based NLP text classifier, you will use a product reviews dataset where each record contains some review text and a star rating (1-5). You will also get hands-on with advanced model training and deployment techniques such as hyper-parameter tuning, A/B testing, and auto-scaling. Lastly, you will setup a real-time, streaming analytics and data science pipeline to perform window-based aggregations and anomaly detection.
Attendees will learn how to do the following:
Follow the instructions here:
In the AWS Console search bar, type SageMaker
and select Amazon SageMaker
to open the service console.
Open the AWS Management Console
Configure IAM to run the book examples.
Click File
> New
> Terminal
to launch a terminal in your Jupyter instance.
Within the Terminal, run the following:
cd ~ && git clone -b oreilly-book https://github.com/data-science-on-aws/data-science-on-aws
If you see an error like the following, just re-run the command again until it works:
fatal: Unable to create '.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Note: Just re-run the command again until it works.
Navigate to data-science-on-aws/
in SageMaker Studio and start the book examples!!
You may need to refresh your browser if you don’t see the new data-science-on-aws/
directory.