인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

model-inference

model-inference

Use installed otter-ai for Otter, Flamingo, and OtterHD inference, YAML batch prompts, Hugging Face loading, and checkpoint conversion.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: model-inference description: "Use installed otter-ai for Otter, Flamingo, and OtterHD inference, YAML batch prompts, Hugging Face loading, and checkpoint conversion." disable-model-invocation: true metadata: disco-role: operating license: MIT

model-inference

Use this sub-skill when the task is to run or prepare model inference with the installed otter-ai package, load Otter or Flamingo checkpoints through Hugging Face APIs, construct prompt/media tensors, validate YAML batch inference inputs, or plan checkpoint conversion.

Route here for

  • OtterForConditionalGeneration or FlamingoForConditionalGeneration loading, forward, and generate calls.
  • OtterConfig construction or saved-config inspection.
  • Otter image/no-image prompts, Flamingo-compatible media conditioning, and OtterHD/Fuyu demo-style prompts.
  • YAML batch inference files with question and optional image_path fields.
  • Precision, Flamingo-to-Otter, PT-to-HF, or LoRA checkpoint conversion planning.

Route away

  • Training, finetuning, distributed launch, DeepSpeed, W&B, or checkpoint training cadence: training.
  • Controller/worker/Gradio serving, long-running web processes, or HTTP endpoint payloads: serving.
  • Benchmark dataset/model registries, GPT-judged evaluation, or benchmark configs: benchmark-evaluation.
  • MIMIC-IT data schemas, Convert-It adapters, Syphus instruction generation, or data conversion: data-preparation.

Operating workflow

  1. Classify the task as direct API inference, YAML batch inference, or checkpoint conversion.
  2. For direct API inference, read API reference for imports, installed signatures, tensor shapes, prompt templates, and generated-output decoding.
  3. For YAML batch inference, validate inputs first with validate_inference_yaml.py, then follow workflows.
  4. For conversion, inspect the safe conversion manifest with inspect_checkpoint_conversion_args.py, then follow conversion. The helper does not load checkpoints.
  5. If loading or generation fails, use troubleshooting before changing dependencies, model dtype, device placement, or prompt format.

Quick reference map

NeedStart with
Import/load Otter or Flamingo modelAPI reference
Build vision_x, lang_x, attention_maskAPI reference
Run a YAML batchworkflows
Validate an inference YAML filevalidate_inference_yaml.py
Estimate memory/device placementworkflows
Plan checkpoint conversionconversion
Diagnose xformers, import, tensor shape, or conversion errorstroubleshooting
저장한 Skills