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

model-api

model-api

Use OmegaFold programmatically: configs, model construction, forward inputs and outputs, confidence helpers, architecture choices, and API debugging.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: model-api description: "Use OmegaFold programmatically: configs, model construction, forward inputs and outputs, confidence helpers, architecture choices, and API debugging." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

OmegaFold Model API

Use this sub-skill when an agent needs to call OmegaFold from Python, inspect its model/config API, load weights manually, or diagnose backend and dependency failures. For end-user command recipes, use inference CLI. For FASTA normalization, generated input tensors, and PDB output details, use data and outputs.

Quick Routes

Programmatic Inference Shape

A safe custom API flow is: create cfg = omegafold.make_config(1 or 2), instantiate omegafold.OmegaFold(cfg), load a matching state dict, move to a real device, prepare inputs through omegafold.pipeline.fasta2inputs, call model(input_data, predict_with_confidence=True, fwd_cfg=forward_config), then write PDBs through the data/output sub-skill.

Do not present OmegaFold as a training or fine-tuning toolkit. This release is inference code; unsupported training loops, gradient recipes, optimizer setup, or model surgery are outside this sub-skill.

保存したスキル