Usage
from transformers import RobertaTokenizerFast, TFRobertaForSequenceClassification, pipeline
tokenizer = RobertaTokenizerFast.from_pretrained("cappuch/Emotions_BERT")
model = TFRobertaForSequenceClassification.from_pretrained("cappuch/Emotions_BERT")
classific = pipeline('sentiment-analysis',
model='cappuch/Emotions_BERT')
labels = classific("Hello!")
print(labels)
#[{'label': 'neutral', 'score': 0.9964383244514465}]
- Downloads last month
- 65
Inference Providers
NEW
This model is not currently available via any of the supported third-party Inference Providers, and
the model is not deployed on the HF Inference API.