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