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)
model.safetensors 540 MBtraining_args.bin 5.2 kB