EvolutionaryScale · Schema

EvolutionaryScale LogitsOutput

Schema for the `LogitsOutput` returned by the EvolutionaryScale Forge logits endpoints for ESM3 and ESM Cambrian. Provides per-track logits, per-residue embeddings, and optional layer-wise hidden states.

AIArtificial IntelligenceBiologyBioinformaticsComputational BiologyDrug DiscoveryESMESM3ESM CambrianFoundation ModelsGenerative BiologyLife SciencesMachine LearningProtein DesignProtein FoldingProtein Language ModelsProteinsRepresentation LearningStructure Prediction

Properties

Name Type Description
logits object Per-track logits keyed by track name. Each value is a [L, V_track] tensor of float logits.
embeddings array Per-residue embeddings, shape [L, D].
hidden_states array Stacked hidden states across selected layers, shape [num_layers, L, D].
View JSON Schema on GitHub

JSON Schema

evolutionaryscale-logits-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/evolutionaryscale/evolutionaryscale-logits-output-schema.json",
  "title": "EvolutionaryScale LogitsOutput",
  "description": "Schema for the `LogitsOutput` returned by the EvolutionaryScale Forge logits endpoints for ESM3 and ESM Cambrian. Provides per-track logits, per-residue embeddings, and optional layer-wise hidden states.",
  "type": "object",
  "properties": {
    "logits": {
      "type": "object",
      "description": "Per-track logits keyed by track name. Each value is a [L, V_track] tensor of float logits.",
      "properties": {
        "sequence": {
          "type": "array",
          "items": { "type": "array", "items": { "type": "number" } }
        },
        "structure": {
          "type": "array",
          "items": { "type": "array", "items": { "type": "number" } }
        },
        "secondary_structure": {
          "type": "array",
          "items": { "type": "array", "items": { "type": "number" } }
        },
        "sasa": {
          "type": "array",
          "items": { "type": "array", "items": { "type": "number" } }
        },
        "function": {
          "type": "array",
          "items": { "type": "array", "items": { "type": "number" } }
        }
      }
    },
    "embeddings": {
      "type": "array",
      "description": "Per-residue embeddings, shape [L, D].",
      "items": {
        "type": "array",
        "items": { "type": "number" }
      }
    },
    "hidden_states": {
      "type": "array",
      "description": "Stacked hidden states across selected layers, shape [num_layers, L, D].",
      "items": {
        "type": "array",
        "items": {
          "type": "array",
          "items": { "type": "number" }
        }
      }
    }
  },
  "additionalProperties": false
}