cahya / bert-base-indonesian-522M

huggingface.co
Total runs: 813
24-hour runs: 0
7-day runs: -232
30-day runs: -1.3K
Model's Last Updated: May 19 2021
fill-mask

Introduction of bert-base-indonesian-522M

Model Details of bert-base-indonesian-522M

Indonesian BERT base model (uncased)

Model description

It is BERT-base model pre-trained with indonesian Wikipedia using a masked language modeling (MLM) objective. This model is uncased: it does not make a difference between indonesia and Indonesia.

This is one of several other language models that have been pre-trained with indonesian datasets. More detail about its usage on downstream tasks (text classification, text generation, etc) is available at Transformer based Indonesian Language Models

Intended uses & limitations
How to use

You can use this model directly with a pipeline for masked language modeling:

>>> from transformers import pipeline
>>> unmasker = pipeline('fill-mask', model='cahya/bert-base-indonesian-522M')
>>> unmasker("Ibu ku sedang bekerja [MASK] supermarket")

[{'sequence': '[CLS] ibu ku sedang bekerja di supermarket [SEP]',
  'score': 0.7983310222625732,
  'token': 1495},
 {'sequence': '[CLS] ibu ku sedang bekerja. supermarket [SEP]',
  'score': 0.090003103017807,
  'token': 17},
 {'sequence': '[CLS] ibu ku sedang bekerja sebagai supermarket [SEP]',
  'score': 0.025469014421105385,
  'token': 1600},
 {'sequence': '[CLS] ibu ku sedang bekerja dengan supermarket [SEP]',
  'score': 0.017966199666261673,
  'token': 1555},
 {'sequence': '[CLS] ibu ku sedang bekerja untuk supermarket [SEP]',
  'score': 0.016971781849861145,
  'token': 1572}]

Here is how to use this model to get the features of a given text in PyTorch:

from transformers import BertTokenizer, BertModel

model_name='cahya/bert-base-indonesian-522M'
tokenizer = BertTokenizer.from_pretrained(model_name)
model = BertModel.from_pretrained(model_name)
text = "Silakan diganti dengan text apa saja."
encoded_input = tokenizer(text, return_tensors='pt')
output = model(**encoded_input)

and in Tensorflow:

from transformers import BertTokenizer, TFBertModel

model_name='cahya/bert-base-indonesian-522M'
tokenizer = BertTokenizer.from_pretrained(model_name)
model = TFBertModel.from_pretrained(model_name)
text = "Silakan diganti dengan text apa saja."
encoded_input = tokenizer(text, return_tensors='tf')
output = model(encoded_input)
Training data

This model was pre-trained with 522MB of indonesian Wikipedia. The texts are lowercased and tokenized using WordPiece and a vocabulary size of 32,000. The inputs of the model are then of the form:

[CLS] Sentence A [SEP] Sentence B [SEP]

Runs of cahya bert-base-indonesian-522M on huggingface.co

813
Total runs
0
24-hour runs
-101
3-day runs
-232
7-day runs
-1.3K
30-day runs

More Information About bert-base-indonesian-522M huggingface.co Model

More bert-base-indonesian-522M license Visit here:

https://choosealicense.com/licenses/mit

bert-base-indonesian-522M huggingface.co

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

bert-base-indonesian-522M huggingface.co Url

https://huggingface.co/cahya/bert-base-indonesian-522M

cahya bert-base-indonesian-522M online free

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

cahya bert-base-indonesian-522M online free url in huggingface.co:

https://huggingface.co/cahya/bert-base-indonesian-522M

bert-base-indonesian-522M install

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

bert-base-indonesian-522M install url in huggingface.co:

https://huggingface.co/cahya/bert-base-indonesian-522M

Url of bert-base-indonesian-522M

bert-base-indonesian-522M huggingface.co Url

Provider of bert-base-indonesian-522M huggingface.co

cahya
ORGANIZATIONS

Other API from cahya

huggingface.co

Total runs: 85
Run Growth: -50
Growth Rate: -58.82%
Updated:March 01 2025
huggingface.co

Total runs: 74
Run Growth: 58
Growth Rate: 78.38%
Updated:March 24 2022
huggingface.co

Total runs: 24
Run Growth: 16
Growth Rate: 66.67%
Updated:February 01 2022
huggingface.co

Total runs: 15
Run Growth: 9
Growth Rate: 60.00%
Updated:June 24 2024
huggingface.co

Total runs: 12
Run Growth: -5
Growth Rate: -41.67%
Updated:February 19 2023
huggingface.co

Total runs: 10
Run Growth: -130
Growth Rate: -1300.00%
Updated:April 17 2025
huggingface.co

Total runs: 9
Run Growth: -27
Growth Rate: -300.00%
Updated:November 24 2022
huggingface.co

Total runs: 7
Run Growth: -3
Growth Rate: -42.86%
Updated:February 01 2023
huggingface.co

Total runs: 6
Run Growth: 1
Growth Rate: 16.67%
Updated:July 06 2021
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 04 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 12 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 21 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 04 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 11 2025