Downloads · 30 days
2
5% of all-time downloads
KartikeyVats3/twitter-roberta-base-sentiment-kartikey
twitter-roberta-base-sentiment-kartikey is a text classification model from KartikeyVats3. Use it when you need a label for a piece of text. It is set up for transformers.
<bLabels</b: 0 - Negative; 1 - Neutral; 2 - Positive
Downloads · 30 days
2
5% of all-time downloads
All-time downloads
44
Public
Repo size
1.5 GB
Likes
0
Public
Click a slice to open those files.
.bin501 MB · 50%
From the Hugging Face model README
<b>Labels</b>: 0 -> Negative; 1 -> Neutral; 2 -> Positive
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}]