UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
生産性・共同作業 · SKILL.md

pretraining

pretraining

Guides OFA multimodal pretraining and continuous-pretraining workflows, including mixed TSV layouts and negative-sample preparation.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: pretraining description: "Guides OFA multimodal pretraining and continuous-pretraining workflows, including mixed TSV layouts and negative-sample preparation." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

pretraining

Use this sub-skill when a user wants to pretrain OFA, resume pretraining from a checkpoint, or validate the pretraining workspace before launch.

Trigger phrases

  • "Pretrain OFA"
  • "Continuous pretraining"
  • "Why does pretrain_ofa_large.sh fail?"
  • "What files go in the pretraining folder?"
  • "How do I validate the negative-sample directory?"

What this sub-skill owns

  • the mixed pretraining TSV bundle,
  • continuous-pretraining vs scratch decisions,
  • negative-sample folder requirements,
  • the pretraining task and dataset composition,
  • prelaunch validation of the pretraining workspace.

What it excludes

  • downstream caption/VQA/RefCOCO/OCR/ImageNet finetuning -> vision-language-tasks,
  • image generation -> image-generation,
  • speech pretraining -> mmspeech,
  • generic setup and launch mechanics -> setup-and-command-building.

Read these files

Typical workflow

  1. Decide whether to restore a checkpoint or start from scratch.
  2. Confirm the mixed TSV bundle is complete.
  3. Check that the negative-sample files exist and are readable.
  4. Render the launch command only after the layout validator passes.

Notes

  • Pretraining uses multiple TSVs, not a single generic dataset file.
  • The same workspace may hold text-only, image-only, vision-language, and detection rows.
  • A missing negative-sample file is often easier to fix than a long failed GPU run.
保存したスキル