Skip to content

Positive/negative sentiment model on cleaned text data using Distilbert NLP pre-trained model from Hugging Face

Notifications You must be signed in to change notification settings

vflawson/Distilbert-NLP-Sentiment-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Distilbert-NLP-Sentiment-Model

Positive/negative sentiment model on cleaned text data using Distilbert NLP pre-trained model from Hugging Face

Using cleaned text data, such as scraped and cleaned comments from social media platforms (please see my other repositorities), the pre-trained distilbert-base-uncased-finetuned-sst-2-english model from Hugging Face will label each text in terms of positive or negative sentiment.

The model also provides a certainty score to indicate the degree to which the model is certain of that particular label.

First I define the model using the "sentiment analysis" pipeline from the Transformers package before running it on the clean text data.

About

Positive/negative sentiment model on cleaned text data using Distilbert NLP pre-trained model from Hugging Face

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published