技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
fengshenbang-lm【数据与研究】Operate the Fengshenbang-LM Fengshen package for pipelines, model families, data/training utilities, examples, and conversion planning.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the task involves the Fengshenbang-LM / fengshen Python package: Chinese NLP model families, fengshen-pipeline, Fengshen pipeline APIs, dataloaders, PyTorch Lightning training helpers, Deepspeed/Megatron planning, model-family examples, Taiyi/Ziya recipes, or checkpoint conversion planning.
Read references/installation.md before installing or repairing the package. This repo is sensitive to the age of the Transformers, Lightning, Torchmetrics, NumPy, and Setuptools stack.
Run the safe install check when an environment is available:
python scripts/check_fengshen_install.py --check-cli-help
This imports package modules and inspects CLI help only; it does not download models or launch training.
If imports, CLI help, optional CUDA, model downloads, submodules, or hard-coded example paths fail, read references/troubleshooting.md.
Use references/repo-provenance.md to decide whether this skill matches the current package checkout or should be refreshed.
| User task | Read |
|---|---|
Use fengshen-pipeline, inspect pipeline CLI flags, create tiny classification/NER fixtures, adapt text classification or sequence-tagging data, use UniMC/UniEX/Ubert/TCBert APIs | sub-skills/pipelines-cli/SKILL.md |
| Choose or import Fengshen model/config/tokenizer families, understand top-level exports, custom auto/config keys, model compatibility, or model import failures | sub-skills/model-zoo/SKILL.md |
Prepare/validate data, inspect UniversalDataModule, metrics, checkpoints, optimizer/scheduler/Trainer flags, pretraining data, Deepspeed/Megatron/fused-kernel planning | sub-skills/data-training/SKILL.md |
| Plan CLUE/classification recipes, NLG/NLT examples, Taiyi Stable Diffusion, Ziya inference/fine-tuning/conversion, delta/TF/diffusers/LLaMA conversion utilities | sub-skills/examples-conversion/SKILL.md |
fengshen.0.0.1.fengshen-pipeline = fengshen.cli.fengshen_pipeline:main.fengshen-pipeline <pipeline_module_name> predict|train ...; source CLI supports only predict and train methods.