Instructions to use pysentimiento/roberta-targeted-sentiment-analysis with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pysentimiento/roberta-targeted-sentiment-analysis with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="pysentimiento/roberta-targeted-sentiment-analysis")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("pysentimiento/roberta-targeted-sentiment-analysis") model = AutoModelForSequenceClassification.from_pretrained("pysentimiento/roberta-targeted-sentiment-analysis", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
028c2c7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a31eb0662995eaad3e4cf0df9c4146979336211e4f163b3aa273e0c2feefce5b
size 498662069
|