Model Details

Sentiment analysts

Model Description

  • Developed by: [Hieudinhpro]
  • Model type: [fineturn_roberta_model]
  • Language(s) (NLP): [Vietnamese]
  • License: [MIT]
  • Finetuned from model [optional]: [phobert-base-vietnamese-sentiment]

Load model directly

from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("hieudinhpro/BERT_Sentiment_Vietnamese")
model = AutoModelForSequenceClassification.from_pretrained("hieudinhpro/BERT_Sentiment_Vietnamese")

Use a pipeline as a high-level helper

from transformers import pipeline

pipe = pipeline("text-classification", model="hieudinhpro/BERT_Sentiment_Vietnamese")
Downloads last month
40
Inference Examples
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.