phanerozoic / BERT-Sentiment-Classifier

huggingface.co
Total runs: 37
24-hour runs: 0
7-day runs: 3
30-day runs: 21
Model's Last Updated: May 14 2024
text-classification

Introduction of BERT-Sentiment-Classifier

Model Details of BERT-Sentiment-Classifier

BERT-Sentiment-Classifier

The BERT-Sentiment-Classifier is a sophisticated model based on the bert-base-uncased architecture. It has been fine-tuned specifically for binary sentiment classification (positive/negative) using the IMDB movie reviews dataset, aiming to provide nuanced understanding of textual sentiments.

  • Developed by : phanerozoic
  • Model type : BertForSequenceClassification
  • Source model : bert-base-uncased
  • License : cc-by-nc-4.0
  • Languages : English
Model Details

The BERT-Sentiment-Classifier uses a self-attention mechanism that differentiates the importance of each word in the context of others, tailored for sentiment analysis tasks.

Configuration
  • Attention probs dropout prob : 0.1
  • Hidden act : gelu
  • Hidden size : 768
  • Number of attention heads : 12
  • Number of hidden layers : 12
Training and Evaluation Data

The model utilizes the IMDB dataset, which consists of movie reviews categorized into positive or negative sentiments. This dataset is a standard benchmark for sentiment analysis models.

Training Procedure

The model training was guided by an automated script designed to explore and identify the best hyperparameters for optimal performance. The script conducted extensive experimentation across the hyperparameter space, iteratively training and evaluating the model to pinpoint the most effective settings.

  • Initial exploratory training : Using various combinations of epochs, batch sizes, warmup steps, and weight decay.
  • Refinement and focused training : Upon identifying the best performing hyperparameters, the model underwent further training ten additional times to ensure stability and consistency in performance.
Optimal Hyperparameters Identified
  • Epochs : 2
  • Batch size : 32
  • Warmup steps : 0
  • Weight decay : 0.01
Performance

The refined training approach resulted in a model with robust predictive capabilities:

  • Accuracy : 89.128%
  • F1 Score : 89.221%
  • Precision : 88.463%
  • Recall : 89.992%
Usage

This model is highly effective for predicting sentiments in English texts, particularly in contexts similar to the movie review dataset upon which the model was trained.

Limitations

While the model excels in contexts similar to its training data (IMDB reviews), its performance might vary on text from other domains or other languages. Future enhancements could involve expanding the training data to include more diverse text sources.

Acknowledgments

Thanks to the developers of the BERT architecture and the Hugging Face team. The tools and frameworks provided were instrumental in the development of this model.

Runs of phanerozoic BERT-Sentiment-Classifier on huggingface.co

37
Total runs
0
24-hour runs
3
3-day runs
3
7-day runs
21
30-day runs

More Information About BERT-Sentiment-Classifier huggingface.co Model

More BERT-Sentiment-Classifier license Visit here:

https://choosealicense.com/licenses/cc-by-nc-4.0

BERT-Sentiment-Classifier huggingface.co

BERT-Sentiment-Classifier huggingface.co is an AI model on huggingface.co that provides BERT-Sentiment-Classifier's model effect (), which can be used instantly with this phanerozoic BERT-Sentiment-Classifier model. huggingface.co supports a free trial of the BERT-Sentiment-Classifier model, and also provides paid use of the BERT-Sentiment-Classifier. Support call BERT-Sentiment-Classifier model through api, including Node.js, Python, http.

BERT-Sentiment-Classifier huggingface.co Url

https://huggingface.co/phanerozoic/BERT-Sentiment-Classifier

phanerozoic BERT-Sentiment-Classifier online free

BERT-Sentiment-Classifier huggingface.co is an online trial and call api platform, which integrates BERT-Sentiment-Classifier's modeling effects, including api services, and provides a free online trial of BERT-Sentiment-Classifier, you can try BERT-Sentiment-Classifier online for free by clicking the link below.

phanerozoic BERT-Sentiment-Classifier online free url in huggingface.co:

https://huggingface.co/phanerozoic/BERT-Sentiment-Classifier

BERT-Sentiment-Classifier install

BERT-Sentiment-Classifier is an open source model from GitHub that offers a free installation service, and any user can find BERT-Sentiment-Classifier on GitHub to install. At the same time, huggingface.co provides the effect of BERT-Sentiment-Classifier install, users can directly use BERT-Sentiment-Classifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

BERT-Sentiment-Classifier install url in huggingface.co:

https://huggingface.co/phanerozoic/BERT-Sentiment-Classifier

Url of BERT-Sentiment-Classifier

BERT-Sentiment-Classifier huggingface.co Url

Provider of BERT-Sentiment-Classifier huggingface.co

phanerozoic
ORGANIZATIONS

Other API from phanerozoic

huggingface.co

Total runs: 87
Run Growth: 37
Growth Rate: 42.53%
Updated:September 26 2026