language: en license: apache-2.0 tags: - text-classification - sentiment-analysis - bert - imdb datasets: - imdb metrics: - accuracy - f1
This model is a fine-tuned version of bert-base-uncased on the IMDB movie reviews dataset for sentiment analysis.
bert-base-uncased
from transformers import pipeline classifier = pipeline( 'sentiment-analysis', model='your-hf-username/bert-imdb-sentiment' ) result = classifier("This movie was absolutely amazing!") print(result) # [{'label': 'POSITIVE', 'score': 0.98}]