ymcui/chinese-bert-wwm

Pre-Training with Whole Word Masking for Chinese BERT(中文BERT-wwm系列模型)

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 29 minutes ago
Added to GitGenius on September 6th, 2026
Created on June 19th, 2019
Open Issues & Pull Requests: 1 (+0)
GitHub issues: Enabled
Number of forks: 1,380
Total Stargazers: 10,226 (+0)
Total Subscribers: 138 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 0.4 hours
Mean response time: 31.6 hours
90th percentile: 5.1 days
Tracked items: 4

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 1
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 179 days
Stale 30+ days: 1
Stale 90+ days: 1

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (5)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Chinese-BERT-wwm is a collection of pre-trained language models for Chinese natural language processing built using whole word masking techniques.

The project addresses the need for improved Chinese language understanding by applying whole word masking during pre-training, a technique that masks complete words rather than individual subword tokens. This approach better captures semantic relationships in Chinese text, where word boundaries are not naturally delimited. The repository provides multiple model variants including BERT-wwm, BERT-wwm-ext, RoBERTa-wwm-ext, RoBERTa-wwm-ext-large, RBT3, and RBTL3, built on the foundation of Google's official BERT implementation.

Developers working on Chinese NLP tasks should consider this toolkit if they need pre-trained models specifically optimized for Chinese text processing. The models are available through the transformers library and support both TensorFlow and PyTorch frameworks, making integration straightforward for most modern NLP pipelines. This is particularly valuable for tasks like text classification, named entity recognition, and semantic similarity where Chinese-specific pre-training provides advantages over multilingual or English-only models.

The project maintains active development with regular releases of new model variants and related tools. The repository includes documentation in both Chinese and English to support a broad user base. The work has been published in a peer-reviewed venue and represents ongoing research into Chinese language model improvements, with the team continuing to explore complementary approaches through related projects focused on knowledge distillation, model pruning, and alternative pre-training techniques for Chinese text.