agentlans commited on
Commit
d35d5c1
1 Parent(s): 725644e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +48 -4
README.md CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  # DeBERTa-v3 Twitter Sentiment Models
2
 
3
  This page contains one of two DeBERTa-v3 models (xsmall and base) fine-tuned for Twitter sentiment regression.
@@ -10,13 +21,13 @@ This page contains one of two DeBERTa-v3 models (xsmall and base) fine-tuned for
10
  - base (86M parameters)
11
  - **Task**: Sentiment regression
12
  - **Language**: English
13
- - **License**: [Model license]
14
 
15
  ## Intended Use
16
 
17
  These models are designed for fine-grained sentiment analysis of English tweets. They output a **continuous sentiment score** rather than discrete categories.
18
  - negative score means negative sentiment
19
- - 0 score means neutral sentiment
20
  - positive score means positive sentiment
21
  - the absolute value of the score represents how strong that sentiment is
22
 
@@ -61,7 +72,40 @@ text = [x.strip() for x in """
61
  """.strip().split("\n")]
62
 
63
  for x, s in zip(text, sentiment(text)):
64
- print(f"Text: {x}\nSentiment: {s}\n")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  ```
66
 
67
  ## Performance
@@ -80,4 +124,4 @@ Evaluation set RMSE:
80
  ## Ethical Considerations
81
 
82
  - Potential biases in the training data related to the time period and Twitter user demographics
83
- - Risk of misuse for large-scale sentiment monitoring without consent
 
1
+ ---
2
+ license: apache-2.0
3
+ datasets:
4
+ - agentlans/twitter-sentiment-meta-analysis
5
+ language:
6
+ - en
7
+ base_model:
8
+ - microsoft/deberta-v3-xsmall
9
+ - microsoft/deberta-v3-base
10
+ pipeline_tag: text-classification
11
+ ---
12
  # DeBERTa-v3 Twitter Sentiment Models
13
 
14
  This page contains one of two DeBERTa-v3 models (xsmall and base) fine-tuned for Twitter sentiment regression.
 
21
  - base (86M parameters)
22
  - **Task**: Sentiment regression
23
  - **Language**: English
24
+ - **License**: Apache 2.0
25
 
26
  ## Intended Use
27
 
28
  These models are designed for fine-grained sentiment analysis of English tweets. They output a **continuous sentiment score** rather than discrete categories.
29
  - negative score means negative sentiment
30
+ - zero score means neutral sentiment
31
  - positive score means positive sentiment
32
  - the absolute value of the score represents how strong that sentiment is
33
 
 
72
  """.strip().split("\n")]
73
 
74
  for x, s in zip(text, sentiment(text)):
75
+ print(f"Text: {x}\nSentiment: {round(s, 2)}\n")
76
+ ```
77
+
78
+ Output:
79
+ ```text
80
+ Text: I absolutely despise this product and regret ever purchasing it.
81
+ Sentiment: -2.28
82
+
83
+ Text: The service at that restaurant was terrible and ruined our entire evening.
84
+ Sentiment: -2.38
85
+
86
+ Text: I'm feeling a bit under the weather today, but it's not too bad.
87
+ Sentiment: 0.25
88
+
89
+ Text: The weather is quite average today, neither good nor bad.
90
+ Sentiment: -0.14
91
+
92
+ Text: The movie was okay, I didn't love it but I didn't hate it either.
93
+ Sentiment: 0.06
94
+
95
+ Text: I'm looking forward to the weekend, it should be nice to relax.
96
+ Sentiment: 2.06
97
+
98
+ Text: This new coffee shop has a really pleasant atmosphere and friendly staff.
99
+ Sentiment: 2.48
100
+
101
+ Text: I'm thrilled with my new job and the opportunities it presents!
102
+ Sentiment: 2.66
103
+
104
+ Text: The concert last night was absolutely incredible, easily the best I've ever seen.
105
+ Sentiment: 2.68
106
+
107
+ Text: I'm overjoyed and grateful for all the love and support from my friends and family.
108
+ Sentiment: 2.65
109
  ```
110
 
111
  ## Performance
 
124
  ## Ethical Considerations
125
 
126
  - Potential biases in the training data related to the time period and Twitter user demographics
127
+ - Risk of misuse for large-scale sentiment monitoring without consent