CoolFace
Modelpublic

ShinyQ/indobert-sentiment-analysis-indonesian-university-reviews

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes26downloads
Model Card

IndoBERT Sentiment Classifier for Social Media Posts – Universitas XYZ

This model is a fine-tuned IndoBERT transformer for performing sentiment analysis on Indonesian social media text (Twitter) related to university services. It classifies input text into positive, neutral, or negative sentiment categories.

🧠 Model Description

The model is built upon `indobert-base-p2`, a BERT-based transformer pre-trained on over 220 million Indonesian words. The fine-tuning process was done on 7500 samples containing balanced sentiment labels related to online academic services.

  • β€”Label classes: Positive, Neutral, Negative
  • β€”Preprocessing: Case folding, punctuation removal, stopword removal, stemming, tokenization (using IndoBERT tokenizer)

βœ… Intended Use

  • β€”Analyzing Indonesian tweets about universities
  • β€”Sentiment-driven dashboards for academic service quality
  • β€”NLP applications in education sector

⚠️ Limitations

  • β€”Domain-specific to university-related sentiment
  • β€”May not generalize well to informal or slang-heavy text
  • β€”Sarcasm or mixed-sentiment detection is not supported
  • β€”Doesn’t handle toxicity or hate speech detection

πŸ“Š Dataset

  • β€”Source: Custom crawled tweets via keywords and hashtags (e.g. #telkomuniversity, Universitas XYZ)
  • β€”Size: 7500 samples
  • β€”Split: 70% train, 10% validation, 20% test
  • β€”Labels: 2500 positive, 2500 neutral, 2500 negative
  • β€”Language: Indonesian

βš™οΈ Training Procedure

Hyperparameters

  • β€”Learning rate: 5e-5
  • β€”Batch size: 8
  • β€”Epochs: 3
  • β€”Optimizer: Adam (Ξ²1=0.9, Ξ²2=0.999, Ξ΅=1e-8)
  • β€”Scheduler: Linear
  • β€”Seed: 42

Framework Versions

  • β€”Transformers: 4.24.0
  • β€”PyTorch: 1.13.0
  • β€”Tokenizers: 0.13.2

πŸ“ˆ Evaluation Metrics

MetricScore
Accuracy89%
F1 Score88%
Precision87%
Recall89%

image/png

πŸ’» Deployment Context

This model was integrated into `a Django-based sentiment dashboard application` with:

  • β€”A custom Twitter crawler
  • β€”Real-time sentiment classification
  • β€”Wordclouds and sentiment breakdowns by time period
  • β€”Admin tools for filtering, deleting, and exporting data

πŸ“„ Citation

If you use this model or its components, please cite:

@article{wijaya2023indobert,
  author    = {Kurniadi Ahmad Wijaya and Ade Romadhony and Donni Richasdy},
  title     = {Implementasi Model IndoBERT pada Dashboard Sentimen Media Sosial (Studi Kasus Universitas XYZ)},
  journal   = {eProceedings of Engineering},
  volume    = {10},
  number    = {4},
  year      = {2023},
  month     = {September},
  url       = {https://openlibrary.telkomuniversity.ac.id},
}