Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 13

EMPOWERING

SENTIMENT
ANALYSIS WITH
HUGGING FACE
ON AMAZON
SAGEMAKER
BY
SAI CHARAN BARU
20311A1282​
AGENDA
Abstract
Introduction​
What is hugging face ?
What is Amazon Sagemaker??
Proposed System
System Analysis
System architecture
Summary​
ABSTRACT
In this project, we’ve explained a combined service of AWS using some AWS services,
i.e., Amazon Sagemaker and Hugging face hub. Amazon SageMaker provides several
built-in machine learning (ML) algorithms that you can use for a variety of problem types.
These algorithms provide high-performance, scalable machine learning and are optimized
for speed, scale, and accuracy. Using these algorithms you can train on petabyte-scale
data. Theyare designed to provideup to 10x the performance of the other available
implementations. Hugging Face's transformers library with a custom Amazon sagemaker-
sdk extension to fine-tune a pre- trained transformer on binary text classification. The pre-
trained model is fine-tuned using the sst2 dataset
Presentation title 4

INTRODUCTION
With Hugging Face on Amazon SageMaker, you can deploy and
fine-tune pre-trained models from Hugging Face reducing the
time it takes to set up and use natural language processing
(NLP) models from weeks to minutes.

NLP refers to machine learning (ML) algorithms that help


computers understand human language. They help with
translation, intelligent search, text analysis, and more. However,
NLP models can be large and complex (sometimes consisting of
hundreds of millions of model parameters), and training and
optimizing them requires time, resources, and skill.
AWS collaborated with Hugging Face to create Hugging Face
AWS Deep Learning Containers (DLCs), which provide data
scientists and ML developers a fully managed experience for
building, training, and deploying state-of-the-art NLP models
on Amazon SageMaker.
WHAT IS HUGGING
FACE ??
HuggingFace is an AI community that promotes open source
contributions. It is a hub of open source models for Natural
Language Processing, computer vision, and other fields where
AI plays its role. Even the tech giants like Google, Facebook,
AWS, Microsoft, and others use the models, datasets, and
libraries.
6

WHAT IS AMAZON SAGEMAKER??

Amazon SageMaker is a fully managed machine learning (ML) service.


With SageMaker, data scientists and developers can quickly and
confidently build, train, and deploy ML models into a production-ready
hosted environment.
PROPOSED SYSTEM 7

.Ingest data from any source : We can ingest different types of data
into SageMaker Feature Store, including streaming data from
sources such as application and service logs, clickstreams and
sensors, and tabular data from sources such as Amazon S3,
Amazon Redshift, AWS Lake Formation, Snowflake, and
Databricks Delta Lake.
Feature storage, catalog, search, and reuse : SageMaker Feature
Store tags and indexes feature groups so they are easily
discoverable through the visual interface of Amazon SageMaker
Studio. Browsing the feature catalog allows teams to discover
existing features they can confidently reuse and avoid duplication
of pipelines.
Feature consistency : SageMaker Feature Store supports offline
storage for training and online storage for real-time inference.
Training and inference are very different use cases and the storage
requirements are different for each.
Presentation title 8

SYSTEM ANALYSIS

• This System Analysis is closely related to requirements


analysis. It is also "an explicit formal inquiry carried out
to help someone (referred to asthe decision maker)
identify a better course of action and make a better
decision than he might otherwise have made." This step
involves breaking down the system in different pieces to
analyze the situation, analyzing project goals, breaking
down what needs to be created and attempting to engage
users so that definite requirements can be defined.
9

SYSTEM ARCHITECTURE
10
11

SUMMARY
Sentiment analysis is the automated process of tagging data
according to their sentiment, such as positive, negative and
neutral. Sentiment analysis allows companies to analyze data
at scale, detect insights and automate processes. In the past,
sentiment analysis used to be limited to researchers, machine
learning engineers or data scientists with experience in
natural language processing. However, the AI community
Hugging face has built awesome tools to democratize access
to machine learning in recent years. Nowadays, you can use
sentiment analysis with a few lines of code and no machine
learning experience at ai
Presentation title 12

REFERENCES

https://docs.aws.amazon.com/wellarchitected/late
st/analytics-lens/data-visualization.html

https://www.tableau.com/learn/articles/data visuali
zation
 https://en.wikipedia.org/wiki/
Amazon_Web_Services 
https://aws.amazon.com/console
THANK YOU

You might also like