Kwaku commited on
Commit
4c70db0
1 Parent(s): 2079687

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: eng
3
+ datasets:
4
+ - banking77
5
+ ---
6
+
7
+ # Social Media Sentiment Analysis Model (Finetuned 2)
8
+ This is an updated fine-tuned version of the [Social Media Sentiment Analysis Model](https://huggingface.co/Kwaku/social_media_sa) which is a finetuned version of [Distilbert](https://huggingface.co/models?other=distilbert). It's best suited for sentiment-analysis.
9
+
10
+ ## Model Description
11
+ Social Media Sentiment Analysis Model was trained on the [dataset consisting of tweets](https://www.kaggle.com/code/mohamednabill7/sentiment-analysis-of-twitter-data/data) obtained from Kaggle."
12
+
13
+ ## Intended Uses and Limitations
14
+ This model is meant for sentiment-analysis. Because it was trained on a corpus of tweets, it is familiar with social media jargons.
15
+
16
+ ### How to use
17
+
18
+ You can use this model directly with a pipeline for text generation:
19
+
20
+ ```python
21
+ >>>from transformers import pipeline
22
+
23
+ >>> model_name = "Kwaku/social_media_sa_finetuned_2"
24
+ >>> generator = pipeline("sentiment-analysis", model=model_name)
25
+ >>> result = generator("I like this model")
26
+ >>> print(result)
27
+
28
+ Generated output: [{'label': 'positive', 'score': 0.9494990110397339}]
29
+ ```
30
+
31
+ ### Limitations and bias
32
+
33
+ This model inherits the bias of its parent, [Distilbert](https://huggingface.co/models?other=distilbert).
34
+ Besides that, it was trained on only 1000 randomly selected sequences, and thus does not achieve a high probability rate.
35
+ It does fairly well nonetheless.