Skip to content
Back to skills

Training

ASecurity

Launch, resume, and troubleshoot OpenFlamingo training runs.

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

Works with

  • cli

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 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-e85fdf3d/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-e85fdf3d)

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: "Launch, resume, and troubleshoot OpenFlamingo training runs."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# training

Use this sub-skill for OpenFlamingo training and fine-tuning tasks: configuring model and data flags, generating launch commands, selecting DDP or FSDP, resuming checkpoints, and diagnosing runtime failures.

## Read first

- [CLI reference](references/cli-reference.md)
- [Data formats](references/data-formats.md)
- [Training workflows](references/training-workflows.md)
- [Troubleshooting](references/troubleshooting.md)
- [Safe command builder](scripts/build_train_command.py)

## What this sub-skill covers

- Vision encoder, language model, tokenizer, and cross-attention setup.
- LAION and MMC4 WebDataset inputs.
- DDP, Slurm-style launches, Horovod, and FSDP caveats.
- Precision, gradient checkpointing, loss weighting, and checkpointing.
- W&B logging, offline mode, and restart behavior.

## Typical flow

1. Confirm the LAION and MMC4 shard layouts and sample counts.
2. Pick DDP or FSDP and decide whether to use `--dataset_resampled`.
3. Generate a launch command with `scripts/build_train_command.py`.
4. Run the printed command from the repository root or another shell environment that can resolve the training entrypoint path.
5. Monitor `run_name/checkpoint_<epoch>.pt` and resume with `--resume_from_checkpoint` when needed.

## Guardrails

- Do not launch full training from this skill without explicit user intent and the required data and model weights.
- If the language model uses tied input/output embeddings, prefer DDP or freeze LM embeddings when using FSDP.
- Keep LAION and MMC4 batch counts aligned; the training loop asserts equal batches per epoch.
- If the shard metadata is missing, supply explicit sample counts for both datasets.

Files in this skill

  • SKILL.md1.8 KB
  • references/cli-reference.md6.5 KB
  • references/data-formats.md3.2 KB
  • references/training-workflows.md4.3 KB
  • references/troubleshooting.md4 KB
  • scripts/build_train_command.py11.5 KB
  • scripts/run_training_entrypoint.py1.5 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.