Downloads · 30 days
6
1% of all-time downloads
Kwaku/social_media_sa
social_media_sa 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 a fine-tuned version of the Distilbert model. It's best suited for sentiment-analysis.
Downloads · 30 days
6
1% of all-time downloads
All-time downloads
606
Public
Repo size
536 MB
Likes
1
Public
Click a slice to open those files.
.bin268 MB · 100%
From the Hugging Face model README
This is a fine-tuned version of the Distilbert model. 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"
>>> generator = pipeline("sentiment-analysis", model=model_name)
>>> result = generator("I like this model")
>>> print(result)
Generated output: [{'label': 'positive', 'score': 0.9494990110397339}]
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.