How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="VIOLET21/sentiment-bert-tweet")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("VIOLET21/sentiment-bert-tweet")
model = AutoModelForSequenceClassification.from_pretrained("VIOLET21/sentiment-bert-tweet", device_map="auto")
Quick Links

Sentiment BERT Tweet

A BERT model fine-tuned for Indonesian tweet sentiment classification.
This model classifies tweets into three sentiment categories:

  • Positive
  • Negative
  • Neutral

How to Use

from transformers import pipeline

model = pipeline("text-classification", model="VIOLET21/sentiment-bert-tweet")
result = model("Saya sangat senang hari ini!")
print(result)


Downloads last month
4
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for VIOLET21/sentiment-bert-tweet

Finetuned
(150)
this model