Instructions to use arirajuns/bigbird-imdb-sentiment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arirajuns/bigbird-imdb-sentiment with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="arirajuns/bigbird-imdb-sentiment")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("arirajuns/bigbird-imdb-sentiment", dtype="auto") - Notebooks
- Google Colab
- Kaggle
BigBird IMDb Sentiment Classifier
This model is a fine-tuned version of BigBird-RoBERTa trained on the IMDb dataset for long-text sentiment analysis. It is designed to handle sequences up to 4096 tokens, making it ideal for analyzing full-length movie reviews.
Usage
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="arirajuns/bigbird-imdb-sentiment")
classifier("This movie was an absolute test of patience, but the ending redeemed it.")
# Output: [{'label': 'LABEL_1', 'score': 0.99}] (LABEL_1 = Positive)
Model tree for arirajuns/bigbird-imdb-sentiment
Base model
google/bigbird-roberta-base