Repository for a comparative study of transformer-based models (BERT, RoBERTa, DeBERTa, mBERT, AfroXLM-R, SwahBERT) for polarization detection and characterization on English and Swahili social media data. Includes data preprocessing, training scripts, evaluation, and analysis of polarization categories and manifestations.