L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Développement · 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

Documentation de la Skill

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.

Skills enregistrées