技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
chinese-bert-wwm【数据与研究】Route Chinese-BERT-wwm model loading, model selection, benchmark data, and troubleshooting workflows for HFL Chinese BERT-family resources.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves HFL Chinese BERT/RoBERTa/RBT checkpoints released from the Chinese-BERT-wwm resource repository, Chinese Whole Word Masking (WWM), model loading through Transformers or PaddleHub, downstream Chinese NLP benchmark interpretation, or the bundled sentiment/NER dataset schemas.
hfl/chinese-bert-wwm, hfl/chinese-bert-wwm-ext, hfl/chinese-roberta-wwm-ext, hfl/chinese-roberta-wwm-ext-large, hfl/rbt3, hfl/rbt4, hfl/rbt6, and hfl/rbtl3.BertTokenizer/BertModel or AutoTokenizer/AutoModel; do not use RoBERTa classes for the RoBERTa-wwm-named checkpoints.references/model-family-overview.md for the compact model catalog, WWM meaning, and route map.sub-skills/model-loading/SKILL.md.sub-skills/task-selection-and-finetuning/SKILL.md.sub-skills/data-and-benchmarks/SKILL.md.references/troubleshooting.md.| User task | Read |
|---|---|
"Load hfl/chinese-roberta-wwm-ext with Transformers", "is RobertaTokenizer correct?", "check offline cache for hfl/rbt3", "what PaddleHub module name should I use?" | sub-skills/model-loading/SKILL.md |
| "Which checkpoint should I fine-tune for CMRC/DRCD/XNLI/LCQMC?", "what LR did the README use?", "do I need Chinese word segmentation for WWM?", "should I use RBTL3 or truncate a large model?" | sub-skills/task-selection-and-finetuning/SKILL.md |
"Where is BQ Corpus/LCQMC data?", "validate chnsenticorp.zip", "what metric does DRCD use?", "is CJRC test data official?" | sub-skills/data-and-benchmarks/SKILL.md |
This repository is not an installable Python package. Transformers workflows require an environment with transformers and, for full model materialization, a backend such as PyTorch. In the user's chosen Python environment, a typical public setup is:
python -m pip install transformers torch
The root helper performs an offline import/model-id check and never downloads checkpoints:
python scripts/check_chinese_bert_wwm_setup.py --help
python scripts/check_chinese_bert_wwm_setup.py --require-transformers
python scripts/check_chinese_bert_wwm_setup.py --list-models
For model-specific cache/load checks, use sub-skills/model-loading/scripts/check_transformers_model.py. For included dataset archive schemas, use sub-skills/data-and-benchmarks/scripts/validate_dataset_schema.py.
Auto* classes.references/repo-provenance.md: source commit, evidence paths, package/library context, and refresh baseline.references/repo-routing-metadata.json: structured scenario metadata used if this verified skill is later imported into the managed repo-skill library.references/model-family-overview.md: shared model catalog and route map.references/troubleshooting.md: cross-cutting environment, cache, dataset, and reproducibility failures.This skill does not provide the unreleased original pretraining implementation, full model weights, full dataset downloads, PaddleHub/PaddlePaddle as required dependencies, or guaranteed benchmark reproduction. Ask for user approval before downloading large checkpoints, installing broad optional frameworks, using credentials, mutating caches, or redistributing restricted datasets.