Skip to content
Back to skills

Model Zoo

ASecurity

"Guide selection, import, and compatibility of Fengshen

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopspythongoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill model-zoo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Zoo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Zoo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-model-zoo/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-model-zoo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: model-zoo
description: "Guide selection, import, and compatibility of Fengshen
  model/config/tokenizer families and top-level exports."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# Fengshenbang-LM Model Zoo

Use this sub-skill when a task is about choosing, importing, or troubleshooting Fengshen model, config, tokenizer, and generation-helper families. Keep this file as a router; use the bundled references for tables and details.

## Load order

1. Read [references/model-overview.md](references/model-overview.md) to choose the model family and decide whether the package surface, a pipeline surface, or an example/conversion recipe is the right owner.
2. Read [references/api-reference.md](references/api-reference.md) for top-level exports, direct import paths, generation-helper routes, and the `fengshen_model_type` pipeline mapping.
3. Read [references/auto-and-tokenizers.md](references/auto-and-tokenizers.md) before using Fengshen auto factories, custom config keys, `AutoTokenizer`, or tokenizer-specific files.
4. Read [references/compatibility.md](references/compatibility.md) before installing or repairing dependencies, especially Transformers compatibility.
5. Read [references/troubleshooting.md](references/troubleshooting.md) when imports, tokenizers, offline caches, CUDA size limits, or optional DeepSpeed/Megatron paths fail.

## Choose this sub-skill for

- Top-level imports from `fengshen`, especially `LongformerConfig`, `LongformerModel`, `RoFormerConfig`, `RoFormerModel`, `T5Config`, `T5EncoderModel`, `UbertPipelines`, and `UbertModel`.
- Custom model families: Longformer, RoFormer, Megatron-T5, ZEN1/ZEN2, DeBERTa-v2, DeltaLM, LLaMA/Ziya, Taiyi CLIP, Transformer-XL denoise/paraphrase/reasoning, BART, ALBERT, UniMC/UniEX/TCBert/Ubert, and VAE variants.
- Fengshen auto factories (`fengshen.models.auto`), custom model/tokenizer keys (`fengshen_model_type`, `fengshen_tokenizer_type`), and deciding whether direct imports are safer than auto factories.
- Safe installed-package import checks that do not download models or mutate checkpoints: run `python scripts/check_model_imports.py --help` from this sub-skill directory.
- Diagnosing errors such as missing `cached_path`, missing `softmax_backward_data`, absent SentencePiece/tokenizer files, unsupported custom config keys, model downloads in offline mode, model size on CPU, or optional DeepSpeed imports.

## Route elsewhere

- Training loops, dataloaders, metrics, optimizer/scheduler arguments, checkpoints, and distributed/Megatron training go to `../data-training/SKILL.md`.
- Example recipes, model-family command conversion, Ziya conversion, Taiyi diffusion recipes, and checkpoint mutation/conversion planning go to `../examples-conversion/SKILL.md`.
- `fengshen-pipeline` CLI invocation, public pipeline data schemas, and CLI parser behavior go to `../pipelines-cli/SKILL.md`.

## Safety rules

- Do not instantiate `from_pretrained` on remote model IDs unless the task explicitly authorizes downloads and cache use.
- Prefer import-only, config-only, or `local_files_only=True` checks for diagnosis.
- Treat CUDA, DeepSpeed, Megatron fused kernels, Taiyi diffusion, Ziya large-model inference, and full checkpoint conversion as optional/heavy paths unless a separate verification plan requires them.
- Do not depend on the original repository checkout. Use only this skill tree, the installed `fengshen` package, user-provided model directories, and user-authorized caches.

Files in this skill

  • SKILL.md3.5 KB
  • references/api-reference.md10 KB
  • references/auto-and-tokenizers.md9 KB
  • references/compatibility.md7.4 KB
  • references/model-overview.md9.5 KB
  • references/troubleshooting.md10.4 KB
  • scripts/check_model_imports.py11 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.