技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
minimind-v【数据与研究】Routes MiniMind-V tiny vision-language model setup, data validation, architecture/API inspection, inference/WebUI, training, and checkpoint conversion workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task concerns MiniMind-V, the compact PyTorch vision-language model repository built around a MiniMind language backbone plus a frozen SigLIP2 vision encoder.
This skill is for operating MiniMind-V workflows in a user's own checkout or exported model directory. It is self-contained: use the bundled references and safe helpers here instead of reopening the repository used to generate the skill.
.pth weights, Transformers exports, ALLaVA-style parquet data, or sample image folders.VLMConfig, MiniMindVLM, 64 visual tokens, <|image_pad|>, dense/MoE choices, projector behavior, or generation semantics.trust_remote_code=True loads without user approval.From a MiniMind-V checkout, install only the dependency subset needed for the selected workflow. For general use the project documents:
pip install -r requirements.txt
Install torch/torchvision separately for the host backend because the repository comments those lines out. A lightweight source/API check that does not load weights is:
python - <<'PY'
from model.model_vlm import VLMConfig
cfg = VLMConfig()
print(cfg.model_type, cfg.image_special_token, cfg.image_token_len)
PY
Use scripts/check_minimind_v_environment.py for a broader read-only preflight before running model, data, training, serving, or export commands.
scripts/check_minimind_v_environment.py for cross-cutting dependency/resource checks.| User intent | Read |
|---|---|
Dependency/resource layout, tokenizer/SigLIP2/model/data placement, parquet schema, image bytes, <image> expansion, data validation | data-and-resources |
MiniMindVLM, VLMConfig, MiniMindConfig, projector, pixel tensor shapes, cache/generate behavior, dense vs MoE architecture | model-architecture-and-api |
eval_vlm.py planning, native .pth vs Transformers inference, image QA smoke checks, WebUI scanner/serving decisions | inference-and-serving |
Pretrain/SFT planning, freeze_llm, DDP, bf16/fp16, SwanLab/W&B logging, output names, checkpoint resume | training |
Native .pth to Transformers export, export layout inspection, config.json/tokenizer metadata, reverse conversion limits | model-export-and-format-conversion |
references/installation-and-environment.md before planning installs or backend checks.references/troubleshooting.md for cross-cutting failures that span multiple workflows.references/repo-provenance.md before deciding whether this skill matches a current MiniMind-V checkout or needs refresh.repo-skills-router lives in references/repo-routing-metadata.json.hidden_size=768, num_hidden_layers=8, optional MoE, and a frozen SigLIP2 P32 256x256 vision encoder.<|image_pad|> tokens by default, matching SigLIP2's 8x8 patch-token output.out/llm_768.pth, out/pretrain_vlm_768.pth, out/sft_vlm_768.pth, with _moe added for MoE variants.