Skip to content
Back to skills

Model Inference

ASecurity

"Use installed otter-ai for Otter, Flamingo, and OtterHD inference,

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

Works with

  • api

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 model-inference --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Inference?

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

Security grade badge for Model Inference
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-model-inference-915fdd5c/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-model-inference-915fdd5c)

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: 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](../training/SKILL.md).
- Controller/worker/Gradio serving, long-running web processes, or HTTP endpoint payloads: [serving](../serving/SKILL.md).
- Benchmark dataset/model registries, GPT-judged evaluation, or benchmark configs: [benchmark-evaluation](../benchmark-evaluation/SKILL.md).
- MIMIC-IT data schemas, Convert-It adapters, Syphus instruction generation, or data conversion: [data-preparation](../data-preparation/SKILL.md).

## Operating workflow

1. Classify the task as direct API inference, YAML batch inference, or checkpoint conversion.
2. For direct API inference, read [API reference](references/api-reference.md) 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](scripts/validate_inference_yaml.py), then follow [workflows](references/workflows.md).
4. For conversion, inspect the safe conversion manifest with [inspect_checkpoint_conversion_args.py](scripts/inspect_checkpoint_conversion_args.py), then follow [conversion](references/conversion.md). The helper does not load checkpoints.
5. If loading or generation fails, use [troubleshooting](references/troubleshooting.md) before changing dependencies, model dtype, device placement, or prompt format.

## Quick reference map

| Need | Start with |
|---|---|
| Import/load Otter or Flamingo model | [API reference](references/api-reference.md#import-and-load-surface) |
| Build `vision_x`, `lang_x`, `attention_mask` | [API reference](references/api-reference.md#prompt-and-media-tensor-contract) |
| Run a YAML batch | [workflows](references/workflows.md#yaml-batch-inference) |
| Validate an inference YAML file | [validate_inference_yaml.py](scripts/validate_inference_yaml.py) |
| Estimate memory/device placement | [workflows](references/workflows.md#memory-and-device-placement-notes) |
| Plan checkpoint conversion | [conversion](references/conversion.md) |
| Diagnose xformers, import, tensor shape, or conversion errors | [troubleshooting](references/troubleshooting.md) |

Files in this skill

  • SKILL.md3.1 KB
  • references/api-reference.md5.9 KB
  • references/conversion.md4.8 KB
  • references/troubleshooting.md5.9 KB
  • references/workflows.md6.5 KB
  • scripts/inspect_checkpoint_conversion_args.py10.2 KB
  • scripts/validate_inference_yaml.py6.4 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.