Skip to content
Back to skills

Training

ASecurity

"Guides MiniMind-V Pretrain and SFT command planning, DDP launch,

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

Works with

  • cli
  • api

Security analysis

A100/100

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

Scanned September 8, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Training?

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

Security grade badge for Training
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-a61dc578/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-a61dc578)

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: training
description: "Guides MiniMind-V Pretrain and SFT command planning, DDP launch,
  freezing, checkpoint/resume, precision, logging, prerequisites, and output
  naming."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# MiniMind-V Training

Use this sub-skill when the task is to plan, configure, resume, or safely construct commands for MiniMind-V VLM Pretrain or SFT training.

Do not run full training as a default verification step. MiniMind-V training is GPU-, data-, and weight-gated; build commands, check prerequisites, and ask before launching any expensive training job.

## Route here

- Choosing between optional Pretrain and SFT-first training.
- Constructing single-GPU or DDP `torchrun` commands from a MiniMind-V checkout.
- Setting `freeze_llm`, `from_weight`, `from_resume`, precision, logging, and checkpoint options.
- Understanding output weight names, resume state, and GPU-count-change resume behavior.
- Troubleshooting missing weights/data, CUDA/OOM, tokenizer/model resources, DDP ranks, checkpoint mismatch, logging, or `torch.compile`.

## Route elsewhere

- Parquet schema or resource downloads: `data-and-resources`.
- Model internals or SigLIP2 architecture: `model-architecture-and-api`.
- Inference, evaluation, WebUI, or serving: `inference-and-serving`.
- Post-training conversion to Transformers: `model-export-and-format-conversion`.

## Operating workflow

1. Identify the desired stage: `sft` for the recommended main path or `pretrain` for optional projector alignment before SFT.
2. Confirm prerequisites without downloading them: parquet data, base/previous-stage weights, tokenizer files, and SigLIP2.
3. Use [`build_training_command.py`](scripts/build_training_command.py) for safe planning; it prints commands and optional file-check results but never launches training.
4. Read [training workflows](references/training-workflows.md), [CLI reference](references/cli-reference.md), [checkpoints and resume](references/checkpoints-and-resume.md), and [troubleshooting](references/troubleshooting.md).

## Key defaults

- Pretrain: `save_weight=pretrain_vlm`, `batch_size=16`, `learning_rate=4e-4`, `max_seq_len=450`, `data_path=../dataset/pretrain_i2t.parquet`, `from_weight=llm`, `freeze_llm=2`.
- SFT: `save_weight=sft_vlm`, `batch_size=4`, `learning_rate=5e-6`, `max_seq_len=768`, `data_path=../dataset/sft_i2t.parquet`, `from_weight=pretrain_vlm`, `freeze_llm=1`.
- To skip Pretrain, use SFT with `--from_weight llm` because the SFT parquet already includes the Pretrain caption subset.

Files in this skill

  • SKILL.md2.5 KB
  • references/checkpoints-and-resume.md1.4 KB
  • references/cli-reference.md1.3 KB
  • references/training-workflows.md1.9 KB
  • references/troubleshooting.md1.2 KB
  • scripts/build_training_command.py4.6 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.