技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
open-flamingo【数据与研究】Use OpenFlamingo for vision-language model initialization, image-conditioned generation, distributed training, benchmark evaluation, RICES, MMC4/WebDataset conversion, and VQA-style result preparation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task involves the OpenFlamingo (open_flamingo) package, Flamingo-style vision-language models, OpenCLIP vision encoders plus causal language models, interleaved image/text prompts, training on LAION/MMC4, benchmark evaluation, RICES feature caches, or OpenFlamingo data-preparation utilities.
Do not treat this skill as proof that a full model, dataset, or benchmark run already succeeded. Full generation, training, RICES, and evaluation require caller-provided checkpoints, datasets, cache/network permission, hardware, and time budget. The bundled scripts are safe preflight helpers and command builders unless the user explicitly asks to execute a generated command.
pip install open-flamingoscikit-learn is presentscripts/check_open_flamingo_env.py for a safe import/signature/entrypoint check. It does not instantiate models or download assets.| User task | Read this |
|---|---|
Initialize create_model_and_transforms, load checkpoints, prepare <image> prompts, run forward()/generate(), or debug vision_x and media cache behavior | model-usage |
| Build or troubleshoot OpenFlamingo training/fine-tuning commands, DDP/FSDP, LAION/MMC4 shard inputs, checkpoints, precision, or W&B | training |
Configure benchmark evaluation, supported dataset paths, EvalModel, metrics, result JSON, or RICES feature caches | evaluation |
| Convert/validate MMC4/WebDataset data, check LAION/MMC4 schemas, or fill VQAv2/VizWiz test-dev result files | data-preparation |
| Diagnose install/import/dependency/cache/backend problems before choosing a workflow | cross-cutting troubleshooting |
from open_flamingo import create_model_and_transforms, Flamingoopen_flamingo 2.0.1create_model_and_transforms(...) -> (model, image_processor, tokenizer)<image> and <|endofchunk|>vision_x shaped B x T_img x F x C x H x W; OpenFlamingo supports F=1scripts/check_open_flamingo_env.py: import/version/signature and packaged-entrypoint preflight.sub-skills/model-usage/scripts/validate_generation_inputs.py: validate prompt token counts and vision_x dimensions without imports or downloads.sub-skills/training/scripts/build_train_command.py: print a validated torchrun command targeting the bundled training wrapper; never runs training.sub-skills/evaluation/scripts/build_eval_command.py: print validated evaluation or RICES-cache commands targeting bundled wrappers; never runs evaluation.sub-skills/data-preparation/scripts/validate_open_flamingo_data.py: bounded checks for MMC4 JSON, VQA predictions, and WebDataset path patterns.sub-skills/data-preparation/scripts/convert_mmc4_to_wds.py: standalone MMC4 ZIP/image-directory to WebDataset converter with safer validation.sub-skills/data-preparation/scripts/fill_vqa_testdev_results.py: standalone VQAv2/VizWiz result filler.use_local_files=True for offline model initialization tasks.requirements-eval.txt or add scikit-learn if evaluate.py fails on sklearn.metrics.data-preparation to format complete submission files.references/repo-routing-metadata.json records the structured router placement for managed repo-skill import. This production run intentionally did not import the skill because the user requested no import.