AI/EXPLORER
ToolsCategoriesSitesLLMsCompareAI QuizAlternativesPremium
—AI Tools
—Sites & Blogs
—LLMs & Models
—Categories
AI Explorer

Find and compare the best artificial intelligence tools for your projects.

Made within France

Explore

  • ›All tools
  • ›Sites & Blogs
  • ›LLMs & Models
  • ›Compare
  • ›Chatbots
  • ›AI Images
  • ›Code & Dev

Company

  • ›Premium
  • ›About
  • ›Contact
  • ›Blog

Legal

  • ›Legal notice
  • ›Privacy
  • ›Terms

© 2026 AI Explorer·All rights reserved.

HomeLLMsindobert base p2

indobert base p2

by indobenchmark

Open source · 20k downloads · 7 likes

1.1
(7 reviews)EmbeddingAPI & Local
About

IndoBERT Base P2 is a state-of-the-art language model specifically designed for Indonesian, built on the BERT architecture. It was trained using masked language modeling and next sentence prediction objectives, enabling it to understand and generate Indonesian text with high accuracy. The model excels in tasks such as text classification, sentiment analysis, question answering, and content generation, while accounting for the unique linguistic nuances of Indonesian. Its primary use cases include automating customer service, large-scale text data analysis, and enhancing machine translation tools. What sets it apart is its ability to deliver optimal performance for Indonesian—a complex and rich language—while remaining accessible and efficient for a variety of applications.

Documentation

IndoBERT Base Model (phase2 - uncased)

IndoBERT is a state-of-the-art language model for Indonesian based on the BERT model. The pretrained model is trained using a masked language modeling (MLM) objective and next sentence prediction (NSP) objective.

All Pre-trained Models

Model#paramsArch.Training data
indobenchmark/indobert-base-p1124.5MBaseIndo4B (23.43 GB of text)
indobenchmark/indobert-base-p2124.5MBaseIndo4B (23.43 GB of text)
indobenchmark/indobert-large-p1335.2MLargeIndo4B (23.43 GB of text)
indobenchmark/indobert-large-p2335.2MLargeIndo4B (23.43 GB of text)
indobenchmark/indobert-lite-base-p111.7MBaseIndo4B (23.43 GB of text)
indobenchmark/indobert-lite-base-p211.7MBaseIndo4B (23.43 GB of text)
indobenchmark/indobert-lite-large-p117.7MLargeIndo4B (23.43 GB of text)
indobenchmark/indobert-lite-large-p217.7MLargeIndo4B (23.43 GB of text)

How to use

Load model and tokenizer

Python
from transformers import BertTokenizer, AutoModel
tokenizer = BertTokenizer.from_pretrained("indobenchmark/indobert-base-p2")
model = AutoModel.from_pretrained("indobenchmark/indobert-base-p2")

Extract contextual representation

Python
x = torch.LongTensor(tokenizer.encode('aku adalah anak [MASK]')).view(1,-1)
print(x, model(x)[0].sum())

Authors

IndoBERT was trained and evaluated by Bryan Wilie*, Karissa Vincentio*, Genta Indra Winata*, Samuel Cahyawijaya*, Xiaohong Li, Zhi Yuan Lim, Sidik Soleman, Rahmad Mahendra, Pascale Fung, Syafri Bahar, Ayu Purwarianti.

Citation

If you use our work, please cite:

Bibtex
@inproceedings{wilie2020indonlu,
  title={IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding},
  author={Bryan Wilie and Karissa Vincentio and Genta Indra Winata and Samuel Cahyawijaya and X. Li and Zhi Yuan Lim and S. Soleman and R. Mahendra and Pascale Fung and Syafri Bahar and A. Purwarianti},
  booktitle={Proceedings of the 1st Conference of the Asia-Pacific Chapter of the Association for Computational Linguistics and the 10th International Joint Conference on Natural Language Processing},
  year={2020}
}
Capabilities & Tags
transformerspytorchtfjaxbertfeature-extractionindobertindobenchmarkindonluid
Links & Resources
Specifications
CategoryEmbedding
AccessAPI & Local
LicenseOpen Source
PricingOpen Source
Rating
1.1

Try indobert base p2

Access the model directly