language: en | |
widget: | |
- text: Covid cases are increasing fast! | |
datasets: | |
- tweet_eval | |
# Twitter-roBERTa-base for Sentiment Analysis | |
<b>Labels</b>: | |
0 -> Negative; | |
1 -> Neutral; | |
2 -> Positive | |
## Example Pipeline | |
```python | |
from transformers import pipeline | |
sentiment_task = pipeline("sentiment-analysis", model=model_path, tokenizer=model_path) | |
sentiment_task("Covid cases are increasing fast!") | |
``` | |
``` | |
[{'label': 'Negative', 'score': 0.7236}] | |
``` | |