Downloads · 30 days
7
14% of all-time downloads
model-attribution-challenge/bert-base-chinese
bert-base-chinese is a fill-mask model from model-attribution-challenge. Use it when you need the model to fill a missing word. It is set up for transformers.
- Model Details - Uses - Risks, Limitations and Biases - Training - Evaluation - How to Get Started With the Model
Downloads · 30 days
7
14% of all-time downloads
All-time downloads
49
Public
Repo size
1.7 GB
Likes
1
Public
Click a slice to open those files.
.h5478 MB · 37%
From the Hugging Face model README
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).
Developed by: HuggingFace team
Model Type: Fill-Mask
Language(s): Chinese
License: [More Information needed]
Parent Model: See the BERT base uncased model for more information about the BERT base model.
This model can be used for masked language modeling
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)).
[More Information Needed]
[More Information Needed]
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("bert-base-chinese")
model = AutoModelForMaskedLM.from_pretrained("bert-base-chinese")