IndoBERT News Classification
Fine-tuned IndoBERT for Indonesian football and sports news classification across 2,276 articles and five classes.
An Indonesian NLP classification workflow that transforms sports-news text into relevant football-league categories using a fine-tuned transformer model.
“Persija menghadapi lawan…”
“Manchester United menang…”
raw news fragmentsWhat I built.
I fine-tuned IndoBERT to automatically classify Indonesian sports news into Liga Inggris, Liga Italia, Liga Spanyol, Liga Indonesia, and Non-Sepak Bola.
The workflow covers collection, cleaning, Indonesian-language preprocessing, transformer fine-tuning, and evaluation of the resulting classifications.
AI / NLP
Developer.
My contribution focused on the technical work behind the model, from source collection to interpreting classification results.
2,276 articles across five classes.
Sources were collected from Detik, Kompas, and Liputan6, with URL-based labeling and no duplicate articles found.
From raw articles to prepared tokens.
“Persija Jakarta akan menghadapi lawan pada pertandingan berikutnya…”
↓persija jakarta hadap lawan tanding
↓Context-aware Indonesian text classification.
The implementation uses indobenchmark/indobert-base-p1 with a dropout and linear classification head, trained using PyTorch and CrossEntropyLoss.
Measured with classification methodology.
Evaluation uses accuracy, precision, recall, F1-score, and a confusion matrix. Exact performance figures are intentionally not shown here because they are not included in the available project record.
The context behind classification matters.
Class distribution needs consideration during training.
Indonesian-specific preprocessing materially affects text quality.
Football leagues share semantically similar terminology.
Different media sources introduce stylistic variation.
Contextual transformer representations are valuable for Indonesian text.
Explore the IndoBERT Project Repository
View the collection, Indonesian NLP preprocessing, PyTorch fine-tuning, and evaluation implementation.