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")# pip install -U transformers accelerate # 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
|
Download banner.svg from AnkitAI/reviews-roberta-base-sentiment-analysis: direct link, hf CLI and curl.
- Browser
- Download file 236 kB
-
https://huggingface.co/AnkitAI/reviews-roberta-base-sentiment-analysis/resolve/main/banner.svg
- Command line
-
hf download hf://AnkitAI/reviews-roberta-base-sentiment-analysis/banner.svg
-
curl -L -o banner.svg https://huggingface.co/AnkitAI/reviews-roberta-base-sentiment-analysis/resolve/main/banner.svg
236 kB