Downloads · 30 days
12
3% of all-time downloads
Kwaku/social_media_sa_finetuned_2
social_media_sa_finetuned_2 is a text classification model from Kwaku. Use it when you need a label for a piece of text. It is set up for transformers.
This is an updated fine-tuned version of the Social Media Sentiment Analysis Model which is a finetuned version of Distilbert. It's best suited for sentiment-analysis.
Downloads · 30 days
12
3% of all-time downloads
All-time downloads
428
Public
Repo size
1.9 GB
Likes
1
Public
Click a slice to open those files.
.bin268 MB · 100%
From the Hugging Face model README
This is an updated fine-tuned version of the Social Media Sentiment Analysis Model which is a finetuned version of Distilbert. It's best suited for sentiment-analysis.
Social Media Sentiment Analysis Model was trained on the dataset consisting of tweets obtained from Kaggle."
This model is meant for sentiment-analysis. Because it was trained on a corpus of tweets, it is familiar with social media jargons.
You can use this model directly with a pipeline for text generation:
>>>from transformers import pipeline
>>> model_name = "Kwaku/social_media_sa_finetuned_2"
>>> generator = pipeline("sentiment-analysis", model=model_name)
>>> result = generator("I like this model")
>>> print(result)
Generated output: [{'label': 'positive', 'score': 0.9992923736572266}]
This model inherits the bias of its parent, Distilbert. Besides that, it was trained on only 1000 randomly selected sequences, and thus does not achieve a high probability rate. It does fairly well nonetheless.