Downloads · 30 days
12
41% of all-time downloads
dilexsan/bertweet_base_sentimental
bertweet_base_sentimental is a text classification model from dilexsan. Use it when you need a label for a piece of text. The card lists the license as mit.
You can load this model directly using the 🤗 Transformers pipeline:
Downloads · 30 days
12
41% of all-time downloads
All-time downloads
29
Public
Parameters
135M
540 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors540 MB · 100%
From the Hugging Face model README
You can load this model directly using the 🤗 Transformers pipeline:
from transformers import pipeline
model_id = "dilexsan/bertweet_base_sentimental"
sentiment_analyzer = pipeline("text-classification", model=model_id)
text = "I am so happy with this service, it was great!"
result = sentiment_analyzer(text)
print(result)