fill-masktransformersapache-2.0

google-bert/bert-base-chinese

huggingface.co/google-bert/bert-base-chinese

1,462Likes
297,888Downloads
2025-07-03Updated
transformerspytorchtfjaxsafetensorsbertfill-maskzharxiv:1810.04805license:apache-2.0endpoints_compatibleregion:usdeploy:azure

Model card

Bert-base-chinese

Table of Contents

Model Details

Model Description

This model has been pre-trained for Chinese, training and random input masking has been applied independently to word pieces (as in the original BERT paper).

Model Sources

Uses

Direct Use

This model can be used for masked language modeling

Risks, Limitations and Biases

CONTENT WARNING: Readers should be aware this section contains content that is disturbing, offensive, and can propagate historical and current stereotypes.

Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)).

Training

Training Procedure

Training Data

[More Information Needed]

Evaluation

Results

[More Information Needed]

How to Get Started With the Model

```python from transformers import AutoTokenizer, AutoModelForMaskedLM

tokenizer = AutoTokenizer.from_pretrained("bert-base-chinese")

model = AutoModelForMaskedLM.from_pretrained("bert-base-chinese")

```

Mirrored from the Hugging Face Hub and served from the Conceptio Open Knowledge Archive. Read the original card at https://huggingface.co/google-bert/bert-base-chinese.